Commit Graph

14 Commits

Author SHA1 Message Date
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
christos 634ab218c7 Fix bug where we did not build archdir and simplify. 2006-03-11 23:04:03 +00:00
uwe 553d6ca3ed Use JUMP_CERROR instead of messing with errno directly.
Simplify.  Add WARN_REFERENCES.
2006-01-06 04:30:33 +00:00
uwe dc6b340eff Simplify. 2006-01-06 04:08:47 +00:00
uwe 577f0b80c0 Simplify. Add WARN_REFERENCES. 2006-01-06 04:05:55 +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 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 c8cec240a7 Oops^2. Init pointer to the saved registers area. 2006-01-05 04:55:48 +00:00
uwe a2be2d8bd9 Oops, correct numeric label in branch. 2006-01-05 04:41:16 +00:00
uwe 55be1ea1cf 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 04:38:39 +00:00
uwe f859e17a02 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 04:23:18 +00:00
uwe 97f4a15f08 _setjmp and _longjmp are not compat functions. Noticed by Havard Eidnes. 2005-10-15 16:00:42 +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