summaryrefslogtreecommitdiffstats
path: root/lib/libc/arch/powerpc/sys/sigprocmask.S (follow)
Commit message (Collapse)AuthorAgeFilesLines
* TIB conversion is complete, so set errno in the syscall stub and eliminateguenther2016-05-151-2/+4
| | | | | | __cerror ok ketternis@
* Use a Thread Information Block in both single and multi-threaded programs.guenther2016-05-071-2/+2
| | | | | | | | | | | | | | | | | This stores errno, the cancelation flags, and related bits for each thread and is allocated by ld.so or libc.a. This is an ABI break from 5.9-stable! Make libpthread dlopen'able by moving the cancelation wrappers into libc and doing locking and fork/errno handling via callbacks that libpthread registers when it first initializes. 'errno' *must* be declared via <errno.h> now! Clean up libpthread's symbol exports like libc. On powerpc, offset the TIB/TCB/TLS data from the register per the ELF spec. Testing by various, particularly sthen@ and patrick@ ok kettenis@
* Merge the sigaction() and sigprocmask() overloads/wrappers from libpthreadguenther2015-10-231-3/+3
| | | | | | | | | into libc, and move pthread_sigmask() as well (just a trivial wrapper). This provides consistent handling of SIGTHR between single- and multi-threaded programs and is a step in the merge of all the libpthread overloads, providing some ASM and Makefile bits that the other wrappers will need. ok deraadt@ millert@
* Adds hidden _libc_FOO aliases for the system call stubs.guenther2015-09-051-1/+2
| | | | | | | | Stop generating _brk and _sbrk symbols: they've already been hidden. Set the ELF symbol size on the syscall stubs. Give the __{min,cur}brk symbols a size and type, and hide more jump labels. ok deraadt@
* Make __cerror() use the per-thread errno location if r2 isn't zero. This waykettenis2015-08-231-2/+2
| | | | | | | | | | | | libpthread no longer has to override it which means that we can use a local call and can avoid setting up r30 as a _GLOBAL_OFFSET_TABLE_ pointer, which is hard the way the powerpc ABI works. For now we continue to provide __cerror as a weak symbol, but ___cerror is now protected and internal calls within libc now use ___cerror instead of __cerror. discussed with guenther@
* kick, kick. Fix these files which did not come from NetBSD, but thedrahn2002-10-071-0/+27
| | | | powerpc port by Dale Rahn.
* cerror -> __cerror as suggested by art, with a couple of missing _ASM_LABEL()drahn2002-10-071-1/+1
| | | | added as appropriate.
* sigprocmask should return 0 on success, fixes powerpc ntpdate problem.drahn2002-01-101-0/+1
|
* Fixes to the currently unused PIC support in the powerpc asm files.rahnds1999-03-121-1/+1
| | | | contact rahnds@openbsd.org before attempting to use this funcationality.
* Preliminary version for PIC support. Builds and runs standard and profiledrahnds1999-01-281-15/+15
| | | | | just fine. pic version has been compiled, but without a ld.so has not been tested. Needs binutils 2.9.1 or later to build pic version.
* Amazing how much confusion and how much tracing a simple 4 instead of a 3pefo1997-09-271-1/+5
| | | | | can cause!! Returned sigmask value was taken from wrong register... So no more zombies!!!
* Check-in of powerpc library support.rahnds1996-12-211-0/+30
NOTE: This will not work until the other pieces are checked in. This is primarily the NetBSD powerpc port, with modifications to support ELF.