mycroft
fb41c8728c
Use cpp comment style.
2000-07-25 15:14:45 +00:00
mycroft
c54917029b
Make __dtoul() actually DTRT. The calling convention was totally wrong, and
...
the `big' value should be 2^63, not 2^31.
Also, nuke __fixunsdfsi(), since this is never output by the sparc64 compiler.
2000-07-25 04:26:12 +00:00
mycroft
4272204d8d
Offset the %i2 stack slot from %sp, not %fp. Otherwise we may modify the
...
caller's registers!
2000-07-24 15:36:49 +00:00
mycroft
fc590aafb4
There's no good reason not to assume a 64-bit stack here.
2000-07-24 15:24:55 +00:00
mycroft
eded30220a
Don't bother saving %f16-%f31, since we don't use them.
2000-07-24 07:30:54 +00:00
mycroft
b3e75eb4ed
_errno -> __errno
2000-07-24 00:11:10 +00:00
mycroft
e740400671
Just use a store/load pair to get the pattern into the FP reg. This eliminates
...
a bunch of cruft and avoids using a v9a instruction.
In addition, eliminate 8 of the fmovda's, which we are not using the result of
anyway.
Net result is that this should be faster in all cases.
2000-07-23 20:34:07 +00:00
eeh
32ceb997a8
Fix stack BIAS issues.
2000-07-23 07:12:22 +00:00
eeh
e507cc60e6
Update some more assembly code for PIC issues.
2000-07-21 03:14:15 +00:00
eeh
067b7521b5
Fix PIC bugs.
2000-07-18 22:38:11 +00:00
bjh21
3b9cd873cb
Revert previous change -- turned out I'd got my build environment in a twist.
2000-07-15 15:07:34 +00:00
bjh21
985033a7a6
Add fixunssfsi and fixunsdfsi. These are provided by libgcc2.c in GCC 2.95,
...
but not in EGCS.
This version of fixunssfsi is almost exactly the arm32 version. fixunsdfsi is
mostly based on fixdfsi, but with simplifications for 64-bit integers.
Only minimal testing has been applied so far.
2000-07-15 13:26:50 +00:00
eeh
1b72cecb45
Block align pointer *AFTER* fixing up possible stack bias.
2000-07-08 16:02:15 +00:00
itohy
af83a97717
Add special treatment of shmat(2).
...
On m68k ELF calling standard (__SVR4_ABI__), if a function
returns a pointer, the return value should go to a0 as well as d0.
2000-07-07 08:20:50 +00:00
kleink
de9e80b40f
Missed in previous: replace the previously used _brk label with an ordinary
...
local label; problem noticed by Matthias Drochner.
2000-07-04 07:37:33 +00:00
matt
7661e75ad4
Fix a major botch in 1.4 (which I did not do) which broke _brk and malloc.
2000-07-01 05:21:12 +00:00
matt
c3530f0c12
Fix some bugs and clean up for ELF & a.out support
2000-06-30 23:46:36 +00:00
mrg
6b9ed41192
sync with libkern version; <vm/vm.h> -> <uvm/uvm_extern.h>
2000-06-29 06:30:02 +00:00
matt
ae4364e1d3
Make these work with either a.out or ELF.
2000-06-28 19:20:16 +00:00
kleink
b8a4d7adf9
Need an internal name for fork().
2000-06-26 06:32:54 +00:00
kleink
2234f31b26
Add a _SYSCALL(entry,syscall) macro like the one found on other
...
architectures.
2000-06-26 06:31:37 +00:00
kleink
15bc7ed349
Thinko in previous: we do always use an internal name.
2000-06-26 06:25:36 +00:00
kleink
03f996bd0c
Add internal names for brk() and sbrk().
2000-06-23 15:40:36 +00:00
kleink
4d8e5be65e
Delete the leftover _brk entry; as discussed with Ragge.
2000-06-23 07:18:09 +00:00
cgd
db755e7c76
sweep of my licenses (userland files w/o only my copyright) for
...
consistency. (no functional changes)
2000-06-14 17:24:02 +00:00
cgd
d220ca5ba3
fix up NetBSD RCS Ids to match the standard, and the leading comment as
...
to match as well. No functional changes.
2000-06-14 06:48:47 +00:00
msaitoh
b2e2c7ec87
movstrSI*() for gcc -Os
2000-06-09 04:47:31 +00:00
tsubai
bba37c9174
Add softfloat glue for sh3.
2000-06-06 17:28:37 +00:00
bjh21
4472dbe5e3
Initial commit of SoftFloat 2a import. This should provide a sensible
...
mostly-MI floating-point implementation for use by gcc -msoft-float.
It's currently only used by arm26, but should be usable by other ports
without too much hacking, assuming doubles and u_int64_ts are passed and
returned the same way, and FP formats are IEEEish.
2000-06-06 08:14:49 +00:00
castor
5510a708c4
Make __cerror be LEAF_NOPROFILE. I relies upon having v0 and v1 be unchanged
...
from the caller. From Ethan Solomita <ethan@geocast.com>
2000-05-29 15:07:41 +00:00
bjh21
6c97e2bd78
Initial commit of arm26 port
2000-05-09 21:55:44 +00:00
erh
b6ab3db38e
Fix unaligned accesses more correctly.
2000-04-25 05:55:58 +00:00
erh
9396b0cf82
Fix unaligned accesses.
2000-04-25 05:54:33 +00:00
tsubai
dc6a892a44
Add missing files.
2000-04-20 13:48:14 +00:00
mark
a319e58c04
Fix alignment of __nanf and __infinity. Fixes PR9925.
2000-04-18 22:07:17 +00:00
mycroft
fedba1d813
Clean up.
2000-04-03 04:20:44 +00:00
mycroft
72e604e414
Clean up.
...
* _REENTRANT is always defined.
* The vfork() stubs can use cerror.
2000-04-03 04:13:36 +00:00
mycroft
7f7027bb59
Repair syscall stubs that were not updated when the cerror interface was
...
modified.
2000-04-03 03:13:07 +00:00
msaitoh
9c587bcf2f
fill delay slots (from Klaus Klein)
2000-03-27 16:27:16 +00:00
mycroft
78a4ddbd60
Do a little rearrangement here. No functional change, but it's a little
...
clearer what's going on.
The assembler still whines about the lack of `.cprestore' when profiling,
but I'm not going there right now.
2000-03-23 04:58:59 +00:00
soren
89c5a767f8
Fix doubled 'the's.
2000-03-13 22:55:05 +00:00
kleink
e4d7c2e329
Add ISO C99 long long integer general utility interfaces; partially addresses
...
PR standards/9482.
2000-03-06 18:32:22 +00:00
shin
e68fefb855
remove unused files (MIPS SOFTFLOAT).
2000-03-05 05:45:46 +00:00
shin
ac9896415f
remove MIPS SOFTFLOAT.
2000-03-05 05:41:03 +00:00
mycroft
19b51e87a9
Remove pointless #ifdef.
2000-02-25 17:40:30 +00:00
kleink
7b61131dba
Missed in end -> _end cleanup.
2000-02-24 15:37:34 +00:00
kleink
a379081935
For consistency with all other ports, clear errno in the prologue to the
...
syscall here as well - while the manual page advises applications to clear
errno themselves their actual behaviour may be questionable, especially in
light of the other ports' implementations.
2000-02-23 20:16:57 +00:00
mycroft
9ff0891c83
Fix bogons.
2000-02-22 03:28:04 +00:00
mycroft
5256a370bf
Do the minimum work to make this compile with -Werror.
2000-02-22 03:14:20 +00:00
mycroft
32d50d3388
Do the minimum work to make this compile with -Werror.
2000-02-22 01:18:28 +00:00