Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use a Thread Information Block in both single and multi-threaded programs. | 2016-05-07 | 1 | -48/+0 | |
| | | | | | | | | | | | | | | | | | 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@ | ||||
* | Convert cpp | as rules in bsd.lib.mk and lib/libc/sys/Makefile.inc to pure cc | 2012-08-22 | 1 | -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@ | ||||
* | Move __cerror to ___cerror with a weak alias so that rthreads can override it. | 2011-04-04 | 1 | -3/+5 | |
| | | | | | | On mips64, also correct the name called from plain cerror to __cerror. "looks correct" miod@ | ||||
* | include whole SYS.h instead of just machine/asm.h | 2004-06-10 | 1 | -2/+2 | |
| | |||||
* | PICy stuff | 2004-05-25 | 1 | -0/+46 | |
| | |||||
* | this seem proper now | 1999-11-14 | 1 | -7/+0 | |
| | |||||
* | some basic framework | 1999-09-14 | 1 | -0/+7 | |