summaryrefslogtreecommitdiffstats
path: root/lib/libc/arch/powerpc/sys/Ovfork.S (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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@
* Simplify fork/vfork logic: the kernel has handled returning zero in the childguenther2015-03-311-2/+1
| | | | | | | for a long time, so there's no need to test the second return register here in the asm stub. ok and testing of many archs by krw@ miod@
* kick, kick. Fix these files which did not come from NetBSD, but thedrahn2002-10-071-0/+27
| | | | powerpc port by Dale Rahn.
* Check-in of powerpc library support.rahnds1996-12-211-0/+4
NOTE: This will not work until the other pieces are checked in. This is primarily the NetBSD powerpc port, with modifications to support ELF.