summaryrefslogtreecommitdiff
path: root/lib/libc/arch
AgeCommit message (Expand)Author
2014-01-10match what hppa is doing now (not tested, but should be right)Theo de Raadt
2014-01-10correct argument handling; this has been broken since to beginningTheo de Raadt
2013-12-31Remove #ifdef _REENTRANT code that isn't used here. These days, the codeMark Kettenis
2013-12-24yup, we do ELFTheo de Raadt
2013-11-261 << 31 cleanup. Eitan Adler pointed out that there has been aTheo de Raadt
2013-11-13bring in math.h to provide prototypesTheo de Raadt
2013-11-12add proto for amd64 case; unify otherwiseTheo de Raadt
2013-09-08Remove the `let's zero %r2 if %r3 is nonzero' dance. It's been more than 10Miod Vallat
2013-07-05VAX ELF userland bits. Consists mostly of register prefix additions.Miod Vallat
2013-06-11bcopy (and family) can check for 0 length, but negative lengths shouldTheo de Raadt
2013-06-05On second thought, do not use a tcnd instruction to test for divide-by-zero,Miod Vallat
2013-06-05...also add __modsi3 and __umodsi3, and make these symbols weak by default.Miod Vallat
2013-06-05Add __divsi3 and __udivsi3 gcc-compatible routines. Not used by anything yetMiod Vallat
2013-04-23Do a PC-relative relocation for _map rather than going throughMartynas Venckus
2013-04-11Fix obviously stupid bug in the PIC_{LOAD,STORE} macros when compiling withMiod Vallat
2013-03-28Switch libc and libm to use strong aliases rather than weak aliasesMartynas Venckus
2013-02-02Userland bits for m68k/ELF. Mostly addition of register prefixes to theMiod Vallat
2013-01-24Oops, due to the way return from system calls work, we can not use a delayMiod Vallat
2013-01-23The kernel sources mention that the system call entry point is trap #450; theMiod Vallat
2013-01-20Fix PIC_LOAD and PIC_STORE macros to really access the variable, instead ofMiod Vallat
2013-01-20PIC-related code should follow the #ifdef __PIC__ line, not the #else line.Miod Vallat
2013-01-13Remove machine-dependent glue for strtorQ, since hppa64 quad-precisionMartynas Venckus
2013-01-11Add END() directives to the various functions.Miod Vallat
2013-01-11Add a bunch of macros to help writing PIC code for libc .S routines. HandlesMiod Vallat
2013-01-08fix __cerror non-weak symbol nameMiod Vallat
2013-01-05Switch m88k ports to ELF.Miod Vallat
2012-12-26Actually invoke the system call in libc's sigreturn() wrapper; went unnoticedMiod Vallat
2012-12-22Make sure the stack is 16-byte aligned otherwise the use of certain SSEMark Kettenis
2012-12-05Remove excessive sys/cdefs.h inclusionTheo de Raadt
2012-12-03Add two missing quad-precision emulation functions: _Qp_cmp and _Qp_cmpe. AtMark Kettenis
2012-09-15Adapt ieee.h, gdtoa and libc to the fact that we don't have 80-bitMartynas Venckus
2012-09-04Add support for -fPICTheo de Raadt
2012-09-04remove lint leftovers; ok guenther@Okan Demirmen
2012-09-04these are no longer used; ok guentherTheo de Raadt
2012-09-01Make this __STDC__ aware.Miod Vallat
2012-08-22Fix missing PIC -> __PIC__ conversions; ok pascalTheo de Raadt
2012-08-22Convert cpp | as rules in bsd.lib.mk and lib/libc/sys/Makefile.inc to pure ccPascal Stumpf
2012-08-12Fix almost ten-years old bug in siglongjmp(), which would not restore a signalMiod Vallat
2012-07-03adapt the NetBSD code to make sigpending work on shJonathan Gray
2012-07-01The kernel returns the pending set; this stub has to save it throughPhilip Guenthe
2012-07-01make this actually workMark Kettenis
2012-06-25Do not use <machine/float.h>, that is an deformed BSD-ism.Theo de Raadt
2012-06-21__tfork() needs to set the stack address of the new thread in the kernel,Philip Guenthe
2012-04-19rely on the compiler giving us a built-in alloca. any new architectureTheo de Raadt
2012-04-12alloca.c cannot be usedTheo de Raadt
2012-04-12remove rfork(); ok guenther miodTheo de Raadt
2012-04-11Mark outermost frame such that backtraces in thread terminate atMark Kettenis
2012-04-11Provide __tfork_thread() for hppa64. This makes libc compile again.Joel Sing
2012-03-22Move __tfork_thread() from rthreads (libpthread) to libc so thatPhilip Guenthe
2012-01-17Remove assembly version of strlen from i386 and amd64, where it'sMike Belopuhov