drochner
fa073991b3
build frexp/ldexp/modf in the "compat" part (code is identical)
...
(These are the easy cases where no assembler implementations exist.)
2006-06-28 14:46:32 +00:00
uwe
46daac62de
G/c KMSRCS and KMINCLUDES now that we have common/lib/libc
2006-06-17 18:04:23 +00:00
mrg
e69cf86f15
remove GCC2 support
2006-06-02 19:47:15 +00:00
mrg
15fc3900ea
add a local prototype for fabs()
2006-05-21 02:51:15 +00:00
christos
96473fa808
change __weak_extern to __weak_reference so that gcc4 works.
2006-05-18 17:54:19 +00:00
mrg
8726b401d3
if SOFTFLOAT_FOR_GCC is not defined, don't declare float_detect_tininess.
2006-05-16 20:55:51 +00:00
uwe
13ab2e2a10
Now that bcopy.S doesn't contain the actual implemenation, move it
...
back to libc.
2006-04-23 00:08:18 +00:00
mrg
0db1500b43
retire HAVE_GCC3/HAVE_GCC4 and introduce HAVE_GCC that is set to 2, 3 or 4.
2006-04-07 19:38:58 +00:00
drochner
f81322cf18
build erand48_ieee754.c on everything but vax
2006-03-22 22:03:58 +00:00
kleink
bc89c06cbf
Add strtof(3) and strtold(3); welcome libc 12.137.
2006-03-15 17:35:17 +00:00
wiz
5d1e8b2745
Fix some typos.
2006-02-25 02:28:55 +00:00
christos
b1732b7a63
make these consistent.
2006-02-19 05:06:02 +00:00
kleink
804e6c96a2
Add machine-dependent definitions for gdtoa.
2006-01-25 15:33:28 +00:00
uwe
5cee9283d0
Provide _REENTRANT version of errno = 0;
2006-01-06 20:38:01 +00:00
uwe
0e79e13e9c
Use JUMP_CERROR instead of messing with errno directly.
...
Simplify.
2006-01-06 07:07:34 +00:00
uwe
3a310524fb
Drop unnecessary nops.
2006-01-06 06:19:20 +00:00
uwe
ec3c02b8ff
Simplify.
2006-01-06 05:23:46 +00:00
uwe
6ea6e06ed1
Change !_REENTRANT && !PIC case to use r4 too.
2006-01-06 05:14:39 +00:00
uwe
026eb7b69e
Open code _SYSCALL_NOERROR to shave off a memory load and a branch.
...
Makes this congruent to vforks. Add .size directive.
2006-01-06 05:11:29 +00:00
uwe
73375bbc4d
Add .size directive.
2006-01-06 04:38:10 +00:00
uwe
b46734f0ca
Change cerror to take errno in r4, instead of r0.
...
In PIC code fetch cerror address from GOT to avoid
unresolved text relocations in shared libraries.
Hide the code to jump to cerror inside JUMP_CERROR macro.
Change syscall code to use JUMP_CERROR.
Die text relocations! DIE!
2006-01-06 03:58:31 +00:00
uwe
b1648afca2
This can be simplified to RSYSCALL(__syscall), no special treatment necessary.
2006-01-06 01:57:38 +00:00
uwe
63e9eca689
This can be simplified to PSEUDO(exect,execve).
2006-01-06 01:53:30 +00:00
uwe
63f84ca820
This can be simplified to RSYSCALL(syscall), no special treatment necessary.
2006-01-06 01:27:23 +00:00
uwe
0831944cce
Use PLT for PIC call to __errno to avoid text reloc in the shared library.
...
Add .size directive.
2006-01-05 23:10:35 +00:00
uwe
3259b3637a
Use PLT for PIC call to _exit to avoid text reloc in the shared library.
...
Add .size directive.
2006-01-05 19:28:50 +00:00
uwe
a92c062160
Use PIC_PROLOGUE_NOSAVE in long jumps, where we don't need to preserve r12.
...
While here, swap the order in which r4 and r5 saved on the stack so
that r4 is restored further away from its first use.
2006-01-05 19:21:37 +00:00
uwe
0396244ccc
Use macros from <machine/asm.h>. Add some comments.
...
Same PIC object code. Almost the same non-PIC object code (b/c of
s/jsr/jmp/ to _exit).
2006-01-05 18:20:29 +00:00
uwe
7581f11837
Add .size directive.
2006-01-05 05:02:33 +00:00
uwe
979bf3279f
Oops, supply correct label for __longjmp14 .size directive.
2006-01-05 04:18:01 +00:00
uwe
0aa62ed4eb
Use PLT for PIC calls to avoids text relocs in the shared library.
...
Use constants from <machine/setjmp.h> for better readability.
Provide .size directives.
2006-01-05 03:40:34 +00:00
uwe
f814031bbe
Use PLT for PIC calls to avoids text relocs in the shared library.
...
Use constants from <machine/setjmp.h> for better readability.
Provide .size directives.
2006-01-05 03:03:52 +00:00
uwe
89723f208b
PIC_PROLOGUE doesn't take temp register argument, adjust.
2006-01-05 02:46:15 +00:00
uwe
6170f5973a
Use SET_ENTRY_SIZE macro to hide verbose .size arithmetic.
2006-01-05 02:04:41 +00:00
uwe
932cacd22a
Use constants from <machine/setjmp.h> for better readability.
2006-01-05 00:56:21 +00:00
uwe
2217927fda
Add .size directives.
...
While here, indent instructions in the rts delay slots.
2006-01-05 00:18:10 +00:00
uwe
fa0fe9c883
Use PLT for PIC calls. Makes the called functions overridable and
...
avoids text reloc in the shared library.
Same non-PIC code generated.
2006-01-04 22:32:06 +00:00
uwe
1a1aa0fb5a
Took me some time to figure that getcontext does _UC_MACHINE_INTRV(oucp) = 0
...
for us, so add a comment. While here use official _UC_MACHINE_SET_PC
macro in another comment.
2006-01-04 20:47:24 +00:00
uwe
8238ccbbf0
Use macros from <machine/asm.h>. s/r15/sp/. Use cpp-safe label
...
names. Add comments. Same object code is generated.
2006-01-04 19:13:48 +00:00
uwe
e3ebee56f2
Be consistent about macro indentation.
...
Indent delay slot instructions.
Whitespace changes only, same binary code produced.
2005-12-25 11:08:35 +00:00
perry
ce666bb8ce
__asm__ -> __asm
2005-12-24 23:10:08 +00:00
perry
4e11af46bc
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
2005-12-24 21:11:15 +00:00
christos
66feb1b71d
move to the common tree.
2005-12-22 01:24:52 +00:00
christos
e5548b402a
Use reach-over sources from common/lib/libc
2005-12-20 19:31:47 +00:00
uwe
97f4a15f08
_setjmp and _longjmp are not compat functions. Noticed by Havard Eidnes.
2005-10-15 16:00:42 +00:00
uwe
8a5d0eb1c0
Add lint stubs for __setjmp14 and __sigsetjmp14.
2005-09-15 22:49:33 +00:00
uwe
4890707a48
Switch arch/sh3/gen to the new compat code layout.
2005-09-15 22:44:58 +00:00
uwe
bdfc6e2e00
Switch arch/sh3/sys to the new compat code layout.
2005-09-15 21:39:15 +00:00
lukem
88c3eadbfa
Add missing __RCSID()
2005-06-12 05:21:25 +00:00
kleink
b2cb7fcd8a
Push back the descriptions of NaN formats, and descriptions of the
...
distinction between signalling NaNs and quiet NaNs back into the
machine-dependent headers; treat the implementation of __nanf in the
same spirit.
IEEE 754 leaves the distinction between signalling NaNs and quiet NANs
to the implementation, and unlike our headers used to suggest they're
not identical in the interpretation of the fraction's MSb; in due
course, make those of hppa, mips, sh3, and sh5 reflect reality.
2005-04-15 22:39:10 +00:00