Commit Graph

15038 Commits

Author SHA1 Message Date
joerg
3eb244d801 Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.
2011-07-17 20:54:30 +00:00
christos
ab0103dee5 fix type punned warnings in debugging code. 2011-07-17 20:47:39 +00:00
dyoung
ff4557ec84 Don't descend into alpha/.
Up next: fix set lists.
2011-07-17 01:09:00 +00:00
mrg
7c7bb760e6 revert the previous. it didn't help and wasn't the problem anyway. 2011-07-16 23:07:50 +00:00
jruoho
5941dd2312 Note that dup2(2) and dup3(2) may not fail with EMFILE; from PR lib/45148. 2011-07-16 14:33:33 +00:00
christos
534ca6a0dd mention EINVAL. 2011-07-15 14:59:33 +00:00
jruoho
7f1ed5f987 Small markup edit. 2011-07-15 09:44:14 +00:00
jruoho
872b41c159 Small markup glitch. 2011-07-15 08:17:36 +00:00
wiz
d66479d008 New sentence, new line. 2011-07-14 22:12:30 +00:00
jruoho
bce528f484 Complete prototypes, markup NULL, complete return values, more markup. 2011-07-14 21:25:42 +00:00
manu
6e1ab723f7 FUSE struct dirent's off is not the offset in the buffer, it is an opaque
cookie that the filesystem passes us, and that we need to send back on
the next READDIR. Most filesystem just ignore the value and send the
next chunk of buffer, but not all of them. Fixing this allows glusterfs
distributed volume to work.
2011-07-14 15:37:32 +00:00
mrg
f31d8e575a rename sparc64 BLOCK_SIZE and BLOCK_ALIGN to have SPARC64_ prefixes.
for the assembler files, define the old names to the new names
since using the new names cause ugliness due to longer identifer
names, and reduces churn.

fixes build issues in dtv and vaguely makes <machine/psl.h> slightly
less name-space invasive.
2011-07-12 07:51:33 +00:00
matt
85f1d6f3df Don't use "f" with non-fp types. Use a union to go between
double and uint64_t.  Makes clang happy.
2011-07-10 21:18:47 +00:00
blymn
83d6403d6e Set the background attributes when erasing. 2011-07-10 12:11:49 +00:00
matt
23282762ff Fix so that float128_to_uint64_round_to_zero is defined for sparc64.
(isn't tha a namespace violation?)
2011-07-10 04:52:23 +00:00
christos
047570cb9a make obvious what we are trying to do... 2011-07-09 23:54:39 +00:00
tron
c15a9046d9 Call the FUSE init operation before we try to access the file-system.
This prevents a crash in "fuse_ext2" which I previously worked around
with a patch.
2011-07-09 17:16:46 +00:00
tron
f5c0fd2c7b Try to fix build of port where "char" is unsigned. 2011-07-09 16:04:34 +00:00
tron
d606648b9f Don't ignore "userdata" argument in "fuse_main_real". This can crash
a FUSE file-system that passes a non-NULL argument here.
2011-07-09 14:50:00 +00:00
plunky
14f0284e32 don't indent this bullet list either, it is not required
(the text is indented anyway)
2011-07-09 09:12:11 +00:00
matt
f73fcccaa1 Don't build tf (long double) if building for O32. 2011-07-09 04:12:01 +00:00
matt
0342df8561 Appease lint and don't use C99 features. 2011-07-09 03:16:40 +00:00
matt
cee1c10ee1 Add ieee754 versions of the compiler runtime functions
__fixuns{sf,df,tf}{si,di}.
Add an ieee754 version of the compiler runtime function __floatuntfdi
2011-07-09 02:30:27 +00:00
matt
e17674a5a4 Add SOFTFLOAT_NEED_FIXUNS condition around the float128 fixuns 2011-07-09 02:28:31 +00:00
wiz
d89020203c Bump date for xdr_sizeof. Remove trailing whitespace. 2011-07-08 19:28:22 +00:00
wiz
cbbf7c09a0 Sort error descriptions. 2011-07-08 19:25:51 +00:00
christos
c6c51b75eb Support other non-latin1 single byte character sets.
From: Alexander Barkov and Nirbhay Choubey at oracle dot com
2011-07-08 15:54:56 +00:00
plunky
9bc458e1a8 ensure that the buffer is nul-terminated, otherwise printing an
empty string will show junk..
2011-07-07 10:44:50 +00:00
matt
da43c56109 Distribute libmpfr and libmpc across the dependency barriers so that
additional .WAITs are not needed.
2011-07-07 07:37:17 +00:00
mrg
d28869abd7 add .WAIT's between libgmp and libmpfr, and between libmpfr and libmpc. 2011-07-07 07:33:40 +00:00
matt
85c07878cd Don't define a new enum. Just #define round_* to their FP_Rx instead. 2011-07-07 07:14:57 +00:00
matt
9decdbdfe4 Add missing */ 2011-07-04 21:55:09 +00:00
mrg
cd21741236 XXX: for now, build sparc64 csu with -O1 if using GCC 4.5. 2011-07-04 21:54:18 +00:00
manu
8f6bd1b1eb Add documentation link xdr_sizeof(3) -> xdr(3) 2011-07-04 12:05:00 +00:00
mrg
bf90b28081 avoid some uninitalised variable warnings. 2011-07-04 11:46:41 +00:00
mrg
de4475a299 add support for __floatunsisf(). 2011-07-04 11:22:39 +00:00
mrg
ceb5b44c16 insert some (uintptr_t) between int and pointer casts. 2011-07-04 11:01:40 +00:00
manu
b4a55eb6f9 Document newly imported xdr_sizeof() 2011-07-04 08:19:51 +00:00
manu
be95d60797 Add a flag to VOP_LISTEXTATTR(9) so that the vnode interface can tell the
filesystem in which format extended attribute shall be listed.

There are currently two formats:
- NUL-terminated strings, used for listxattr(2), this is the default.
- one byte length-pprefixed, non NUL-terminated strings, used for
  extattr_list_file(2), which is obtanined by setting the
  EXTATTR_LIST_PREFIXLEN flag to VOP_LISTEXTATTR(9)

This approach avoid the need for converting the list back and forth, except
in libperfuse, since FUSE uses NUL-terminated strings, and the kernel may
have requested EXTATTR_LIST_PREFIXLEN.
2011-07-04 08:07:29 +00:00
matt
c2405fa58b Add __floatunsidf __floatunsisf __floatunsitf routines.
XXX i think they are correct but not sure.
2011-07-04 08:02:34 +00:00
manu
319b6ef0ee Import xdr_sizeof() from FreeBSD 2011-07-04 07:54:38 +00:00
matt
25ba5ff11d Update to C89 style.
Fix name of floatundidf (uns -> un).
2011-07-04 06:23:50 +00:00
mrg
fb6b921228 sh3 also needs -Wno-enum-compare here. 2011-07-04 02:53:15 +00:00
jruoho
b825528b07 But use .Xr (and not .Fn) with references to external functions. 2011-07-03 20:36:34 +00:00
jruoho
f688e4951f Use .Fn (and not .Nm) for functions. 2011-07-03 20:34:52 +00:00
mrg
462a335ff0 mips wants some -Wno-enum-compare here, too. 2011-07-03 15:26:58 +00:00
jruoho
cac6cf8528 Note that mknod(2) may fail with EINVAL. 2011-07-03 14:11:43 +00:00
mrg
cba8775c43 use DBL_MAX and FLT_MAX from <float.h> instead of hard coding some ieeefp values. 2011-07-03 06:45:24 +00:00
matt
532130a31c The kernel and ld.elf_so call with a different order for
cleanup, obj, ps_strings so deal with it.
With this change, USE_COMPILERCRTSTUFF=no works.
2011-07-02 20:16:09 +00:00
matt
675a57b0bb Adapt to the new ___start calling convention 2011-07-02 20:14:10 +00:00