Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-02-02 | Userland bits for m68k/ELF. Mostly addition of register prefixes to the | Miod Vallat | |
assembler instructions, and cope with the few changes in return values location. | |||
2013-01-27 | Make this PIC-aware. | Miod Vallat | |
2013-01-23 | ARMv7 doesn't support the atomic SWP instruction anymore. Use the atomic | Patrick Wildt | |
load and store instructions instead. ok miod@ | |||
2013-01-11 | Add END() directives to the various functions. | Miod Vallat | |
Make the code PIC-aware when necessary (i.e. invoke other functions through the PLT, and access global data through the GOT). No change for non-PIC compilation. | |||
2013-01-05 | Switch m88k ports to ELF. | Miod Vallat | |
2012-08-22 | Convert cpp | as rules in bsd.lib.mk and lib/libc/sys/Makefile.inc to pure cc | Pascal Stumpf | |
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@ | |||
2012-04-13 | Provide _atomic_lock() and __cerror() for hppa64. Makes hppa64 build again. | Joel Sing | |
2012-03-22 | tfork_thread has been moved to libc | Philip Guenthe | |
2012-03-03 | Sync the assembly statements with <machine/lock.h> for consistency. | Miod Vallat | |
2012-02-27 | fix __errno symbol name | Miod Vallat | |
2012-02-26 | Fix buglets. | Miod Vallat | |
2012-02-26 | __cerror gets invoked with errno in v0, not a0. | Miod Vallat | |
2012-02-26 | Fix label for threaded binaries to link. | Miod Vallat | |
2012-02-18 | Missing cerror bits. | Miod Vallat | |
2012-02-17 | Allow librthread to build on mips64. | Miod Vallat | |
2012-01-17 | Reimplement mutexes, condvars, and rwlocks to eliminate bugs, | Philip Guenthe | |
particularly the "consume the signal you just sent" hang, and putting the wait queues in userspace. Do cancellation handling in pthread_cond_*wait(), pthread_join(), and sem_wait(). Add __ prefix to thr{sleep,wakeup,exit,sigdivert}() syscalls; add 'abort" argument to thrsleep to close cancellation race; make thr{sleep,wakeup} return errno values via *retval to avoid touching userspace errno. | |||
2011-11-09 | Add the __cerror asm bits for per-thread errno support for powerpc. | Mark Kettenis | |
ok guenther@ | |||
2011-11-08 | Add the __cerror asm bits for per-thread errno support for hppa. | Mark Kettenis | |
ok guenther@ | |||
2011-10-17 | Use __tfork, __get_tcb, and __set_tcb to have a real TCB and per-thread | Philip Guenthe | |
errno. The ASM bits for _cerror are sketchy or missing for some archs but that can be corrected in-tree. | |||
2011-10-13 | Deal with the horror that is gcc asm constraints by copying the | Philip Guenthe | |
known good version of ldstub in the kernel. (It's finally in, aja!) ok kettenis@ | |||
2011-10-13 | Increase the stack offset for the new rthread from (BIAS+128) to | Philip Guenthe | |
(BIAD+CC64FSZ) so that there's sufficient space even when _rthread_start is compiled without optimization. Also, clear the frame pointer to help make gdb happier. ok kettenis@ | |||
2011-10-13 | Convert rfork_thread() from int$80 to syscall. | Philip Guenthe | |
Tune the asm slightly to avoid using the stack and use smaller instructions. Pass threxit() a NULL pointer. seemed okay to kettenis@ | |||
2010-12-03 | Sync with amd64, to allow this to compile without warnings with gcc4: | Miod Vallat | |
``Correct the _atomic_lock() asm so that gcc accepts the constraints when compiling without optimization; fix copied from the kernel's atomic.h'' spotted by jim@ | |||
2009-09-27 | rfork_thread() lacked PIC handling for CERROR, resulting in a text relocation | Philip Guenthe | |
pointed out by brad, ok djm@ | |||
2009-09-24 | rfork_thread() lacked PIC handling for CERROR, resulting in a text relocation | Philip Guenthe | |
ok kettenis@, art@ | |||
2009-06-01 | A much better atomic lock routine. | Miod Vallat | |
2009-06-01 | Correct the _atomic_lock() asm so that gcc accepts the constraints | Philip Guenthe | |
when compiling without optimization; fix copied from the kernel's atomic.h ok miod@ | |||
2009-02-15 | these are public domain, verified with author; spotted by jj | Theo de Raadt | |
2008-10-02 | the license on this is PD; david leonard says so | Theo de Raadt | |
2008-10-01 | Assert my copyright on files I gave to d@ back in 1998. | Dale Rahn | |
2008-06-26 | First pass at removing clauses 3 and 4 from NetBSD licenses. | Ray Lai | |
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@ | |||
2008-05-21 | Use _C_LABEL when appropriate. | Miod Vallat | |
2007-03-24 | rfork sh bits. | Miod Vallat | |
2006-01-05 | Use the system include <spinlock.h> to get the proper function | Marco S Hyman | |
prototype for _atomic_lock | |||
2006-01-05 | Fixup stack, it needs 16 bytes headroom. Help from miod@ and drahn. | Otto Moerbeek | |
ok drahn@ | |||
2005-12-31 | No point in saving a bunch of extra registers, and the child's state must | Dale Rahn | |
be fully saved in resisters, if left on the parents stack, it could be overwritten before the child runs. pointed out by miod. | |||
2005-12-28 | remainder of the hppa support code for librthread. ok&help kettenis@ mickey@ | Miod Vallat | |
2005-12-25 | sparc64 support code for librthread (_atomic_lock yanked from existing | Miod Vallat | |
libpthread code). | |||
2005-12-25 | sparc support code for librthread (_atomic_lock yanked from existing | Miod Vallat | |
libpthread code). | |||
2005-12-25 | child calls threxit after thread return | Ted Unangst | |
2005-12-25 | put the error handling jump code back in from brad/marco | Ted Unangst | |
call right sycall after threadfn return | |||
2005-12-25 | if the start routine returns (never happens), call the right threxit syscall | Ted Unangst | |
2005-12-25 | A better implementation which does not use the caller's stack and thus is not | Miod Vallat | |
raceable. | |||
2005-12-25 | add rfork_thread for alpha, from kudo takashi | Ted Unangst | |
2005-12-24 | mips64 support code for librthread (_atomic_lock yanked from existing | Miod Vallat | |
libpthread code). | |||
2005-12-23 | m88k suppport code for librthread. | Miod Vallat | |
2005-12-23 | vax support bits for librthread (need the child_return() fix just commited). | Miod Vallat | |
2005-12-23 | m68k support code for librthread; atomic lock routine borrowed from the | Miod Vallat | |
existing libpthread code. | |||
2005-12-19 | Fix hppa ldcw alignment issue. | Marco Peereboom | |
Help deraadt, tedu, kettenis Ok tedu, kettenis | |||
2005-12-17 | sure it is not perfect, but at least we can compile rthreads on hppa. | Marco Peereboom | |
ok deraadt@ |