summaryrefslogtreecommitdiffstats
path: root/lib/libc/arch (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Use less stack space for temporary storage and C code invocation, aftermiod2004-07-283-30/+24
| | | | the ABI change.
* Update stack frame processing after ABI change.miod2004-07-282-9/+9
|
* Do not overallocate stack space, and keep the stack on a 16-byte boundary.miod2004-07-221-7/+7
|
* Sync with NetBSD, picking up fixes to correctly reset status bits returningkettenis2004-07-131-3/+6
| | | | | the old status bits. ok deraadt@
* Use _ENTRY(CERROR) instead of CERROR so correct type info is generated.drahn2004-06-211-2/+2
| | | | ok marc@
* include whole SYS.h instead of just machine/asm.hmickey2004-06-101-2/+2
|
* PICy stuffmickey2004-05-256-31/+86
|
* In _longjmp(), flush windows rather than attempting to backtrack manually,miod2004-05-042-59/+35
| | | | | | | | | since the latter is not reliable in all cases. This allows ruby to work on sparc64. Problem spotted by claudio@; fix adapted from NetBSD for sparc, FreeBSD for sparc64; ok deraadt@
* It turns out that the so-called fast ffs(3) routines were wrong, as soon asmiod2004-04-012-18/+2
| | | | | | | | | | | | more than one bit is set, as the ff1 instruction counts from the highest order. However, gcc/m88k with optimization enabled would use a correct, short sequence based upon ff1 and tweaks, to achieve the intended result, hence i did not catch this flaw initially. So revert to the C implementation - it is correct, still decently fast, and will only be used when compiling at -O0.
* From the how many ways can you screw up replacing one line of codejason2004-03-241-2/+2
| | | | | department: cast 'i' to u_int64_t so the sign comparison actually makes sense. Any other bugs in here just ship in the release, I'm done.
* use absolute value like rev 1.1 did; pointed out by tom and ok deraadt.jason2004-03-231-1/+2
|
* gcc3 doesn't align things the same as gcc2. Casting upwards is dangerousjason2004-03-231-2/+3
| | | | to a program's health, avoid it. ok deraadt
* longjmp should not return 0, if longjmp(..., 0) is invoked return 1.drahn2004-03-011-2/+8
| | | | ok miod@ deraadt@
* fix weak aliases for _thread_sys functions, proper libpthead linking.drahn2004-03-011-31/+18
| | | | rewrittent to more closely model other archs. ok deraadt@ miod@
* change amd64's MACHINE_ARCH from x86_64 to amd64. There are many manyderaadt2004-02-2742-1879/+2
| | | | | | reasons for this, quite a few of them technical, and not all of them in response to Intel's broken ia32e crud. The gcc toolchain stays at x86_64 for now.
* Define OSYSCALL* macros, as their SYSCALL* counterparts, but using themiod2004-02-224-6/+52
| | | | | | | | | int 0x80 mechanism; and use OSYSCALL for sigreturn() as done in the sigcode. Naming borrowed from NetBSD. ok deraadt@
* errno is int, not long; tracked down by otto@miod2004-02-182-8/+8
| | | | ok deraadt@
* Remove WARN_REFERENCES incorrectly imported from NetBSD. ok miod@drahn2004-02-162-8/+2
|
* Update from netbsd, prodded by miod@drahn2004-02-121-2/+2
|
* correct syscall() stub; fixes perl and vi.recoverderaadt2004-02-112-4/+6
|
* Fix PIC cerror. ok miod@ mickey@drahn2004-02-102-4/+6
|
* CURBRK -> __curbrk changes from mickey, minbrk addition by me, ok mickey@drahn2004-02-104-24/+28
|
* correct function names, ok deraadt@drahn2004-02-106-12/+12
|
* masks are only 32 bits on openbsdderaadt2004-02-092-4/+4
|
* do signal blocking before saving registersderaadt2004-02-094-46/+46
|
* 16 byte align for performance, as on other architecturesderaadt2004-02-082-4/+8
|
* from freebsd, helps awk too:deraadt2004-02-082-4/+4
| | | | | Fix fabs(). This commit brought to you by the letter 'l'. (fstp stores a mem32 value, fstpl stores a mem64 value)
* from freebsd (and appears to make our awk work better)deraadt2004-02-082-34/+28
| | | | | | Tidy up modf.S and make it actually work. It wasn't extracting the value out of ST(0) before copying it to %xmm0. Also remove bogus stack frame and work in the red zone.
* Do not generate text relocations in PIC code.drahn2004-02-073-11/+11
|
* make old & new SYSENTRY macrosderaadt2004-02-062-14/+24
|
* fix alias definition, was backwards.drahn2004-02-061-2/+2
|
* correct psABI functions _Q_feq and friends (they return 'int' not long double);jason2004-02-032-14/+14
| | | | pointed out by Mark Kettenis, kettenis,chello,nl
* Correct modf (from alpha) instead of one which doesnt compile from NetBSDdrahn2004-02-032-29/+37
|
* add missing frexpdrahn2004-02-022-1/+76
|
* cleanupdrahn2004-02-021-17/+1
|
* This file was not supposed to committed.drahn2004-02-021-967/+0
|
* Use the real fpgetround found in softfloat.drahn2004-02-022-10/+1
|
* fix __weak_aliasdrahn2004-02-021-2/+2
|
* Add missing minbrk symbol, fixes profiling builds.drahn2004-02-021-1/+5
|
* sigh, watch for compile errors...drahn2004-02-021-4/+4
|
* ARGH, forgot tags.drahn2004-02-0169-1/+69
|
* arm libc support. From NetBSD. currently supports softfloat.drahn2004-02-0174-0/+11427
|
* fix to use sigaltstack again. help miod ok miod deraadttedu2004-01-292-11/+11
|
* things for amd64; from art@mickey2004-01-2882-0/+3692
|
* Use libkern's fast ffs() in libc too.miod2004-01-262-2/+18
|
* ABI breakage happened with the sigaltstack replacement. It is too late,deraadt2004-01-152-8/+8
| | | | | | | now we just have to cope. Since setjmp uses it, the alpha and sparc64 are unhappy with the structure change. In a few days, we will make the second hop here, for now, use the old system call until all binaries have the new struct in them.
* Use correct type for old values. No binary change.otto2004-01-052-4/+4
| | | | ok mickey@ miod@
* Use an unsigned comparison against minbrk.miod2003-12-255-21/+17
| | | | ok deraadt@
* In the never-ending story of *setjmp bugs, fix a typo preventingmiod2003-12-241-5/+5
| | | | sigsetjmp(foo, !0) to work. Sigh.
* Speed up sbrk() one cycle by removing an unnecessary register shuffling.miod2003-12-191-4/+3
|