Joseph Myers [Wed, 30 May 2012 23:44:17 +0000 (23:44 +0000)]
Move MIPS ABI settings out of conditional.
Richard Henderson [Wed, 30 May 2012 23:37:43 +0000 (16:37 -0700)]
alpha: Update libm-test-ulps
Richard Henderson [Wed, 30 May 2012 23:09:11 +0000 (16:09 -0700)]
alpha: Remove __connect_internal alias
Richard Henderson [Wed, 30 May 2012 22:54:49 +0000 (15:54 -0700)]
alpha: Avoid fgets plt entry
And since the FILE is function local, avoid locking too.
Richard Henderson [Wed, 30 May 2012 22:52:06 +0000 (15:52 -0700)]
alpha: Use dbl-64/wordsize-64
Richard Henderson [Wed, 30 May 2012 22:49:01 +0000 (15:49 -0700)]
alpha: Use dynamic rounding with sqrt insn
Joseph Myers [Wed, 30 May 2012 23:03:43 +0000 (23:03 +0000)]
Remove __connect_internal alias for MIPS.
Joseph Myers [Wed, 30 May 2012 23:03:16 +0000 (23:03 +0000)]
Remove __connect_internal alias for ARM.
Andreas Schwab [Wed, 30 May 2012 20:54:28 +0000 (22:54 +0200)]
m68k: remove __ASSUME_TRUNCATE64_SYSCALL
Andreas Schwab [Wed, 30 May 2012 20:52:35 +0000 (22:52 +0200)]
m68k: use hidden_def for __pthread_once
Joseph Myers [Wed, 30 May 2012 21:35:48 +0000 (21:35 +0000)]
Define FP_TRAPPING_EXCEPTIONS and remove FP_EX_DENORM for powerpc-nofpu.
Joseph Myers [Wed, 30 May 2012 21:35:11 +0000 (21:35 +0000)]
Define FP_TRAPPING_EXCEPTIONS for MIPS.
Joseph Myers [Wed, 30 May 2012 21:16:52 +0000 (21:16 +0000)]
Regenerate ARM libm-test-ulps.
Chris Metcalf [Wed, 30 May 2012 20:52:36 +0000 (16:52 -0400)]
tile: don't guard setting abi- variables with ifeq ($(subdir),misc)
Chris Metcalf [Wed, 30 May 2012 18:56:14 +0000 (14:56 -0400)]
tile: add default-abi variables for tilegx
Joseph Myers [Wed, 30 May 2012 18:55:55 +0000 (18:55 +0000)]
Support sharing ARM headers for hard and soft float.
Richard Henderson [Wed, 30 May 2012 18:21:12 +0000 (11:21 -0700)]
alpha: Update copyright dates
Richard Henderson [Wed, 30 May 2012 18:15:58 +0000 (11:15 -0700)]
alpha: Use hidden_def for pthread_once
Richard Henderson [Wed, 30 May 2012 18:13:33 +0000 (11:13 -0700)]
alpha: Purge __ASSUME_TIMEVAL64
Chris Metcalf [Wed, 30 May 2012 17:14:50 +0000 (13:14 -0400)]
tile: update libm-test-ulps
Chris Metcalf [Wed, 30 May 2012 17:14:28 +0000 (13:14 -0400)]
tile: support biarch tilegx with a new tilegx Makefile
Chris Metcalf [Wed, 30 May 2012 16:22:59 +0000 (12:22 -0400)]
tile: Use hidden_def for pthread_once
Chris Metcalf [Wed, 30 May 2012 16:19:21 +0000 (12:19 -0400)]
tile: remove __ASSUME_NEW_GETRLIMIT_SYSCALL, __ASSUME_TRUNCATE64_SYSCALL
Joseph Myers [Wed, 30 May 2012 15:58:45 +0000 (15:58 +0000)]
Update MIPS for syscall-list changes.
Joseph Myers [Wed, 30 May 2012 14:53:56 +0000 (14:53 +0000)]
Remove __ASSUME_TRUNCATE64_SYSCALL for ARM.
Joseph Myers [Wed, 30 May 2012 10:07:11 +0000 (10:07 +0000)]
Remove SJLJ exceptions conditionals for ARM.
Joseph Myers [Wed, 30 May 2012 09:58:18 +0000 (09:58 +0000)]
Replace __pthread_once_internal alias by hidden_def for MIPS.
Joseph Myers [Wed, 30 May 2012 09:57:22 +0000 (09:57 +0000)]
Replace __pthread_once_internal alias by hidden_def for ARM.
Joseph Myers [Sat, 26 May 2012 20:13:48 +0000 (20:13 +0000)]
Add mips32 versions of otherwise empty ABI baselines.
Joseph Myers [Sat, 26 May 2012 19:06:08 +0000 (19:06 +0000)]
Update ARM for removal of m68k chown.c.
Andreas Schwab [Fri, 25 May 2012 23:01:25 +0000 (01:01 +0200)]
m68k: remove __ASSUME_NEW_GETRLIMIT_SYSCALL
Andreas Schwab [Fri, 25 May 2012 21:57:48 +0000 (23:57 +0200)]
m68k: remove pre-2.4 Linux kernel support for chown
Joseph Myers [Fri, 25 May 2012 22:31:59 +0000 (22:31 +0000)]
Remove __ASSUME_NEW_GETRLIMIT_SYSCALL for ARM.
Joseph Myers [Fri, 25 May 2012 19:21:15 +0000 (19:21 +0000)]
Update MIPS kernel-features.h for removal of __ASSUME_32BITUIDS.
Richard Henderson [Fri, 25 May 2012 16:07:05 +0000 (12:07 -0400)]
arm: Pass hwcap to ifuncs.
* sysdeps/arm/dl-irel.h (elf_ifunc_invoke): Pass dl_hwcap.
* sysdeps/arm/dl-machine.h (elf_machine_rel): Use elf_ifunc_invoke.
(elf_machine_rela): Likewise.
Mike Frysinger [Fri, 25 May 2012 05:16:04 +0000 (01:16 -0400)]
ia64: add getauxval to abilist
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Fri, 25 May 2012 00:23:18 +0000 (20:23 -0400)]
ia64: mman.h: define MADV_DO{,NT}DUMP
Add new types from linux-3.4.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Richard Henderson [Thu, 24 May 2012 20:43:53 +0000 (13:43 -0700)]
alpha: Add abilist files.
Richard Henderson [Thu, 24 May 2012 20:20:56 +0000 (13:20 -0700)]
alpha: Re-add imaxdiv.
Richard Henderson [Thu, 24 May 2012 18:45:13 +0000 (11:45 -0700)]
alpha: Remove __ASSUME_32BITUIDS.
Richard Henderson [Thu, 24 May 2012 15:59:42 +0000 (08:59 -0700)]
alpha: Update bits/mman.h.
Mike Frysinger [Wed, 16 May 2012 04:46:38 +0000 (00:46 -0400)]
ia64: update pthread_attr_t handling in bits/siginfo.h
This matches the changes made to the common bits/siginfo.h file.
Reported-by: Joseph Myers <joseph@codesourcery.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Steve Ellcey [Wed, 23 May 2012 18:48:24 +0000 (18:48 +0000)]
Use -D options in building MIPS syscall.h.
Andreas Schwab [Wed, 23 May 2012 16:13:29 +0000 (18:13 +0200)]
m68k: define MADV_DONTDUMP and MADV_DODUMP
Chris Metcalf [Wed, 23 May 2012 12:20:12 +0000 (08:20 -0400)]
tile: Define MADV_DONTDUMP and MADV_DODUMP
Joseph Myers [Wed, 23 May 2012 10:23:26 +0000 (10:23 +0000)]
Define MADV_DONTDUMP and MADV_DODUMP for MIPS.
Joseph Myers [Wed, 23 May 2012 10:22:42 +0000 (10:22 +0000)]
Define MADV_DONTDUMP and MADV_DODUMP for ARM.
Chris Metcalf [Tue, 22 May 2012 13:54:21 +0000 (09:54 -0400)]
tile: Update ULPs for ccos, csin, ccosh, csinh tests
Chris Metcalf [Tue, 22 May 2012 13:20:35 +0000 (09:20 -0400)]
tile: Rename __WORDSIZE_COMPAT32 to __WORDSIZE_TIME64_COMPAT32
Chris Metcalf [Tue, 22 May 2012 13:19:53 +0000 (09:19 -0400)]
tile: Update ABI baselines for getauxval
Joseph Myers [Mon, 21 May 2012 21:23:10 +0000 (21:23 +0000)]
Rename __WORDSIZE_COMPAT32 to __WORDSIZE_TIME64_COMPAT32 for MIPS.
Andreas Schwab [Mon, 21 May 2012 19:18:45 +0000 (21:18 +0200)]
m68k: properly implement logbl for Motorola extended float
Andreas Schwab [Mon, 21 May 2012 15:37:13 +0000 (17:37 +0200)]
m68k: update libc.abilist
Joseph Myers [Mon, 21 May 2012 18:56:03 +0000 (18:56 +0000)]
Remove __fe_nomask_env from powerpc-nofpu ABI.
Joseph Myers [Mon, 21 May 2012 10:45:52 +0000 (10:45 +0000)]
Update ARM hwcap code.
Joseph Myers [Mon, 21 May 2012 09:52:18 +0000 (09:52 +0000)]
Update powerpc-nofpu ABI baselines for getauxval.
Joseph Myers [Mon, 21 May 2012 09:51:58 +0000 (09:51 +0000)]
Update MIPS ABI baselines for getauxval.
Joseph Myers [Mon, 21 May 2012 09:51:16 +0000 (09:51 +0000)]
Update ARM ABI baseline for getauxval.
Richard Henderson [Sun, 20 May 2012 17:45:51 +0000 (10:45 -0700)]
alpha: Rename *.s to *.S
Joseph Myers [Sat, 19 May 2012 21:24:17 +0000 (21:24 +0000)]
Remove more obsolete ARM code.
Joseph Myers [Sat, 19 May 2012 19:10:13 +0000 (19:10 +0000)]
Clean up MIPS ftruncate64/truncate64.
Joseph Myers [Sat, 19 May 2012 17:56:01 +0000 (17:56 +0000)]
Remove compatibility code for old ARM kernels.
Carlos O'Donell [Sat, 19 May 2012 16:53:28 +0000 (18:53 +0200)]
hppa: Rename all *.s to *.S.
Top-level is removing the rule for *.s, therefore
we change all of our files to *.S. There was no
reason not to use *.S.
Carlos O'Donell [Thu, 17 May 2012 03:50:08 +0000 (05:50 +0200)]
hppa: Use new libgcc_so in shlib-versions.
The version of libcc.so used is now controlled via
shlib-versions.
Chris Metcalf [Fri, 18 May 2012 17:15:53 +0000 (13:15 -0400)]
linux-generic: add __FSWORD_T_TYPE to <bits/typesizes.h>
Richard Henderson [Fri, 18 May 2012 18:48:15 +0000 (11:48 -0700)]
Merge branch 'master' of ssh://sourceware.org/git/glibc-ports
Richard Henderson [Fri, 18 May 2012 18:47:36 +0000 (11:47 -0700)]
alpha: Add localplt data file
Richard Henderson [Fri, 18 May 2012 18:35:03 +0000 (11:35 -0700)]
alpha: Add __SYSCALL_SLONG_TYPE, __SYSCALL_ULONG_TYPE, __FSWORD_T_TYPE
Chris Metcalf [Thu, 17 May 2012 19:18:45 +0000 (15:18 -0400)]
tile: add proper versioning for fegetenv()
Chris Metcalf [Thu, 17 May 2012 18:51:36 +0000 (18:51 +0000)]
tile: support tilegx32 in stackguard-macros.h
Chris Metcalf [Thu, 17 May 2012 18:14:07 +0000 (14:14 -0400)]
tile: fork tilepro and tilegx copies of c++-types-tile-linux-gnu.data
Chris Metcalf [Thu, 17 May 2012 15:31:07 +0000 (11:31 -0400)]
tile: update libm-test-ulps for improved fma() and exp10()
Chris Metcalf [Thu, 17 May 2012 15:27:36 +0000 (11:27 -0400)]
tile: use ieee754/dbl-64 version of fma() and fmaf()
It turns out that even if you stub out the rounding and exception
support and use the ieee754 version, it's still much better than
the generic version that just uses normal multiply and add.
The resulting functions have only 1 ULP of error according to the tests.
Chris Metcalf [Thu, 17 May 2012 13:04:23 +0000 (09:04 -0400)]
Changelog.tile: fix up some formatting issues
Change leading spaces to tab, and merge runs of ChangeLog messages
that were from cmetcalf@tilera.com on the same date.
Chris Metcalf [Wed, 16 May 2012 17:52:36 +0000 (13:52 -0400)]
tilegx32: fix various bugs in setcontext/getcontext/swapcontext
Chris Metcalf [Wed, 16 May 2012 13:39:28 +0000 (09:39 -0400)]
tile: provide a tile-specific sotruss-lib.c override
Chris Metcalf [Wed, 16 May 2012 13:38:48 +0000 (09:38 -0400)]
tile: avoid compiler warning in feraiseexcept() math_private override
Chris Metcalf [Wed, 16 May 2012 13:38:13 +0000 (09:38 -0400)]
tile: add libm-test-ulps
Chris Metcalf [Wed, 16 May 2012 13:37:21 +0000 (09:37 -0400)]
tile: provide __FE_UNDEFINED in <bits/fenv.h>
Joseph Myers [Wed, 16 May 2012 21:19:06 +0000 (21:19 +0000)]
Add powerpc-nofpu ABI baselines.
Chris Metcalf [Wed, 16 May 2012 13:34:38 +0000 (09:34 -0400)]
linux-generic: add header guard for <not-cancel.h>
In general we just try to include <not-cancel.h> once, thus avoiding
any issues with multiple inclusion.
However, the getaddrinfo sources are somewhat tangled, and .c files
include each other to get the final result. Each .c file currently has
its own include of <not-cancel.h>. While you could properly re-factor
this for the case of gai.c, the posix/tst-rfc3484.c tests directly include
one of the sub-files (sysdeps/posix/getaddrinfo.c), and it starts to
feel fragile.
Chris Metcalf [Wed, 16 May 2012 13:32:04 +0000 (09:32 -0400)]
tile: add proper const qualifier for pltexit function pointer field
Chris Metcalf [Wed, 16 May 2012 13:28:31 +0000 (09:28 -0400)]
linux-generic: fix typesizes.h to match recent core changes
Remove __SNSECONDS_T_TYPE; add __SYSCALL_{S,U}LONG_TYPE.
Chris Metcalf [Wed, 16 May 2012 13:24:31 +0000 (09:24 -0400)]
tile: delete now unused file
The latest main tree has split out stackguard-macros.h so we no
longer have to override it with a stub.
Joseph Myers [Wed, 16 May 2012 10:53:31 +0000 (10:53 +0000)]
Declare MIPS stat nanoseconds fields similarly to other architectures.
Joseph Myers [Wed, 16 May 2012 10:38:40 +0000 (10:38 +0000)]
Assume accept4 on ARM for kernels 2.6.36 and later.
Mike Frysinger [Wed, 16 May 2012 03:55:46 +0000 (23:55 -0400)]
ia64: delete now unused file
The latest main tree has split out stackguard-macros.h so we no
longer have to override it with a stub.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Tue, 15 May 2012 00:39:30 +0000 (20:39 -0400)]
ia64: use __aligned__ inside of attributes
Installed headers should always use the forms of attributes with __
prefixes and suffixes, so __attribute__ ((__aligned__ (8))) instead of
the plain "aligned" form, to avoid taking identifiers from the user's
namespace.
URL: http://sourceware.org/bugzilla/show_bug.cgi?id=14109
Reported-by: Joseph Myers <joseph@codesourcery.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Chris Metcalf [Mon, 14 May 2012 20:13:02 +0000 (16:13 -0400)]
Merge branch 'master' of git://sourceware.org/git/glibc-ports
Chris Metcalf [Mon, 14 May 2012 20:01:44 +0000 (16:01 -0400)]
linux-generic: use "__aligned__", not "aligned", in public headers
Chris Metcalf [Mon, 14 May 2012 19:33:00 +0000 (15:33 -0400)]
tile: add abilist files
Chris Metcalf [Mon, 14 May 2012 19:03:46 +0000 (15:03 -0400)]
tile: align stack for tilegx32
Previously we weren't re-aligning the stack pointer during the
call to _dl_init(), so for tilegx32 and an odd value in _dl_skip_args
and kernel unaligned access fixups disabled, we would die with SIGBUS.
We now handle this case properly by aligning before calling _dl_init().
Chris Metcalf [Fri, 11 May 2012 22:10:00 +0000 (18:10 -0400)]
tile: add include <features.h> to <sys/dataplane.h>
We were using __BEGIN_DECLS without <features.h> and it just happened
to mostly work, but of course we should include it here.
Chris Metcalf [Fri, 11 May 2012 22:08:03 +0000 (18:08 -0400)]
tile: fix bug in CFI definitions for clone.S
We were missing a critical cfi_def_cfa_offset call in .Lthread_start
which caused backtracing to get badly confused for threads.
Chris Metcalf [Fri, 11 May 2012 22:06:42 +0000 (18:06 -0400)]
tile: fix broken TLS_GD macros
These still corresponded to an older version of the TLS code in
the compiler. Now they match the code in gcc 4.7.
Chris Metcalf [Fri, 11 May 2012 22:03:58 +0000 (18:03 -0400)]
tilegx: small performance fix for string routines
We were multiplying a byte by 0x0101010101010101ULL to create a
constant for SIMD ops, but the compiler isn't good at optimizing
this case (the fact that one operand is a byte is lost by the time
it would be possible to do the optimization). So instead we add
a helper routine that explicitly uses SIMD ops to create the constant.
Chris Metcalf [Fri, 11 May 2012 21:59:23 +0000 (17:59 -0400)]
tile: allow memcpy(p, p, n) without corrupting memory at "p"
Although this is not required by the definition of memcpy(),
in practice this sort of thing does happen, and it's easy to make
the code robust by doing nothing in this case. (Since structure
copy causes the compiler to emit a memcpy, in the case where the
target structure is the same as the destination, we were seeing
corruption.)
Chris Metcalf [Fri, 11 May 2012 20:53:19 +0000 (16:53 -0400)]
tile: avoid using _LP64
The convention is to use __WORDSIZE everywhere. I happened to
notice that we weren't doing this in __tls_get_addr.S.
Chris Metcalf [Fri, 11 May 2012 20:11:04 +0000 (16:11 -0400)]
tile: support stackguard-macros.h header
Chris Metcalf [Fri, 11 May 2012 19:57:05 +0000 (15:57 -0400)]
linux-generic: add wordsize-32 version of prlimit64/fanotify syscalls