Commit Graph

99 Commits

Author SHA1 Message Date
Chris Metcalf
f737a641b6 tile: update libm-test-ulps for new tests 2012-09-17 14:57:49 -04:00
Richard Henderson
01e80428f7 alpha: Streamline __setfpucw
The convert_bit macro allows the compiler to translate the bit
positions more efficiently.  The assumption of only running at
program startup allows eliding the __ieee_get_fp_control call.
2012-09-13 13:13:22 -07:00
Richard Henderson
c899d15cbd alpha: Update localplt.data 2012-09-13 13:13:22 -07:00
Richard Henderson
758610860b alpha: Update ulps 2012-09-13 13:13:22 -07:00
Richard Henderson
361818d502 alpha: Add get-rounding-mode.h 2012-09-13 07:35:26 -07:00
Richard Henderson
b2d36dda9b alpha: Work around gcc 4.8 aliasing difference/bug 2012-09-12 17:18:25 -07:00
Joseph Myers
6c9b0f6826 Make strtod respect the rounding mode (bug 14518). 2012-09-12 23:36:19 +00:00
Chris Metcalf
48bac3debb tile: fix type of prfpregset_t in <sys/procfs.h>
The previous dummy definition (as type int) was fine in general, since
tile doesn't have floating-point registers, but it confused gdb's
configure, leading to later compile errors.  This change also makes
prfpregset_t parallel to prgregset_t, which seems like generally the
right thing regardless of the non-existence of the actual registers :-)
2012-09-06 11:43:56 -04:00
Chris Metcalf
9207320187 tile: Add BZ to Changelog and update NEWS 2012-09-06 11:37:07 -04:00
Chris Metcalf
053406fa70 tile: BZ#14237: fix __tls_get_addr bug initializing new modules
We were missing a check for TLS_DTV_UNALLOCATED; if set, we need
to go to the slow path.
2012-09-06 11:25:04 -04:00
Joseph Myers
ad845c0be9 Remove __ASSUME_STAT64_SYSCALL. 2012-08-27 19:36:04 +00: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
Mike Frysinger
563c840564 alpha: add conditional fdatasync support
While most arches have had the fdatasync syscall for a long time, the
alpha port didn't add it until the 2.6.22 release.

This is heavily based on Aurelien Jarno's initial work.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-08-27 12:16:28 -04:00
Steve McIntyre
d3bafbc98e Check floating-point ABI in ARM VALID_ELF_HEADER. 2012-08-23 20:38:25 +00:00
Joseph Myers
eaeffd07f7 Clean up MIPS stat64 handling. 2012-08-22 21:03:12 +00:00
Joseph Myers
0e1d99119e Remove __ASSUME_FADVISE64_64_SYSCALL. 2012-08-21 21:07:22 +00:00
Joseph Myers
348363b2c3 Remove __ASSUME_MMAP2_SYSCALL. 2012-08-20 14:37:27 +00: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
309becf120 Optimize __libc_lock_lock and __libc_lock_trylock for MIPS. 2012-08-15 16:44:30 -07:00
Maxim Kuvyrkov
ef4009734b Add generic versions of pthread_spin_lock and pthread_spin_trylock. 2012-08-15 16:29:06 -07:00
Roland McGrath
fdd3affb97 Rename ARM bits/atomic.h not to be specific to nptl add-on. 2012-08-15 09:40:28 -07:00
Roland McGrath
f3bdd5f843 Separate ARM bits/atomic.h into generic and Linux-specific files. 2012-08-15 09:40:28 -07:00
Joseph Myers
5544c7e000 Update MIPS dl-lookup.c from generic version. 2012-08-15 09:49:07 +00:00
Mike Frysinger
9770df4f12 arm: fix up style in reloc fix
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-08-14 21:38:15 -04:00
Mike Frysinger
d427a4f8a4 ia64: drop HAVE_CPP_ASM_DEBUGINFO
Looks like a wart copied from the i386 code base.  The only place I can
find that checks this is the i386 sysdep.h, and even then this looks like
a check that should get thrown away as obsolete ...

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-08-14 21:37:00 -04:00
Joseph Myers
f2c05b9ecf Remove __ASSUME_CLONE_THREAD_FLAGS. 2012-08-14 22:34:04 +00:00
Maxim Kuvyrkov
8f12da9795 Add explicit acquire/release semantics to MIPS' atomic_exchange_and_add. 2012-08-13 19:55:34 -07:00
Richard Henderson
cc184e11fe alpha: Don't test toolchain support for TLS or GPREL 2012-08-13 18:21:06 -07:00
Richard Henderson
2e33ecdf8c alpha: Fix compat version number for nearbyintl 2012-08-13 18:19:42 -07:00
Mike Frysinger
a107920668 ia64: drop TLS configure check
Since we require a new enough version of binutils that has TLS, we don't
need to bother checking for it anymore.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-08-12 15:01:40 -04:00
Mike Frysinger
191ce8ce59 hppa: add missing prlimit64 symbol
All other arches have this in their syscall list.  Looks like hppa
is missing it though and breaks one or two apps that try to call it.

URL: https://bugs.gentoo.org/411745
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-08-12 14:53:07 -04:00
Mike Frysinger
86e1477c1a ia64: drop ASM_TYPE_DIRECTIVE usage
Matches what we've done in the rest of the tree.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-08-12 14:49:55 -04:00
Mike Frysinger
3447612d3c arm: handle unaligned ABS relocs
When relocating a misaligned R_ARM_ABS32, glibc currently crashes.

URL: https://bugs.gentoo.org/394237
URL: http://gcc.gnu.org/PR51456
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-08-12 14:49:45 -04:00
Joseph Myers
121dce05fe Move Linux kernel version conditionals to kernel-features.h. 2012-08-10 15:53:27 +00:00
Andreas Schwab
2d83a317e9 m68k: fix type of pltenter member in audit interface 2012-08-10 15:22:44 +02:00
Roland McGrath
2aa5b9c146 Make ARM setjmp/longjmp respect ARM_ASSUME_NO_IWMMXT macro. 2012-08-09 16:37:50 -07:00
Joseph Myers
7f54025287 Define __ASSUME_UTIMES for MIPS. 2012-08-09 23:33:41 +00:00
Roland McGrath
6dcf80c782 Avoid VFP HWCAP check in setjmp/longjmp and getcontext/setcontext when compiled without __SOFTFP__ defined. 2012-08-09 11:51:05 -07:00
Roland McGrath
a4ca519518 Don't check HWCAP_ARM_VFP in OS-generic code.
Presume VFP if compiled without __SOFTFP__ defined.
2012-08-09 10:04:56 -07:00
Roland McGrath
76de109437 Add sotruss-lib support for ARM. 2012-08-08 16:27:51 -07:00
Joseph Myers
b36137f1d6 Remove __ASSUME_TGKILL. 2012-08-08 23:22:53 +00:00
Roland McGrath
44c94c1da0 Add a const in arm_gnu_pltexit signature. 2012-08-08 14:57:07 -07:00
Roland McGrath
92142c0cfd ARM: fix build breakage from sysdeps/unix/sysv/linux/arm/dl-machine.h addition. 2012-08-08 14:19:57 -07:00
Roland McGrath
69a14aa487 Fiddle ARM atomic.h to avoid -Wvolatile-register-var warnings. 2012-08-08 13:57:50 -07:00
Roland McGrath
7f3e1ad05f Add missing #include for sysdeps/arm/dl-irel.h. 2012-08-08 13:16:54 -07:00
Roland McGrath
9b5281b65e Fix __dl_start declaration to avoid warning. 2012-08-08 11:03:47 -07:00
Richard Henderson
5afee2dc60 alpha: Purge __ASSUME_IEEE_RAISE_EXCEPTION 2012-08-08 07:45:21 -07:00
Richard Henderson
6ee732b7cd alpha: Tidy up ieee_get/set_fp_control syscalls 2012-08-08 07:44:19 -07:00
Richard Henderson
6360984bc3 alpha: Purge __ASSUME_STAT64_SYSCALL 2012-08-08 07:43:27 -07:00
Andreas Schwab
3381e4ff2d m68k/cf: define __signbit/__signbitf as inlines 2012-08-08 12:13:57 +02:00