summaryrefslogtreecommitdiffstats
path: root/lib/libc/arch/amd64/sys/syscall.S (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use a Thread Information Block in both single and multi-threaded programs.guenther2016-05-071-15/+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@
* Rename SYSEXIT() to SYSCALL_END() for consistency with most other archs.guenther2015-10-171-2/+2
| | | | | | No change in resulting object files ok millert@
* Adds hidden _libc_FOO aliases for the system call stubs.guenther2015-09-051-3/+3
| | | | | | | | 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@
* Set FUNC symbol sizes of auto-generated and hand-written syscall wrappers.uebayasi2015-06-171-1/+2
| | | | | | Original diff from guenther@, adjusted by me. OK guenther@
* 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@
* Remove the advertising clause in the UCB license which Berkeleyjsg2005-12-131-6/+2
| | | | | rescinded 22 July 1999. Checked by ian@ and deraadt@
* correct syscall() stub; fixes perl and vi.recoverderaadt2004-02-111-2/+3
|
* things for amd64; from art@mickey2004-01-281-0/+57