Commit Graph

17128 Commits

Author SHA1 Message Date
martin
89434fa764 Provide copysignf and copysignl 2014-03-15 12:20:09 +00:00
dsl
092f718fed There is some very odd code in s_exp2.c that only works if 'double'
values are rounded to 53 bit mantissa in teh x87 registers.
This hasn't been true since Nov 11 2013.
Forcing a store-load for 'double' in STRICT_ASSIGN() seems to fix things
  (at least enough for the few random test cases).
I suspect the code could be changed so that the number of mantissa bits
  didn't matter.
2014-03-14 22:21:31 +00:00
cherry
27f396ba32 Add crtstuff for ia64. Compile tested only 2014-03-14 18:15:02 +00:00
justin
54d90457f6 If dlopen returns NULL assume we are statically linked and return,
rather than getting a warning when dlinfo fails.
2014-03-14 01:18:39 +00:00
pooka
300f37afc0 Do not process linkmaps if there is exactly one link map present
(i.e. there is no ld.so).  Makes statically linked rump kernels work on
glibc (at least for me).

based on some discussion with Justin Cormack
2014-03-13 11:21:54 +00:00
martin
7a17404a6d XXX This is all wrong and needs new tables and constants - but at least use
constants in the VAX double range for now, so it is compilable with newer
gcc.
2014-03-12 19:42:18 +00:00
wiz
4e760575d6 Remove trailing whitespace. 2014-03-12 18:17:06 +00:00
dholland
1e9d60e3bf typo 2014-03-12 07:32:46 +00:00
pooka
43925050d7 rump_pub_getversion -> rump_getversion 2014-03-10 22:47:27 +00:00
justin
cf83766ecf Revert conversion to __thread as breaks on archs without TLS support 2014-03-10 22:37:51 +00:00
justin
587ef2949a Use __thread rather than pthread_getspecific for rumpuser curlwp.
This has better performance and curlwp is a performance bottleneck
in rump kernel code.
2014-03-09 23:01:11 +00:00
christos
bb5309eeb0 another libelf instance 2014-03-09 21:37:37 +00:00
christos
0c84150c90 switch to the elftoolchain code. 2014-03-09 17:09:20 +00:00
matt
1de2b6f186 This is no different from the 32bit powerpc one.
Remove the redundancy.
2014-03-07 07:26:42 +00:00
matt
2a0cd0801f these are obsolete. Now using the common powerpc files in csu/arch/powerpc. 2014-03-07 07:23:49 +00:00
christos
9669e36fb7 reduce diffs with other copies of this code. 2014-03-07 01:07:01 +00:00
christos
32a8f22f2c Fix incorrect overflow test: https://android-review.googlesource.com/#/c/50570/ 2014-03-07 01:00:58 +00:00
matt
f99069ca40 Use _XENTRY 2014-03-06 19:05:59 +00:00
skrll
1b5cff8f1d Move to a flat space register convention. %sr[4-7] are all now the space
number allocated to the process.  gcc produces (slightly) better code
with this convention.

Retain backwards compatiblity.

Welcome to 6.99.36
2014-03-06 19:02:58 +00:00
martin
ed95e9602b Include new/missing files for vax 2014-03-06 11:01:16 +00:00
martin
74530a2d26 Provide sqrtl alias 2014-03-06 11:00:17 +00:00
martin
f03b314bc0 Simple tanf() for vax 2014-03-06 10:59:52 +00:00
martin
ea3fa8f391 Simplistic tanhf() for vax 2014-03-06 10:59:00 +00:00
martin
96c6725640 Simplistic log1pf() for vax 2014-03-06 10:58:26 +00:00
martin
ae998fcbfa log10f() for vax 2014-03-06 10:57:44 +00:00
martin
d408a8629c log2() for vax 2014-03-06 10:57:01 +00:00
martin
13958f72dc Add brute-force adaptions of the ieee version of exp2() and exp2f for
vax. Needs some polishing (and table adaption), but should get the build
going for now.
2014-03-06 10:55:57 +00:00
joerg
6ccf4859e4 Add GENASSYM_CPPFLAGS in two more places. 2014-03-04 17:57:56 +00:00
joerg
9c3fd52490 Introduce GENASSYM_CPPFLAGS for options during genassym processing.
Consistently drop assembler flags.
2014-03-04 14:58:14 +00:00
matt
c1987519cf #include <m68k/m68k.h> 2014-03-04 06:38:08 +00:00
matt
94c30368e1 The fixuns* come from compiler_rt so softfloat doesn't need to provide them. 2014-03-04 06:30:40 +00:00
matt
c479ba2f5a Avoid a warning and just do the trap #1 instead of calling sigreturn inline.
If it fails, it'll fall into the botch case so don't bother calling CERROR
on failure.
2014-03-04 06:27:00 +00:00
pooka
98974ef8eb add man page for rumpfs 2014-03-03 18:27:20 +00:00
dsl
77e93a9cb9 Drop in a fabs() after the fsqrt().
While it may seem pointless, it the rouding mode is set to round towards
minus infinity then acos(-1) calculates atan2(sqrt(1.0 - 1.0), -1) the subtract
generates -0.0 which sqrt() preserves.
atan2(-0, -1) is -pi, but acos(-1) is expected to be +pi.
This might 'fix' the test failures seen in some environments, but they
are not failing due to an obvously incorrent x87 rounding mode.
2014-03-03 08:00:50 +00:00
matt
e0c9b05e1a Change remaining "MACHINE_ARCH" to "LIBC_MACHINE_ARCH" 2014-03-02 03:04:52 +00:00
pooka
8a7d14d1c2 Fix locking SNAFU.
Is someone can explain why the code worked for 3+ years with multiple
different pthread implementations, I'll buy you a banana.
2014-02-28 13:55:36 +00:00
blymn
0d7a04cd28 Fix reversed logic in the notimeout call.
Fix obsolete email addresses in copyright.
2014-02-28 07:58:42 +00:00
matt
22332fd4bf Use _ENTRY 2014-02-27 18:11:08 +00:00
joerg
0d337fe4e9 Remove tautological check. 2014-02-27 18:09:38 +00:00
matt
96ed0d69f5 Use the CALL() macro. 2014-02-27 18:01:51 +00:00
matt
a877c70108 Add powerpc64 support 2014-02-27 16:47:48 +00:00
uwe
c83f85c76a G/c old unused sh3 csu. Requested by joerg@ 2014-02-27 02:14:27 +00:00
joerg
a48c968746 Update compiler-rt glue for the new source layout. 2014-02-26 22:37:55 +00:00
martin
fb526759de Make the .note section mergable and set proper "item" length.
XXX seems to be impossible to do that with gas w/o causing a (bogus)
warning - but the resulting object file is fine.
2014-02-26 14:54:50 +00:00
christos
0680d7215e Add missing EL_REFRESH 2014-02-26 13:50:29 +00:00
mrg
afa90f2bf5 prepare for moving GCC 4.5 into gcc.old:
- convert to using ${EXTERNAL_GCC_SUBDIR}
- define base-external-gpl3-gcc* subdir as GCC_SUBDIR
- use <bsd.init.mk> over <bsd.own.mk> for a bunch of places; mostly
  because it arranges for ../Makefile.inc to be included earlier, and
  don't bother including the latter if the former is already included.
- move all .PATH: settings after <bsd.{own,lib}.mk> so that all
  valid variables are set before it is evaluated
- rename mknative-gcc* to match their subdir name.

XXX the relationship between the Makefile.inc/Makefile.gcc_path files
    is kind of sketchy, it would be great if this was fixed.
2014-02-26 09:54:32 +00:00
pooka
94265f339d Use MAP_ANON|MAP_PRIVATE for anonymous memory mapping,
e.g. Linux gets upset if just MAP_ANON.
2014-02-26 02:03:40 +00:00
pooka
a2867970a4 emulate printflike properly to avoid fatal error on clang 2014-02-25 20:58:18 +00:00
martin
b67fdf35da Powerpc seems to expect minimum 8 byte alignment from malloc as well. 2014-02-25 12:13:19 +00:00
dholland
56052b0a66 pipe2 requires fcntl.h for its flags; PR 48614 from Steffen Daode Nurpmeso.
Also fix the wording for EINVAL as suggested by Robert Elz.
2014-02-22 17:26:41 +00:00