Commit Graph

102 Commits

Author SHA1 Message Date
drochner 451c99c7a2 build frexp_ieee754 and ldexp_ieee754 in the "compat" subtree
(There is an assembler version of modf which needs to be checked.)
2006-07-03 13:00:54 +00:00
drochner 4cbc875060 build frexp_ieee754 in the "compat" subtree
(There are assembler versions of ldexp and modf which need to be checked.
I'm in doubt they are metter than those in libm.)
2006-07-03 12:58:55 +00:00
drochner c48c54fd05 build frexp_ieee754 in the "compat" subtree
(The Makefile logics for ldexp and modf is too involved for me to deal
with this now.)
2006-07-03 12:54:34 +00:00
ross fad4c9f714 ppc64 build framework 2006-07-01 19:17:32 +00:00
ross 2cc456cbfb powerpc64 build framework 2006-07-01 19:14:49 +00:00
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
drochner 0ed7304bd6 build frexp/ldexp/modf in the "compat" part
(code is identical)
2006-06-28 14:22:15 +00:00
drochner 4502979a72 Build just the compatibility versions of frexp()/ldexp()/modf(), the
real implementation is in libm.
2006-06-27 18:19:57 +00:00
drochner 0048377426 First step to clean up the variety of frexp(), ldexp() and modf()
implementations.
Long term goal is to use the implementation in libm and get rid of
the libc instances. For now, we need to keep one in libc for compatibility,
it belongs into the compat subtree.
The switch is per-arch. Should be painless for ieee754 boxes.
If all ieee754 archs are switched, libc/gen/{frexp,ldexp,modf}_ieee754.c
can be removed.
2006-06-27 18:16:47 +00:00
mrg e2eb31d3a3 version the socket(2) syscall. for compat30 socket, we use
EPROTONOSUPPORT instead of EAFNOSUPPORT.

from pavel@ with a little bit of clean up from myself.

XXX: netbsd32 (and perhaps other emulations) should be able
XXX: to call the standard socket calls for this i think, but
XXX: revisit this at another time.
2006-06-26 21:23:56 +00:00
drochner 837ecb8ce8 support the new ntp_gettime() syscall and add compatibility for the old one 2006-05-29 10:02:56 +00:00
christos 99f76ec337 Adjust for the fhstat() compat kernel change. 2006-05-04 19:00:18 +00:00
christos 3c9502f95a Unbreak fts13 after yesterdays header changes [yes I keep old binaries around
just to test this]
2006-03-30 18:24:49 +00:00
christos 8d5214b18a PR/33163: Auster Vl.: fts: cant allocate memory | filename too long
Change the ftp_pathlen and fts_namelen to u_int from u_short so that
pathnames > 32K work.
2006-03-30 01:23:50 +00:00
christos fb11ba2dc5 PR/33124: Murray Armfield: readdir_r is missing a restrict qualifier.
http://www.opengroup.org/onlinepubs/000095399/basedefs/dirent.h.html
2006-03-26 18:22:40 +00:00
christos 3b6811d33b PR/33123: Murray Armfield: standards compliance & glob.h
Certain fields in glob.h need to be size_t; fix this and version glob(3).
    http://www.opengroup.org/onlinepubs/000095399/basedefs/glob.h.html
2006-03-26 18:11:22 +00:00
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