Commit Graph

68 Commits

Author SHA1 Message Date
cbiere 4b14bb6309 Changed error message of ENOPROTOOPT to "Protocol option not available". 2006-10-31 00:38:06 +00:00
cherry f264f80b8e Further ia64 libc compat bits 2006-09-23 17:38:03 +00:00
matt 95ff9c00a4 Move ns_addr and ns_ntoa to compat libc. Add a stripped version of
<netns/ns.h> which only include struct ns_addr and the ns_addr and ns_ntoa
function prototypes.
2006-08-26 16:07:01 +00:00
yamt 0872061b2c add missing const. 2006-08-04 17:06:56 +00:00
yamt 273fdcedb9 whitespace. 2006-08-04 16:36:44 +00:00
yamt 6e8d813f5e remove the support of variable-sized filehandle from compat version of
syscalls.  (strictly speaking, it breaks abi.  i don't think it's a problem
because this feature is short-lived and there are no affected in-tree
filesystems.)
2006-08-04 16:30:22 +00:00
martin b4cb63a646 Make filehandles opaque to userland 2006-07-31 16:34:42 +00:00
christos 3d7fe67b05 fts_data is defined to be something else now. Avoid syntax error. 2006-07-27 18:11:19 +00:00
christos b44f868f77 Turn fts_number to a quad. 2006-07-27 15:46:30 +00:00
martin 629693c760 Lint insists on this. 2006-07-13 19:09:06 +00:00
martin 688ce05cf5 Ooops, forgot to add this with the last commit 2006-07-13 13:07:31 +00:00
martin a3b5baed42 Fix alignement problems for fhandle_t, exposed by gcc4.1.
While touching all vptofh/fhtovp functions, get rid of VFS_MAXFIDSIZ,
version the getfh(2) syscall and explicitly pass the size available in
the filehandle from userland.

Discussed on tech-kern, with lots of help from yamt (thanks!).
2006-07-13 12:00:24 +00:00
ross 5c30c35cd8 urk, need these too 2006-07-07 06:59:04 +00:00
drochner 71b1fb929e Remove a comment questioning correct denormal handling.
This has been fixed.
2006-07-03 13:33:39 +00:00
drochner 46b4d67318 build {frexp,ldexp,modf} in the "compat" subtree
(Drop the modf assembler version. We have the same code in libm.)
(Drop the ldexp inline-assembler version. The same code is in libm as
scalbn; the ldexp there is just a wrapper providing error handling.)
2006-07-03 13:13:53 +00:00
drochner 5ea27734ec 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:06:12 +00:00
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