summaryrefslogtreecommitdiff
path: root/lib/libc/arch
AgeCommit message (Collapse)Author
2003-09-01These files are not necessary anymore.Miod Vallat
2003-08-06In setjmp() and sigsetjmp(), be sure to return with r14 and r15 unchanged, asMiod Vallat
they are part of the call preserved register set, and gcc -O relies upon this.
2003-08-01Fix the *longjmp() behaviour - it is legal to reuse a jmp_buf several times.Miod Vallat
Gets us a working perl 5.8.
2003-07-24warn about unsafe APIs at link time. Conditional on libc/Makefile definingTheo de Raadt
APIWARN; disabled by default. In use by many developers for quite some time, now they have a common knob to enable/disable this
2003-07-21enable the libc portions of the quad float stuff (nothing will call thisJason Wright
until a forthcoming gcc patch is in place).
2003-07-21implementation of __ftoul (float -> unsigned long) (based on __dtoul above it)Jason Wright
2003-07-21quad float emulation stuff. Mostly based on freebsd (which is based onJason Wright
NetBSD's kernel emulation stuff). Not enabled yet.
2003-07-15proto repairsTheo de Raadt
2003-07-10Use a logical comparison (unsigned) for pointers. ok drahn@Thierry Deval
2003-06-25pull in headersTheo de Raadt
2003-06-17Sync with share/misc/license.template and add missing DARPA creditTodd C. Miller
where applicable.
2003-06-11oopsTheo de Raadt
2003-06-11ansification; checked by pvalTheo de Raadt
2003-06-03terms 3 & 4 cleanup based on "terms" fileTheo de Raadt
2003-06-03Use an ISC-tyle license for all my code; it is simpler and more permissive.Todd C. Miller
2003-06-02three four kill ...Michael Shalayeff
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-05-09assembler versions of insque and remque for m68k, also from 4.4BSDTodd C. Miller
2003-05-09insque and remque are VAX instructions, no need for C functions; From 4.4BSDTodd C. Miller
2003-05-02Add Doug Gwyn's portable alloca() for platforms w/o an assemblerTodd C. Miller
version. Normally, gcc provides its own alloca() (unless -fno-builtin is specified). The C version is decidedly suboptimal--we really need proper assembler versions but this will work as a stop-gap measure.
2003-04-22Indent delay slot insnsJason Wright
2003-04-17ELF fixups, ELF PIC syscall support, asm changes as requested by assembler.Dale Rahn
2003-03-10duplicate words and spelling fixes in commentsDavid Krause
ok miod@
2003-03-01Provide real ieee fp*() functions; from NetBSD.Miod Vallat
ok millert@
2003-02-18indent delay slotJason Wright
2003-02-08Obey calling convention and use the right opcode (fabss -> fabsd); Fabulous...Jason Wright
(based on netbsd pr 20140)
2003-01-29Align this char array accessed as double, for paranoia reasons.Dale Rahn
2003-01-16Waiter! I asked for a working vfork!Miod Vallat
2003-01-16Alignment requirements are satisfied in ENTRY(), no need to add more here.Miod Vallat
2003-01-15minbrk is exposed, gmon uses itMichael Shalayeff
2003-01-07Get static rcsid correctly, better style for .S files, trim whitespace.Miod Vallat
2003-01-07Properly align __infinity - m88k is very strict wrt double alignment.Miod Vallat
Fixes - oh what a surprise - bus errors in awk.
2003-01-07Get the rounding modes table correct, eventually.Miod Vallat
2003-01-07One more pass to get thinks correct wrt weak symbols and syscalls.Miod Vallat
2003-01-04Fix *longjmp() return values.Miod Vallat
2003-01-02Adapt to recent changes in libc/libc_r wrt weak symbols, so that programsMiod Vallat
can link against libc without unresolved symbols again. Anyone who correctly guessed that my m88k hard drive has been recovered, wins a strawberry lollipop.
2003-01-02Rename cerror to __cerror and curbrk to __curbrk, to avoid namespaceMiod Vallat
pollution. Conforming to art@'s evil plans.
2003-01-02Begone.Miod Vallat
2003-01-02TyposMiod Vallat
2002-11-23Make the mul/div/rem (and u... versions) weak so that ld.so can overrideDale Rahn
it with optimized versions. And allow ld.so to compile with strong versions with extra symbols so it can find them.
2002-11-18Oops, unbrek libc_pMiod Vallat
2002-11-06Move the weak definition from before the syscall's entry point toTodd C. Miller
after. This avoids a bunch of reloc warnings by working around a deficiency in the a.out loader. miod@ OK
2002-11-06From NetBSD; Use _C_LABEL, not SYSNAME to call sigaltstack, sigblock,Todd C. Miller
sigreturn. sigblock has not been a syscall since 4.3BSD and using SYSCALL directly seems like a bad idea in general. Fixes a build problem on vax. OK miod@
2002-11-05thread safe libc -- 2nd try. OK miod@, millert@Marco S Hyman
Thanks to miod@ for m68k and vax fixes
2002-11-05Rename cerror to __cerror and curbrk to __curbrk, to avoid namespaceMiod Vallat
pollution. Conforming to art@'s evil plans.
2002-11-05Rename cerror to __cerror and curbrk to __curbrk, to avoid namespaceMiod Vallat
pollution. Conforming to art@'s evil plans.
2002-11-03back out previous patch.. there are still some vax/m68k issuesMarco S Hyman
2002-11-03libc changes for thread safety. Tested on:Marco S Hyman
alpha (millert@), i386 (marc@), m68k (millert@ and miod@), powerpc (drahn@ and dhartmei@), sparc (millert@ and marc@), sparc64 (marc@), and vax (millert@ and miod@). Thanks to millert@, miod@, and mickey@ for fixes along the way.
2002-11-01Stub to help libc_r buildsMiod Vallat
2002-10-31gotta define SYSEXIT() and make all the rest of sys/*S be thread-safe now, ↵Michael Shalayeff
missed this fuct in the previous take on thread-safe libc