Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Mullvad Browser
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
Applications
Mullvad Browser
Commits
a67c4ac5
Commit
a67c4ac5
authored
26 years ago
by
wtc%netscape.com
Browse files
Options
Downloads
Patches
Plain Diff
Added Alec Flett's comments on the version of glibc2/sparc whose
setjmp/longjmp works.
parent
573ce4b6
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
nsprpub/pr/include/md/_linux.h
+2
-8
2 additions, 8 deletions
nsprpub/pr/include/md/_linux.h
with
2 additions
and
8 deletions
nsprpub/pr/include/md/_linux.h
+
2
−
8
View file @
a67c4ac5
...
...
@@ -150,15 +150,9 @@ extern void _MD_CleanupBeforeExit(void);
/* Sparc */
#if defined(__GLIBC__) && __GLIBC__ >= 2
/*
* FIXME: The setjmp/longjmp approach works in Red Hat 4.2 but
* not in Red Hat 5.1 for Linux/Sparc. We should talk to the
* maintainer of Linux/Sparc glibc2 about this. Or we can write
* assembly code to save and restore thread contexts. Before
* this problem is solved, you can build the pthreads version.
* Set the environment variable USE_PTHREADS to 1 before you
* build.
* You need glibc2-2.0.7-25 or later. The libraries that came with
* Red Hat 5.1 are not new enough, but they are in 5.2.
*/
#error "Please see comments in pr/include/md/_linux.h"
#define _MD_GET_SP(_t) (_t)->md.context[0].__jmpbuf[JB_SP]
#define _MD_SET_FP(_t, val) ((_t)->md.context[0].__jmpbuf[JB_FP] = val)
#define _MD_GET_SP_PTR(_t) &(_MD_GET_SP(_t))
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment