summaryrefslogtreecommitdiffstats
path: root/lib/libc/arch
AgeCommit message (Expand)AuthorFilesLines
2017-03-18Simplify fork/vfork logic: the kernel has handled returning zero in the childkettenis1-10/+1
2017-03-18Use the userspace-visible thread register directly in __cerror insteadkettenis1-10/+6
2017-03-18Make brk(2) actually work and sync the brk()/sbrk() implementation with arm,kettenis2-35/+29
2017-03-08Correct arm64 sigprocmask parameter passing in setjmp/longjmp calls.drahn1-14/+11
2017-02-27RELRO means the __{got,plt}_{start,end} symbols are superfluousguenther3-6/+0
2017-02-23The assembly for sigpending(2) wasn't correctly implemented either. Ipatrick1-2/+3
2017-02-22The assembly for sigprocmask(2) had a tiny typo which made it jump topatrick1-4/+4
2017-02-20__tfork(3) returns the thread ID of the new thread in x0, not x1. Thepatrick1-2/+2
2017-01-25__errno() returns a 32-bit pointer, so make sure we write a 32-bitpatrick1-2/+2
2017-01-11Add support for AArch64.patrick42-0/+1789
2016-10-04Use the userspace-visible thread register directly in __cerror insteadguenther1-6/+8
2016-09-22Switch from calling obsolete sig{block,setmask} to directly using theguenther3-76/+42
2016-09-22m88k switched to RELROguenther1-6/+0
2016-09-22Simplify __cerror now that %r27 is always the TCB pointer.guenther3-54/+40
2016-09-18Use unified syntax such that this compiles with both gcc and clang.kettenis1-2/+4
2016-09-18unbreak the build by including stddef.h for the definition of NULLjsg1-1/+2
2016-09-17Add an interface to find the ARM.exidx table for use by the ARM EHABI unwinder.kettenis4-1/+87
2016-09-10Clang ignores a .weak directive before a function is actually defined. Sokettenis2-4/+4
2016-09-06Remove branch prediction hints from conditional branch instructions. Thesekettenis1-3/+3
2016-09-01retire the sparc library codetedu45-2600/+0
2016-08-11Between relro and previous RWX work, the __{got,plt}_{start,end} symbolsguenther1-0/+6
2016-08-07Add XOR cookies for lr and sp. Stop saving/restoring r12 to/from the jmpbuf.guenther2-52/+96
2016-08-06Use internal names for __errno, _memcpy, memset, and {,_}{set,long}jmpguenther24-87/+106
2016-07-26Wrap fpgetround() so internal calls to it (seen on arm, powerpc, and sh)guenther10-20/+29
2016-06-16PSEUDO_NOERROR() is used for syscalls that return now, so need to putguenther1-1/+2
2016-05-30Consistently reference '_end' instead of 'end' in the brk/sbrk implementationguenther15-33/+28
2016-05-30Do setjmp cookies for eip, esp, and ebp. For bonus points, mix howguenther3-70/+124
2016-05-30Do setjmp cookies for gp, sp, and raguenther2-26/+58
2016-05-29Switch from calling obsolete sig{block,setmask} to directly using theguenther2-21/+27
2016-05-29Only require 4 byte alignment on ILP32 archsguenther2-4/+4
2016-05-29Use .balign instead of .align; only need 8 byte alignment not 2^8guenther1-2/+2
2016-05-23More fixes from miodguenther1-4/+4
2016-05-23Include SYS.h instead of DEFS.h now that this does a direct syscallguenther1-2/+2
2016-05-23Add XOR cookies for rp and sp. Switch from calling obsoleteguenther1-75/+73
2016-05-23Stop supporting longjmperror(); it's not used, not portable, and the checksguenther7-27/+15
2016-05-22Add XOR cookies for r1 (stack) and lr. Switch from calling obsoleteguenther2-108/+209
2016-05-22Oh right, actually delete this now that __cerror is unusedguenther1-61/+0
2016-05-18Save and restore 'gbr' register when enter/leaving the kernel, and useguenther8-110/+35
2016-05-16...and delete the GP setup. Should have been in previous commitguenther1-4/+1
2016-05-16Eliminate cerror: use PAL_rdunique to get the TCB address directlyguenther3-59/+12
2016-05-15Add END() to match ENTRY() macrosguenther2-3/+8
2016-05-15TIB conversion is complete, so set errno in the syscall stub and eliminateguenther6-21/+33
2016-05-12Using a 3-word buffer in the openbsd.randomdata segment, XOR swizzlederaadt3-21/+80
2016-05-11remove hppa64 port, which we never got going beyond broken single users.deraadt28-940/+0
2016-05-09Remove sigreturn declaration and the now-unused libc syscall stubguenther12-487/+0
2016-05-09Stop using sigreturn for longjmp, just set the signal mask and returnguenther3-40/+69
2016-05-09Don't use sigreturn(2) in longjmp(3). Instead use a similar approach as inkettenis1-60/+39
2016-05-08Implement longjmp directly and not on top of sigreturn.guenther3-98/+125
2016-05-08No, sigaltstack's onstack flag shouldn't be saved. Delete commentguenther1-2/+1
2016-05-08Hide __fpu_* and make internal _Qp_* calls go direct.guenther6-39/+53