Commit Graph

17179 Commits

Author SHA1 Message Date
martin
804dc5f91b Get rid of all sysc_init_field uses - initialize fields directly in C99
notation.
2014-05-16 12:22:32 +00:00
martin
5dd9bd30f5 When creating the descriptions for the "user" node, advance the output
pointer properly.
2014-05-16 09:41:42 +00:00
joerg
718b124a41 Prepare in case we want to hook up the profile init code later. 2014-05-16 00:11:30 +00:00
joerg
8f1ac24727 Deal with PGO rename. 2014-05-16 00:10:57 +00:00
joerg
88fc449bba Ensure notes are properly padded to 32bit length. 2014-05-14 14:59:14 +00:00
uebayasi
b178885539 Whitespace. 2014-05-14 06:38:09 +00:00
christos
4df4d972d3 Welcome to 2014c
Changes affecting code

     zic now generates transitions for minimum time values, eliminating
     guesswork when handling low-valued time stamps.  (Thanks to Arthur
     David Olson.)

     Port to Cygwin sans glibc.  (Thanks to Arthur David Olson.)

   Changes affecting commentary and documentation

     Remove now-confusing comment about Jordan.  (Thanks to Oleksii
     Nochovnyi.)
2014-05-13 16:33:56 +00:00
wiz
8c54f70a11 Add An to authors. Wording. 2014-05-11 09:01:42 +00:00
christos
58ced3d761 Add a history function that takes a FILE pointer; needed for Capsicum.
From Eitan Adler
2014-05-11 01:05:17 +00:00
njoly
d6ab72b9c6 Remove error condition for negative length parameter; the
corresponding type is unsigned (size_t) and thus the value cannot be
negative.
2014-05-09 17:25:11 +00:00
plunky
4a71bf0e0e Move libsjjit and libbpfjit to the pre-dependency section and remove
the unnecessary .WAIT. They are both marked LIBISPRIVATE, which does
mean no link is performed, and there are no dependencies.
2014-05-09 08:36:09 +00:00
joerg
353aedd819 Make EHABI optional. 2014-05-06 16:02:10 +00:00
martin
fb80a335f8 Comment out the ieee fp flags for alpha for now - something (tm) is not
working right, see PR port-alpha/48782.
2014-05-05 18:08:32 +00:00
martin
511cd1dbe5 Tune COPTS for alpha 2014-04-28 08:46:35 +00:00
pooka
0cafe662ce weak alias removal implication: rumpuser_dl_globalsym() can now sleep
with the fishes.
2014-04-27 15:18:59 +00:00
joerg
dbb874e7a4 Avoid enum type mismatch. 2014-04-26 22:10:40 +00:00
pooka
d9bf6db7cc pretend to handle the poll return value for -Wunused-but-set 2014-04-25 12:20:12 +00:00
joerg
61731496eb Retire USE_COMPILERCRTSTUFF=yes. 2014-04-22 13:20:58 +00:00
wiz
49f7bce00f Mention the word 'inode' next to st_ino so it's easier to find.
Bump date.
2014-04-10 17:11:15 +00:00
pooka
889d7bb33a play the "documentation matches implementation" game 2014-04-08 13:02:14 +00:00
christos
b02e0dfacc add __stpncpy_chk 2014-04-06 19:29:37 +00:00
christos
d5aa7d4d63 fix incorrect bounds check 2014-04-06 19:29:25 +00:00
christos
2d04609248 fix the limit check. 2014-04-06 01:13:59 +00:00
christos
18305a4758 fix off by one in stpcpy_chk.
christos
2014-04-06 01:01:49 +00:00
pooka
e8083ecf03 Make sure holyfd is -1 when rumpclient_init() is called for
the first time after fork to prevent fd 0 from being closed.

should fix test failures, thanks to martin for the prod
2014-04-03 17:11:35 +00:00
justin
95e41b89b5 Add Android support for rump kernel.
Reviewed by pooka@
2014-04-02 17:09:23 +00:00
pooka
e152ae2df5 fix build on NetBSD. also, prevent fd leak in error path 2014-04-02 15:04:19 +00:00
pooka
90c25cb369 On Linux, poll signalfd() when waiting for a kernel response.
This allows the same type of race-free handling of signals as kqueue()
allows on NetBSD.  One of the noticeable things is that you can now
interrupt rumprun ping mid-interval on Linux.

per suggestion from Justin Cormack
2014-04-02 14:48:03 +00:00
pooka
cd76e7c732 Always use sysconf() to query host processor count instead of separate
tricks for each platform.
2014-04-02 13:54:42 +00:00
christos
ff9eccbdec add -g to LINTFLAGS 2014-04-01 19:12:37 +00:00
dholland
120fd4cb9a add "move gethostbyname to a compat library" to the list of things to do
on the mythical libc bump
2014-03-29 19:30:12 +00:00
wiz
59200c73fc Remove trailing whitespace. Merge EINVAL entries. 2014-03-28 15:35:55 +00:00
degroote
b45684b49b Document a bit CLOCK_VIRTUAL and CLOCK_PROF 2014-03-28 15:03:41 +00:00
joerg
47a96e3a4d _Unwind_GetLanguageSpecificData is supposed to return a _Unwind_Ptr.
This makes a difference on M68K as it uses a different register for
integer vs pointer values.
2014-03-24 21:26:01 +00:00
martin
6d0fe06315 Avoid strict aliasing problems 2014-03-23 15:26:47 +00:00
pooka
0ab0c8a502 fix name of HAVE_PTHREAD_SETNAME_3 2014-03-21 16:03:35 +00:00
pooka
fe7fe5876f fix braces 2014-03-21 16:03:07 +00:00
pooka
bc215c110d use a probe result to decide which pthread_setname_np() to use 2014-03-21 12:28:54 +00:00
pooka
fa5f7ef47e set threadname for correct pthread_t 2014-03-21 12:07:10 +00:00
christos
13ec391985 CID 273814, don't confuse coverity. 2014-03-20 17:25:23 +00:00
uwe
66df54162c On sh3 __udivsi3 is gcc "millicode" with special calling convention
(less registers clobbered than usual).  Each DSO that needs it gets
its own hidden copy from libgcc.a.  Do not compile udivsi3.c for sh3
here since this C version doesn't conform to what gcc expects and
overrides the libgcc.a version.

This makes binaries compiled with gcc4.8 work.  The issue was not
exposed with gcc4.5 since it uses different division strategy by
default.
2014-03-19 20:30:53 +00:00
dsl
3a9ebe222a Change 'i0' to be signed so that the sign bit is preserved on 'k'
and the code at the bottom splits the multiply.
Fixes denormal results.
This might have been introduced when I deferred shifting 'k' left.
2014-03-18 21:52:19 +00:00
riastradh
6cb10275d0 Merge riastradh-drm2 to HEAD. 2014-03-18 18:20:35 +00:00
christos
e2ecf243c3 fix memory leak
XXX: pullup 6
2014-03-17 13:24:23 +00:00
dsl
0f547b99f1 Simplify somewhat: this is C not FORTRAN-IV - we have structures!
Directly us 'ieee_double_shape_type' when ripping apart the fp number
  to avoid an extra store-load in 'STRICT_ASSIGN'.
Keep 'k' as the exponent, only do 'k << 20' when generating the fp number
  from it.
Fix infinity and underflow returns on i386 - because the value is returned
  in %st0 (x87 stack) we have to generate a long double error value.
The returned value for integers -1023 and below (which should be denormal
  fp valuesr) are 'just plain wrong' (tm).
2014-03-16 22:44:48 +00:00
dsl
ec1660cff5 Fix overflow and underflow on i386.
The return value of a 'float' function is in the x87 %st(0) register.
This is an 80bit 'long double' register.
If you multiply 0x1p100f by 0x1p100f the caller sees 0x1p200 - not the
  expected infinity.
So use a 'double' value which goes through a store-load sequence to generate
  the required exception and value.
2014-03-16 22:30:43 +00:00
joerg
39f1409e2e __do_global_ctors_aux and __do_global_ctors_aux must be used locally, so
mark them as hidden.
2014-03-16 11:41:30 +00:00
njoly
61d6bfec15 Do not use uninitialized pointer if posix_memalign() fails. 2014-03-16 10:23:59 +00:00
martin
16e71f2a62 Add roundl() 2014-03-16 10:02:27 +00:00
martin
d30e39112d Provide all missing variants of trunc/floor/ceil. 2014-03-16 09:51:39 +00:00