summaryrefslogtreecommitdiff
path: root/lib/libc/arch
AgeCommit message (Expand)Author
2017-08-19Use 0xcc trapsleds instead of default/nop/0xcc in BTC alignmentsTheo de Raadt
2017-08-19Don't need .text before ENTRY(), also minor spacing cleanupsTheo de Raadt
2017-08-19Put _map table into .rodata instead of .textTheo de Raadt
2017-08-15Copy files from ../librthread in preparation for moving functionalityPhilip Guenther
2017-08-15Copy files from ../librthread in preparation for moving functionalityPhilip Guenther
2017-06-01Remove branch prediction hint from conditional branch instruction.Christian Weisgerber
2017-04-16Always return nonzero from _longjmp too.Mark Kettenis
2017-03-22Provide the necessary weak alias for fpgetround(). Delete the obsoletePhilip Guenther
2017-03-22Use the hidden aliases to avoid PLT entries for {,_}{set,long}jmpPhilip Guenther
2017-03-19Stop setting the second register; it's unnecessary on 64bit archsPhilip Guenther
2017-03-18Simplify fork/vfork logic: the kernel has handled returning zero in the childMark Kettenis
2017-03-18Use the userspace-visible thread register directly in __cerror insteadMark Kettenis
2017-03-18Make brk(2) actually work and sync the brk()/sbrk() implementation with arm,Mark Kettenis
2017-03-08Correct arm64 sigprocmask parameter passing in setjmp/longjmp calls.Dale Rahn
2017-02-27RELRO means the __{got,plt}_{start,end} symbols are superfluousPhilip Guenther
2017-02-23The assembly for sigpending(2) wasn't correctly implemented either. IPatrick Wildt
2017-02-22The assembly for sigprocmask(2) had a tiny typo which made it jump toPatrick Wildt
2017-02-20__tfork(3) returns the thread ID of the new thread in x0, not x1. ThePatrick Wildt
2017-01-25__errno() returns a 32-bit pointer, so make sure we write a 32-bitPatrick Wildt
2017-01-11Add support for AArch64.Patrick Wildt
2016-10-04Use the userspace-visible thread register directly in __cerror insteadPhilip Guenther
2016-09-22Switch from calling obsolete sig{block,setmask} to directly using thePhilip Guenther
2016-09-22m88k switched to RELROPhilip Guenther
2016-09-22Simplify __cerror now that %r27 is always the TCB pointer.Philip Guenther
2016-09-18Use unified syntax such that this compiles with both gcc and clang.Mark Kettenis
2016-09-18unbreak the build by including stddef.h for the definition of NULLJonathan Gray
2016-09-17Add an interface to find the ARM.exidx table for use by the ARM EHABI unwinder.Mark Kettenis
2016-09-10Clang ignores a .weak directive before a function is actually defined. SoMark Kettenis
2016-09-06Remove branch prediction hints from conditional branch instructions. TheseMark Kettenis
2016-09-01retire the sparc library codeTed Unangst
2016-08-11Between relro and previous RWX work, the __{got,plt}_{start,end} symbolsPhilip Guenther
2016-08-07Add XOR cookies for lr and sp. Stop saving/restoring r12 to/from the jmpbuf.Philip Guenther
2016-08-06Use internal names for __errno, _memcpy, memset, and {,_}{set,long}jmpPhilip Guenther
2016-07-26Wrap fpgetround() so internal calls to it (seen on arm, powerpc, and sh)Philip Guenther
2016-06-16PSEUDO_NOERROR() is used for syscalls that return now, so need to putPhilip Guenther
2016-05-30Consistently reference '_end' instead of 'end' in the brk/sbrk implementationPhilip Guenther
2016-05-30Do setjmp cookies for eip, esp, and ebp. For bonus points, mix howPhilip Guenther
2016-05-30Do setjmp cookies for gp, sp, and raPhilip Guenther
2016-05-29Switch from calling obsolete sig{block,setmask} to directly using thePhilip Guenther
2016-05-29Only require 4 byte alignment on ILP32 archsPhilip Guenther
2016-05-29Use .balign instead of .align; only need 8 byte alignment not 2^8Philip Guenther
2016-05-23More fixes from miodPhilip Guenther
2016-05-23Include SYS.h instead of DEFS.h now that this does a direct syscallPhilip Guenther
2016-05-23Add XOR cookies for rp and sp. Switch from calling obsoletePhilip Guenther
2016-05-23Stop supporting longjmperror(); it's not used, not portable, and the checksPhilip Guenther
2016-05-22Add XOR cookies for r1 (stack) and lr. Switch from calling obsoletePhilip Guenther
2016-05-22Oh right, actually delete this now that __cerror is unusedPhilip Guenther
2016-05-18Save and restore 'gbr' register when enter/leaving the kernel, and usePhilip Guenther
2016-05-16...and delete the GP setup. Should have been in previous commitPhilip Guenther
2016-05-16Eliminate cerror: use PAL_rdunique to get the TCB address directlyPhilip Guenther