summaryrefslogtreecommitdiffstats
path: root/lib/libc/arch/powerpc/sys/sbrk.S (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Consistently reference '_end' instead of 'end' in the brk/sbrk implementationguenther2016-05-301-2/+2
| | | | ok deraadt@
* 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@
* Adds hidden _libc_FOO aliases for the system call stubs.guenther2015-09-051-3/+6
| | | | | | | | 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@
* Hide many (194!) symbols that nothing should be using.guenther2015-08-261-10/+9
| | | | | | | Delete exect(2); it wasn't portable across archs and nothing used it. ports test build by naddy@ ok deraadt@ kettenis@
* Fetch the _GLOBAL_OFFSET_TABLE_ pointer in a way that's compatible with thekettenis2015-08-231-4/+6
| | | | Secure-PLT ABI.
* Fix missing PIC -> __PIC__ conversions; ok pascalderaadt2012-08-221-2/+2
|
* kick, kick. Fix these files which did not come from NetBSD, but thedrahn2002-10-071-0/+27
| | | | powerpc port by Dale Rahn.
* s/curbrk/__curbrk/ as suggested by art, a few _ASM_LABEL added as appropriate.drahn2002-10-071-8/+8
|
* cerror -> __cerror as suggested by art, with a couple of missing _ASM_LABEL()drahn2002-10-071-1/+1
| | | | added as appropriate.
* 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-9/+19
| | | | | 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.
* Check-in of powerpc library support.rahnds1996-12-211-0/+32
NOTE: This will not work until the other pieces are checked in. This is primarily the NetBSD powerpc port, with modifications to support ELF.