summaryrefslogtreecommitdiffstats
path: root/lib/libc/arch/i386/sys/brk.S (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Don't need .text before ENTRY(), also minor spacing cleanupsderaadt2017-08-191-3/+1
|
* Use a Thread Information Block in both single and multi-threaded programs.guenther2016-05-071-9/+4
| | | | | | | | | | | | | | | | | 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-5/+10
| | | | | | | | 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-6/+6
| | | | | | | Delete exect(2); it wasn't portable across archs and nothing used it. ports test build by naddy@ ok deraadt@ kettenis@
* Convert cpp | as rules in bsd.lib.mk and lib/libc/sys/Makefile.inc to pure ccpascal2012-08-221-2/+2
| | | | | | | invocations. This allows us to use the compiler builtin define __PIC__ to check for PIC/PIEness rather than passing -DPIC. Simplifies PIE work a lot. ok matthew@, conceptually ok kurt@
* zap rcsid, tested there. okay deraadt@espie2005-08-071-5/+1
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-6/+2
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* ELF fixups, ELF PIC syscall support, asm changes as requested by assembler.drahn2003-04-171-3/+6
|
* Rename curbrk to __curbrk on i386 to avoid namespace pollution.art2002-10-061-4/+4
|
* Rename cerror to __cerror on i386 to avoid namespace pollution.art2002-10-061-3/+3
|
* Pointers are not signed.weingart1997-09-171-3/+3
|
* Fix RCS idstholo1996-08-191-8/+5
| | | | Make sure everything uses {SYS,}LIBC_SCCS properly
* initial import of NetBSD treederaadt1995-10-181-0/+94