summaryrefslogtreecommitdiff
path: root/lib/libc/arch
AgeCommit message (Collapse)Author
2002-08-27sync from libkern (where the major fix was done or the kernel piece of this)Michael Shalayeff
2002-08-13forgot to fix this while was fixing copy_on_fault shitzMichael Shalayeff
2002-08-11Two touches to make this work with ELF.Artur Grabowski
- use _C_LABEL(__cerror) and not cerror to avoid polluting the name space. - Use weak symbols for libc_r syscalls.
2002-08-08no more of the French Favourite SymbolMichael Shalayeff
2002-08-08fix KMSRCS after some files removelanceMichael Shalayeff
2002-08-05_C_LABEL where needed.Artur Grabowski
2002-07-25real vforkMichael Shalayeff
2002-07-08we can live very well w/ MI ffs()Michael Shalayeff
2002-07-08offload the arguments from the stack before performingMichael Shalayeff
the copying, initial idea is from freebsd (not fully implemented there, apparently). this also makes bcopy/memcpy a tiny little bit faster.
2002-06-18Rewrite to get proper Copyright.Marc Espie
Should even be slightly better than the old one. Checked and fixed by miod@, my initial version was not 100% right (writing m68k loops blindly doesn't always work).
2002-06-17make fabs use asm, and license repairTheo de Raadt
2002-06-10no more _NO_WEAK_ALIASES here.Federico G. Schwindt
2002-05-22I was on drugs when I commited this initially, and still do not understandMiod Vallat
how I got libc to compile with this. Blush. Replace this with a correct implementation, and write a faster fabs() while there. ok mickey@
2002-05-20save the old onfault where the handler expects it to be, do not zero out on ↵Michael Shalayeff
exit, but restore
2002-05-17kill unused lineMichael Shalayeff
2002-05-17Remove unused pieces and clean Makefile.incMiod Vallat
2002-05-08Sync with netbsd version, adds SOFTFLOAT (not supported) and copyright.Dale Rahn
2002-05-08OpenBSD tag.Dale Rahn
2002-05-08Add copyright block to this file I wrote long ago.Dale Rahn
2002-03-11More fp-related libc pieces for hppa.Miod Vallat
This enables awk to link.
2002-03-08reverse the conditionMichael Shalayeff
2002-03-08set ret for mem*, no mycopy, better reverse copy checkMichael Shalayeff
2002-02-25use c versionsMichael Shalayeff
2002-02-19We need to keep K&R compat macros for some ports where the assemnbler isTodd C. Miller
still using -traditional-cpp.
2002-02-19We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.Todd C. Miller
2002-02-17rfork() needs a fork.S-like stub as well; ok artTheo de Raadt
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2002-02-08fix typo, and put back stack frame opsMichael Shalayeff
2002-02-07reverse condition in the sp botchness check, we need to nullifyMichael Shalayeff
if we are ok not if we are bad. fix a pasto in branch w/in longjmps.
2002-02-07additional condition on reverse copy; from fredette@Michael Shalayeff
2002-02-06no need to interlock the register, use r0 as outputMichael Shalayeff
2002-02-06implement the setjmp/longjmp family, based on fredette@'s workMichael Shalayeff
2002-01-10sigprocmask should return 0 on success, fixes powerpc ntpdate problem.Dale Rahn
2002-01-04system calls are made thru _thread_sys_* with weak symbols of the real nameDale Rahn
pointing to the _thread_sys_ version. ok pval, fgs
2002-01-04longjmp(..., 0) is not really legal, but all other archs I've lookedArtur Grabowski
at make sure that setjmp doesn't return 0 if longjmp is passed a 0. Avoid surprises.
2002-01-03Always have the real entry point to the syscall called _thread_sys_Artur Grabowski
and provide the real name as a weak alias. This is the last piece needed for libc_r on sparc64 (plus debugging).
2001-11-01use _C_LABELMichael Shalayeff
2001-10-24fix __PSEUDO_NOERROR, two waysMichael Shalayeff
2001-10-11Correct length of jmpbuf, it is sizeof(long) * _JBLEN == 8*14Todd C. Miller
This fixes sigsetjmp()/siglongjmp() on sparc64
2001-09-26Changes to SYS.h for sparc64 to make it work with libc_rDale Rahn
bulk of work done by miod.
2001-09-26Revert last. The ERROR() macro is called from leaf functionsArtur Grabowski
and is _not_ supposed to do "call"s.
2001-09-25Add an ASPICFLAG variable to bsd.own.mk which a platform use to pass flagsDale Rahn
to 'as' to make it compile pic. add defaults for sparc64 which needs picflags set to -fPIC and ASPICFLAGS to -KPIC. Also simplifies the systemcall generation for sparc64 PIC mode. ok epsie@.
2001-09-24Rename __minbrk to minbrk to allow gmon.c to link correctly.Artur Grabowski
XXX - The fix should be the other way around - make all other archs match sparc64.
2001-09-21add isnan.cMiod Vallat
2001-09-21Fix incorrect number of args to __SYSCALL. Somehow this managed toTodd C. Miller
work in my test on static libs -- I've no idea how though. While I'm here, remove __RSYSCALL since it is the same as __PSEUDO.
2001-09-20change PSEUDO_NOERROR so it is indeed does not set errno.Dale Rahn
2001-09-20Add PSEUDO_NOERROR similar to that used by NetBSD.Todd C. Miller
Some ports were setting errno in PSEUDO and some were not. Now errno is set for all in PSEUDO and PSEUDO_NOERROR is provided for the non-errno case (only used by _exit). Needs testing on vax and m88k. XXX - hppa and powerpc still lack a real PSEUDO_NOERROR implementation. Currently PSEUDO_NOERROR and PSEUDO are the same (so builds don't break on those platforms).
2001-09-20make this compile for kernelMichael Shalayeff
2001-09-11Keep the strings fully quoted.Dale Rahn
2001-09-10Use the LBL isnan() and isinf() on all platforms with ieee floating point.Todd C. Miller