Commit Graph

36 Commits

Author SHA1 Message Date
christos
634ab218c7 Fix bug where we did not build archdir and simplify. 2006-03-11 23:04:03 +00:00
christos
eb961d0e02 Add glue to build the compat library as a separate "libcold" turned off by
default. Clean up the libc Makefile and remove obsolete stuff such as copy
to libkern.
2006-03-11 21:07:18 +00:00
christos
14c25e3631 move hppa to the new compat layout. 2006-03-11 19:54:56 +00:00
christos
147db157f7 More new compat layout fixes. 2006-03-11 19:26:29 +00:00
christos
cb903be1ec Move to the new compat layout. 2006-03-11 19:13:33 +00:00
christos
ccfab6be96 Welcome to the new compat layout. 2006-03-11 18:59:21 +00:00
christos
eebf12020e files moved from arch compat layout 2006-03-09 16:20:55 +00:00
matt
8b121c704a Seperate out the compat support for VAX. Also, make references to the
sigcontext sigtramp code weak so compat can be compiled out.
2006-02-18 22:54:51 +00:00
matt
b09fbb025f *setjmp14 are not compat, plain setjmp/sigsetjmp are the compat versions.
Exchange the files.
2006-02-18 00:45:22 +00:00
matt
bfb62ce415 Move PowerPC compat files from arch/powerpc to compat/arch/powerpc. 2006-02-18 00:21:27 +00:00
christos
b72acd5139 rename __func to _func_unlocked, and add their prototypes in extern.h
instead of exposing them in dirent.h. More locking consistency fixes.
2006-01-24 19:33:10 +00:00
christos
96dd93ad18 Expose __readdir and __telldir, unlocked versions of the non-underscore
versions.
2006-01-24 14:01:32 +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
christos
b53fea69d0 Restore the compatibility versions of fts not to do path mangling (i.e.
remove double slashes). Also make sure we free sp in all cases. From yamt,
many thanks!
2005-12-11 04:12:58 +00:00
christos
03256c6e55 WARNS=4 2005-11-29 03:11:58 +00:00
christos
bd3788cdce fix typo. 2005-10-16 22:16:05 +00:00
christos
b638db2ce4 complete arm's move to the new compat layout. 2005-10-16 17:27:49 +00:00
christos
180e99b5f3 Bring sparc64 to the new compat layout. 2005-10-16 04:41:34 +00:00
uwe
eb9395f8c7 Switch sparc to the new compat code layout. 2005-10-15 22:11:22 +00:00
uwe
97f4a15f08 _setjmp and _longjmp are not compat functions. Noticed by Havard Eidnes. 2005-10-15 16:00:42 +00:00
tsutsui
ff4cdaa621 Follow compat libc changes on i386:
> _setjmp and _longjmp are not compat functions. Noticed by Havard Eidnes
2005-10-07 17:16:39 +00:00
christos
f5df298a97 _setjmp and _longjmp are not compat functions. Noticed by Havard Eidnes 2005-10-05 20:16:43 +00:00
tsutsui
f80595ca7d Switch mips to the new libc compat code layout. 2005-09-17 11:49:39 +00:00
drochner
153a0d2611 bring the compat code for alpha into place 2005-09-16 18:21:19 +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
christos
9d2cc4eaf5 Fix opendir30 screwup and sort the compat defs for clarity. 2005-09-14 20:20:15 +00:00
christos
5b84b3983f compat core reorg. 2005-09-13 01:44:08 +00:00