Joseph Myers
5556231db2
Remove trailing whitespace in ports.
2013-06-05 20:26:40 +00:00
Siddhesh Poyarekar
b937534868
Avoid crashing in LD_DEBUG when program name is unavailable
...
Resolves : #15465
The program name may be unavailable if the user application tampers
with argc and argv[]. Some parts of the dynamic linker caters for
this while others don't, so this patch consolidates the check and
fallback into a single macro and updates all users.
2013-05-29 21:34:12 +05:30
Joseph Myers
b50a71810b
Don't include expected results in libm-test test names.
2013-05-22 11:49:36 +00:00
Joseph Myers
db62a90753
Handle sincos with generic libm-test logic.
2013-05-19 14:45:41 +00:00
Maciej W. Rozycki
2848b10585
MIPS: soft-fp NaN representation corrections
...
[BZ #15442 ] This adds support for the inverse interpretation of the
quiet bit of IEEE 754 floating-point NaN data that some processors
use. This includes in particular MIPS architecture processors; the
payload used for the canonical qNaN encoding is updated accordingly
so as not to interfere with the quiet bit.
2013-05-16 23:33:55 +01:00
Ryan S. Arnold
e054f49430
Add #include <stdint.h> for uint[32|64]_t usage (except installed headers).
2013-05-16 11:32:54 -05:00
Thomas Schwinge
572676160d
New <math.h> macro named issignaling to check for a signaling NaN (sNaN).
...
It is based on draft TS 18661 and currently enabled as a GNU extension.
2013-04-02 13:51:02 +02:00
Thomas Schwinge
67e971f18f
Better distinguish between NaN/qNaN/sNaN.
2013-03-15 19:06:02 +01:00
Maciej W. Rozycki
43301bd3c2
Add support for building as MIPS16 code.
2013-02-27 23:45:07 +00:00
Thomas Schwinge
50022a93fc
Respect the user's namespace in installed header files.
...
Fixup for commit c7b275d6b3
.
2013-02-20 18:51:56 +01:00
Thomas Schwinge
c7b275d6b3
bits/nan.h: Change __attribute_used__ to __attribute__ ((unused)).
2013-02-20 16:49:58 +01:00
Thomas Schwinge
72f0ffdcbe
Add missing __attribute_used__.
...
Generic IEEE 754 file has been changed in commit
b575c52b86
.
2013-02-20 16:48:56 +01:00
Thomas Schwinge
2636ffe654
Align to generic file.
2013-02-20 16:48:56 +01:00
Joseph Myers
aea7a9b9d2
Add CFI information for MIPS assembly sources.
2013-02-11 18:19:14 +00:00
Joseph Myers
a6ee178332
Use ENTRY and END in more MIPS .S files.
2013-02-08 02:03:10 +00:00
Steve Ellcey
c6af74e473
2013-01-25 Steve Ellcey <sellcey@mips.com>
...
* sysdeps/mips/memmove.c: Remove.
2013-01-25 16:11:40 -08:00
Steve Ellcey
b13c7b55ed
Fix trailing blank.
2013-01-08 14:41:24 -08:00
Steve Ellcey
d9014c080a
2013-01-08 Steve Ellcey <sellcey@mips.com>
...
* sysdeps/mips/memcpy.S: Change prefetch hint, reorder partial
loads and stores, set and use MAX_PREFETCH_SIZE.
2013-01-08 14:40:28 -08:00
Joseph Myers
568035b787
Update copyright notices with scripts/update-copyrights.
2013-01-02 19:05:09 +00:00
Joseph Myers
f4cf5f2d8b
Add script to update copyright notices and reformat some to facilitate its use.
2013-01-01 16:29:10 +00:00
Joseph Myers
0993dd9b0c
Fix warnings from MIPS soft-float _FPU_GETCW.
2012-12-04 22:07:03 +00:00
Joseph Myers
8018f81bde
Update MIPS libm-test-ulps.
2012-11-30 20:35:34 +00:00
Joseph Myers
1672585fc1
Add 64-bit support to MIPS register-dump.h (bug 14893).
2012-11-29 23:03:48 +00:00
Joseph Myers
c3151ad100
Cast to uintptr_t in MIPS jmpbuf-unwind.h.
2012-11-21 16:41:57 +00:00
Joseph Myers
e0ba0e189a
Add sotruss-lib.c for MIPS.
2012-11-21 02:29:29 +00:00
Joseph Myers
aa099ade81
Fix int-to-pointer-cast warnings for MIPS.
2012-11-20 02:40:12 +00:00
Joseph Myers
bd077d205a
Fix warnings from aborting MIPS atomic macros.
2012-11-20 00:56:29 +00:00
Joseph Myers
c9c253d372
Fix unused-variable warnings from MIPS RESOLVE_GOTSYM macro.
2012-11-20 00:00:35 +00:00
Joseph Myers
018f9a78d3
Fix "set but not used" warnings from MIPS bits/atomic.h.
2012-11-17 03:35:27 +00:00
Maxim Kuvyrkov
19218757e6
Use memcpy in memmove when possible
2012-11-06 17:47:55 -08:00
Joseph Myers
5b5b04d628
Make fma use of Dekker and Knuth algorithms use round-to-nearest (bug 14796).
2012-11-03 19:48:53 +00:00
Joseph Myers
fbeafedeea
Make fenv.h FE_* macros usable in #if (bug 3439).
2012-11-03 17:07:56 +00:00
Steve Ellcey
84097ebac3
Remove 'Contributed' line, glibc is not using them anymore.
2012-10-31 13:03:45 -07:00
Steve Ellcey
d002339920
Remove trailing white spaces.
2012-10-31 10:39:48 -07:00
Steve Ellcey
e6ff7f84f7
2012-10-31 Steve Ellcey <sellcey@mips.com>
...
* sysdeps/mips/memcpy.S: Add prefetching and more unrolling, make
it work in 32 or 64 bit modes.
* sysdeps/mips/mips64/memcpy.S: Remove.
2012-10-31 10:38:17 -07:00
Joseph Myers
2a27fd6dae
Fix strtod handling of underflow (bug 14047).
2012-10-30 13:51:27 +00:00
Steve Ellcey
8f565a27ed
2012-10-03 Steve Ellcey <sellcey@mips.com>
...
* sysdeps/mips/ieee754.h: Move to...
* sysdeps/mips/ieee754/ieee754.h: Here.
* sysdeps/mips/mips32/Implies: Add mips/ieee754.
* sysdeps/mips/mips64/Implies: Ditto.
* sysdeps/mips/mips64/n32/Implies: Ditto.
* sysdeps/mips/mips64/n64/Implies: Ditto.
2012-10-03 14:32:26 -07:00
Steve Ellcey
05088f14d6
2012-10-03 Steve Ellcey <sellcey@mips.com>
...
* sysdeps/mips/ieee754.h: Move to...
* sysdeps/mips/ieee754/ieee754.h: Here.
* sysdeps/mips/mips32/Implies: Add mips/ieee754.
* sysdeps/mips/mips64/Implies: Ditto.
* sysdeps/mips/mips64/n32/Implies: Ditto.
* sysdeps/mips/mips64/n64/Implies: Ditto.
2012-10-03 14:31:00 -07:00
Roland McGrath
93c65d4384
Clean up init-first.c files.
2012-10-01 12:55:34 -07:00
H.J. Lu
4ff2d4c2f6
Remove mips VERSYMIDX macro definition
2012-09-28 11:31:18 -07:00
Guido Guenther
89570c6269
mips: clear condition bit 23 in fpu too
...
We've been carrying this in Gentoo for quite a long time to fix some test
failures that people hit.
Original message:
> make[4]: *** [/glibc/glibc-package-2.3/mips-linux/obj/math/test-fpucw.out] Error 1
This test fails since the read back fpu control word is 0x80000 instead
of 0x0. I wonder if this patch is correct:
...
which additionally masks out the condition bit 23 - note that the other
condition bits (25-31) are masked out too?
URL: http://sourceware.org/ml/libc-alpha/2002-10/msg00392.html
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-08-27 12:41:28 -04:00
Carlos O'Donell
30f696374d
Fifth argument of la_pltenter() is not constant.
...
The original runtime linker auditing interface described
by Solaris allows the 5th argument of la_pltenter() to be
modified. This patch cleans up the ldsodefs.h definitions
such that the 5th argument is not constant.
At one point the 5th argument *was* constant but this was
changed with commit 2413fdba7a
.
This patch updates alpha, ia64, mips, sh and sparc with similar
changes.
2012-08-16 08:41:05 -07:00
Maxim Kuvyrkov
ef4009734b
Add generic versions of pthread_spin_lock and pthread_spin_trylock.
2012-08-15 16:29:06 -07:00
Joseph Myers
5544c7e000
Update MIPS dl-lookup.c from generic version.
2012-08-15 09:49:07 +00:00
Maxim Kuvyrkov
8f12da9795
Add explicit acquire/release semantics to MIPS' atomic_exchange_and_add.
2012-08-13 19:55:34 -07:00
Steve Ellcey
b290216f09
Fix MIPS PREF/PREFX macro definitions in empty case.
2012-08-01 15:11:43 +00:00
Joseph Myers
ef1354a5fe
Remove TLS configure check for MIPS.
2012-07-17 22:48:57 +00:00
Maxim Kuvyrkov
a766fb45a3
Rewrite MIPS' atomic.h to use __atomic_* builtins.
2012-07-11 16:47:58 -07:00
Petar Jovanovic
76b1f93b04
Do not store data below the stack pointer on MIPS.
2012-07-06 19:12:21 +00:00
Joseph Myers
e64ac02c24
Move all files into ports/ subdirectory in preparation for merge with glibc
2012-07-01 13:06:41 +00:00