Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-04-18 | It's been a quarter century: we can assume volatile is present with that name. | Philip Guenther | |
2006-10-10 | Preliminary userland bits for OpenBSD/landisk, many things coming from | Miod Vallat | |
NetBSD. | |||
2014-04-17 | It's been a quarter century: we can assume volatile is present with that name. | Philip Guenther | |
2014-03-18 | Retire hp300, mvme68k and mvme88k ports. These ports have no users, keeping | Miod Vallat | |
this hardware alive is becoming increasingly difficult, and I should heed the message sent by the three disks which have died on me over the last few days. Noone sane will mourn these ports anyway. So long, and thanks for the fish. | |||
2014-01-10 | match what hppa is doing now (not tested, but should be right) | Theo de Raadt | |
ok miod jsing | |||
2014-01-10 | correct argument handling; this has been broken since to beginning | Theo de Raadt | |
and was writing to wrong memory. ok jsing miod guenther | |||
2013-12-31 | Remove #ifdef _REENTRANT code that isn't used here. These days, the code | Mark Kettenis | |
handling per-thread errno lives in librthread. ok miod@, espie@ | |||
2013-12-24 | yup, we do ELF | Theo de Raadt | |
2013-11-26 | 1 << 31 cleanup. Eitan Adler pointed out that there has been a | Theo de Raadt | |
resurrection of the bad idiom in the tree. sufficient review by miod, kettenis, tedu | |||
2013-11-13 | bring in math.h to provide prototypes | Theo de Raadt | |
2013-11-12 | add proto for amd64 case; unify otherwise | Theo de Raadt | |
2013-09-08 | Remove the `let's zero %r2 if %r3 is nonzero' dance. It's been more than 10 | Miod Vallat | |
years that fork() returns through child_return(), which takes care of zeroing %r2. | |||
2013-07-05 | VAX ELF userland bits. Consists mostly of register prefix additions. | Miod Vallat | |
2013-06-11 | bcopy (and family) can check for 0 length, but negative lengths should | Theo de Raadt | |
proceed through to crash and show the bug. ok miod | |||
2013-06-05 | On second thought, do not use a tcnd instruction to test for divide-by-zero, | Miod Vallat | |
as it forces a pipeline synchronization; replace it with a bcnd + unconditional trap, to only synchronize when the trap is needed. | |||
2013-06-05 | ...also add __modsi3 and __umodsi3, and make these symbols weak by default. | Miod Vallat | |
2013-06-05 | Add __divsi3 and __udivsi3 gcc-compatible routines. Not used by anything yet | Miod Vallat | |
(as gcc does not emit code calling them), but will be shortly; belatedly riding the libc minor bump. | |||
2013-04-23 | Do a PC-relative relocation for _map rather than going through | Martynas Venckus | |
GOTPCREL. Uncovered after the binutils patch where it isn't optimized away at assembly and is forced to go through GOTPCREL. But _map is effectively a local variable. Found with cephes by guenther@. OK guenther@, kettenis@, deraadt@. | |||
2013-04-11 | Fix obviously stupid bug in the PIC_{LOAD,STORE} macros when compiling with | Miod Vallat | |
-fPIC. Harmless since we build libc -fpic so far. | |||
2013-03-28 | Switch libc and libm to use strong aliases rather than weak aliases | Martynas Venckus | |
where appropriate. Among other things makes the symbols consistent across all architectures (notably where ldbl mantissa is 53 bits). While at it, kill unused LINTLIBRARY/PROTOLIB1 cruft which was there to trick lint into recording the right prototypes for aliased functions. Most of the work done at the awesome n2k13 hackathon. Agreed by kettenis@, guenther@, matthew@. | |||
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-24 | Oops, due to the way return from system calls work, we can not use a delay | Miod Vallat | |
slot in the branch to cerror, for the delay slot instruction would also run as part of a successful return. Doh. Fortunately almost nothing in the tree uses brk() or sbrk() anymore... but binaries linked against libiberty. | |||
2013-01-23 | The kernel sources mention that the system call entry point is trap #450; the | Miod Vallat | |
fact that #128 and #129 may also be used for this purpose was never documented, so there is no reason to have libc use #128. Switch to #450 for consistency. | |||
2013-01-20 | Fix PIC_LOAD and PIC_STORE macros to really access the variable, instead of | Miod Vallat | |
the GOT pointer. Oops. | |||
2013-01-20 | PIC-related code should follow the #ifdef __PIC__ line, not the #else line. | Miod Vallat | |
Doh! | |||
2013-01-13 | Remove machine-dependent glue for strtorQ, since hppa64 quad-precision | Martynas Venckus | |
support has been removed from our compiler a year ago. | |||
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-11 | Add a bunch of macros to help writing PIC code for libc .S routines. Handles | Miod Vallat | |
both -fpic and -fPIC. | |||
2013-01-08 | fix __cerror non-weak symbol name | Miod Vallat | |
2013-01-05 | Switch m88k ports to ELF. | Miod Vallat | |
2012-12-26 | Actually invoke the system call in libc's sigreturn() wrapper; went unnoticed | Miod Vallat | |
for 15 years or so (sigcode, of course, was correct). | |||
2012-12-22 | Make sure the stack is 16-byte aligned otherwise the use of certain SSE | Mark Kettenis | |
instructions will fail. ok guenther@ | |||
2012-12-05 | Remove excessive sys/cdefs.h inclusion | Theo de Raadt | |
ok guenther millert kettenis | |||
2012-12-03 | Add two missing quad-precision emulation functions: _Qp_cmp and _Qp_cmpe. At | Mark Kettenis | |
least the former is emitted by modern versions of GCC. | |||
2012-09-15 | Adapt ieee.h, gdtoa and libc to the fact that we don't have 80-bit | Martynas Venckus | |
floats on m88k. Agreed by miod@. | |||
2012-09-04 | Add support for -fPIC | Theo de Raadt | |
ok kettenis | |||
2012-09-04 | remove lint leftovers; ok guenther@ | Okan Demirmen | |
2012-09-04 | these are no longer used; ok guenther | Theo de Raadt | |
2012-09-01 | Make this __STDC__ aware. | Miod Vallat | |
2012-08-22 | Fix missing PIC -> __PIC__ conversions; ok pascal | Theo de Raadt | |
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-08-12 | Fix almost ten-years old bug in siglongjmp(), which would not restore a signal | Miod Vallat | |
mask of zero (because of flawed logic assuming finding zero in the sigjmp_buf signal mask means sigsetjmp was invoked with a zero `savemask' argument). While there, clean comments of all *{set,long}jmp routines, and shave a few instructions by using bcnd insead of cmp + bb to test for zero values. Passes the regress tests, and now devel/libsigsegv configure siglongjmp test will not spin (this test is however flawed as it expects a signal handler declared as running on the sigaltstack and `returning' through siglongjmp to be invoked on the signal stack the next time the signal is raised). | |||
2012-07-03 | adapt the NetBSD code to make sigpending work on sh | Jonathan Gray | |
ok miod@ kettenis@ | |||
2012-07-01 | The kernel returns the pending set; this stub has to save it through | Philip Guenthe | |
the pointer ok miod@ kettenis@ | |||
2012-07-01 | make this actually work | Mark Kettenis | |
ok miod@ | |||
2012-06-25 | Do not use <machine/float.h>, that is an deformed BSD-ism. | Theo de Raadt | |
It turns out <float.h> is the right file to pull in. ok millert | |||
2012-06-21 | __tfork() needs to set the stack address of the new thread in the kernel, | Philip Guenthe | |
so that it can't get a signal while still running on the parent thread's stack. Also, pass in sizeof(struct __tfork) to provide forward compat when more members are added. This is an ABI change, so switch syscall numbers and bump lib majors this time. ok deraadt@ matthew@ | |||
2012-04-19 | rely on the compiler giving us a built-in alloca. any new architecture | Theo de Raadt | |
or compiler we use will. ok millert | |||
2012-04-12 | alloca.c cannot be used | Theo de Raadt | |
2012-04-12 | remove rfork(); ok guenther miod | Theo de Raadt | |