summaryrefslogtreecommitdiffstats
path: root/lib/libc/i386/gen/sigsetjmp.S
Commit message (Collapse)AuthorAgeFilesLines
* Restore CSRG ID's lost in January 1995.obrien2002-03-231-3/+7
|
* De-orbit DEFS.h - the other arches do not use it, and it got replacedpeter2001-10-241-1/+0
| | | | | | with <machine/asm.h>. Reviewed by: bde
* Removed duplicate VCS ID tags, as per style(9).ru2001-08-131-2/+0
|
* Remove _THREAD_SAFE and make libc thread-safe by default bydeischen2001-01-241-17/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | adding (weak definitions to) stubs for some of the pthread functions. If the threads library is linked in, the real pthread functions will pulled in. Use the following convention for system calls wrapped by the threads library: __sys_foo - actual system call _foo - weak definition to __sys_foo foo - weak definition to __sys_foo Change all libc uses of system calls wrapped by the threads library from foo to _foo. In order to define the prototypes for _foo(), we introduce namespace.h and un-namespace.h (suggested by bde). All files that need to reference these system calls, should include namespace.h before any standard includes, then include un-namespace.h after the standard includes and before any local includes. <db.h> is an exception and shouldn't be included in between namespace.h and un-namespace.h namespace.h will define foo to _foo, and un-namespace.h will undefine foo. Try to eliminate some of the recursive calls to MT-safe functions in libc/stdio in preparation for adding a mutex to FILE. We have recursive mutexes, but would like to avoid using them if possible. Remove uneeded includes of <errno.h> from a few files. Add $FreeBSD$ to a few files in order to pass commitprep. Approved by: -arch
* Use assembler directives rather than ALTENTRY() so that longjmp() andjasone2000-05-041-5/+4
| | | | | siglongjmp() are weak symbols. This is necessary to allow static linking with the linuxthreads library port.
* Remove unnecessary alternate entry points for *setjmp(). Make the mainjasone2000-01-201-5/+6
| | | | | | | entry point the standard name when not compiling libc_r (for example, longjmp is the main entry point instead of __longjmp). Suggested by: bde
* Make minor entry point changes to support libc_r.jasone2000-01-191-2/+2
|
* Add three-tier symbol naming in support of POSIX thread cancellationjasone2000-01-121-4/+6
| | | | | | points. For library functions, the pattern is __sleep() <-- _libc_sleep() <-- sleep(). The arrows represent weak aliases. For system calls, the pattern is _read() <-- _libc_read() <-- read().
* Unbreak profiling. bde says this is not the cleanest way to fix thejasone2000-01-041-2/+2
| | | | | | problem, but that it works. Submitted by: bde
* Creating weak symbols doesn't work correctly when building an aout libc.jasone1999-12-241-4/+2
| | | | | | | | | | | | Doing the "right thing" here is difficult, so create two ENTRY points for each function (for example, __setjmp and setjmp are equivalent). This isn't pretty, but it works for both aout and ELF. libc symbol naming needs an overhaul in order to properly support function wrapping, specifically in the case of a real libpthread, and these duplicate entry points should be fixed as part of that overhaul. Pointed out by: bde
* Make setjmp, longjmp, sigsetjmp, and siglongjmp weak aliases forjasone1999-12-141-2/+6
| | | | | | | | __setjmp, __longjmp, __sigsetjmp, and __siglongjmp, respectively. This supports cancellation in the linuxthreads port. In the long run, a much more comprehensive solution will necessitate more dramatic changes to libc symbol naming, and these aliases will probably need modification at that time.
* sigset_t change (part 5 of 5)marcel1999-09-291-17/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ----------------------------- Most of the userland changes are in libc. For both the alpha and the i386 setjmp has been changed to accomodate for the new sigset_t. Internally, libc is mostly rewritten to use the new syscalls. The exception is in compat-43/sigcompat.c The POSIX thread library has also been rewritten to use the new sigset_t. Except, that it currently only handles NSIG signals instead of the maximum _SIG_MAXSIG. This should not be a problem because current applications don't use any signals higher than NSIG. There are version bumps for the following libraries: libdialog libreadline libc libc_r libedit libftpio libss These libraries either a) have one of the modified structures visible in the interface, or b) use sigset_t internally and may cause breakage if new binaries are used against libraries that don't have the sigset_t change. This not an immediate issue, but will be as soon as applications start using the new range to its fullest. NOTE: libncurses already had an version bump and has not been given one now. NOTE: doscmd is a real casualty and has been disconnected for the moment. Reconnection will eventually happen after doscmd has been fixed. I'm aware that being the last one to touch it, I'm automaticly promoted to being maintainer. According to good taste this means that I will receive a badge which either will be glued or mechanically stapled, drilled or otherwise violently forced onto me :-) NOTE: pcvt/vttest cannot be compiled with -traditional. The change cause sys/types to be included along the way which contains the const and volatile modifiers. I don't consider this a solution, but more a workaround.
* $Id$ -> $FreeBSD$peter1999-08-281-2/+2
|
* Stop renaming these in libc_r because wrappered versions don't make sense.jb1998-04-291-10/+2
| | | | PR: i386/4826, bin/5953
* Revert $FreeBSD$ to $Id$peter1997-02-221-2/+2
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-2/+2
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Fix a bug caused by the collision of a local assembler label with anotherjdp1996-05-111-8/+8
| | | | | use of the same label in a recently-introduced PIC_PROLOGUE. This should solve the recent core dumps from pdksh.
* Add support to enable libc to be compiled in ELF format. (#ifdef __ELF__)peter1996-05-051-6/+10
| | | | | | | | | | | In a nutshell, this macroizes the local/global symbol scoping rules that are different in a.out and ELF. It also makes the i386 assembler stubs conform to i386 PIC calling conventions - the a.out ld.so didn't object, but the ELF one needs it as it implements PIC jumps via PLT's as well as calls. The a.out rtld only worked because it was accidently snooping the grandparent calling function's return address off the stack.. This also affects the libc_r code a little, because of cpp macro nesting.
* Put in missing '_' in call to wrapper _thread_sys_sigsetmask() function.peter1996-02-171-3/+3
|
* Reviewed by: julian and (hsu?)julian1996-01-221-2/+18
| | | | | | Submitted by: John Birrel(L?) changes for threadsafe operations
* First round of changes to clean up the RCSID mess in libc:dg1995-01-231-6/+5
| | | | | | | | 1) Changed LIB_SCCS and SYSLIB_SCCS to LIB_RCS and SYSLIB_RCS. 2) Changed sccsid[] variables to rcsid[] 3) Moved all RCSID strings into .text 4) Converted all SCCSID's to RCS $Id$'s 5) Added missing $Id$'s after copyright.
* sigsetjmp.S:bde1994-12-271-3/+2
| | | | Remove unnecessary .text statement.
* Reenable sigsetjmp.S. Preserve the FP state. Rearrange offsetsbde1994-10-251-6/+24
| | | | to match setjmp.S.
* First crack at making libc work with the new make macros. It compiles onwollman1994-08-051-0/+89
my machine, and a simple static (genassym) and shared (sysctl) executable both work. Still to be done: RPCand YP merge.
OpenPOWER on IntegriCloud