Mike Frysinger [Tue, 17 Apr 2012 02:28:03 +0000 (22:28 -0400)]
ia64: initfini.c -> crt{i,n}.S split
This was done mostly by looking at the processed crt{i,n}.S files in
glibc-2.15, and then added the required update for using in either
csu/ or nptl/.
Seems to work -- when an earlier version didn't call the initializers,
many tests (pthread related) failed.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Tue, 17 Apr 2012 02:30:43 +0000 (22:30 -0400)]
ia64: merge sysdeps/ia64/elf/ into sysdeps/ia64/
Moved the files, and then pasted the configure.in contents into the
parent file.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Tue, 17 Apr 2012 02:52:56 +0000 (22:52 -0400)]
ia64: add split-out settings into dedicated files
Logic specific to ia64 used to live in the main tree in common files.
Now that we can't do that (with #ifdef and such), we need to add that
logic into dedicated overriding files.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Tue, 17 Apr 2012 02:46:52 +0000 (22:46 -0400)]
ia64: update include paths
We need to update the file paths after the ia64 code was moved from
the main tree to ports/. In the case of backtrace.c, the main tree
actually copied the ia64 version to the x86_64 code, so we can go
ahead and drop the ia64 version.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Joseph Myers [Fri, 27 Apr 2012 20:52:33 +0000 (20:52 +0000)]
Increase minimum MIPS kernel version to 2.6.12.
Matt Turner [Fri, 27 Apr 2012 02:40:14 +0000 (22:40 -0400)]
alpha: Correct kernel version needed to define __ASSUME_ACCEPT4.
Matt Turner [Fri, 27 Apr 2012 02:22:59 +0000 (22:22 -0400)]
alpha: Use fopen "rce" in ioperm
Matt Turner [Fri, 27 Apr 2012 02:07:54 +0000 (22:07 -0400)]
alpha: Update bits/mman.h.
Matt Turner [Fri, 27 Apr 2012 02:07:53 +0000 (22:07 -0400)]
alpha: Remove __STDC__ conditionals.
Matt Turner [Fri, 27 Apr 2012 02:07:52 +0000 (22:07 -0400)]
alpha: Use const instead of __const.
Matt Turner [Fri, 27 Apr 2012 02:07:51 +0000 (22:07 -0400)]
alpha: Define O_PATH.
Joseph Myers [Thu, 26 Apr 2012 19:39:33 +0000 (19:39 +0000)]
Remove unused sysdeps/unix/mips files.
Joseph Myers [Thu, 26 Apr 2012 19:23:08 +0000 (19:23 +0000)]
Avoid endian.h include in MIPS string functions.
Joseph Myers [Thu, 26 Apr 2012 19:20:45 +0000 (19:20 +0000)]
Use siginfo_t instead of struct siginfo for MIPS kernel_rt_sigframe.
Joseph Myers [Thu, 26 Apr 2012 18:17:08 +0000 (18:17 +0000)]
Remove unused sysdeps/arm files.
Siddhesh Poyarekar [Thu, 26 Apr 2012 15:08:17 +0000 (17:08 +0200)]
m68k: move definition of libgcc_s soname to shlib-versions
Mike Frysinger [Tue, 17 Apr 2012 02:15:13 +0000 (22:15 -0400)]
ia64: fix license text to "Lesser" not "Library"
Looks like these two files got the wrong boiler plate text.
Convert them over to the right one.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Joseph Myers [Tue, 24 Apr 2012 23:05:20 +0000 (23:05 +0000)]
Remove unused sysdeps/unix/mips/fork.S.
Joseph Myers [Tue, 24 Apr 2012 23:04:58 +0000 (23:04 +0000)]
Remove unused sysdeps/unix/arm/fork.S.
Mike Frysinger [Tue, 17 Apr 2012 01:49:06 +0000 (21:49 -0400)]
mips: use $dir for path to ldd-rewrite.sed
The $dest variable is based on the top build dir but we need the ldd
rewrite variable to be based on the top source dir, so use $dir.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Tue, 17 Apr 2012 02:10:24 +0000 (22:10 -0400)]
ia64: update FSF license address to URL
Processed with a simple sed script:
find `find sysdeps/ -name ia64` -type f -exec sed -i \
-e '/Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA/d' \
-e 's:License along with the GNU C Library; if not, write to the Free:License along with the GNU C Library; if not, see:' \
-e 's|02111-1307 USA.|<http://www.gnu.org/licenses/>.|' {} +
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Tue, 17 Apr 2012 02:08:04 +0000 (22:08 -0400)]
ia64: strip trailing whitespace
Many ia64 files have trailing whitespace which gets in the way and
annoys me. So strip it away:
find `find sysdeps/ -name ia64` -type f -exec sed -i 's:[[:space:]]*$::' {} +
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Tue, 17 Apr 2012 02:02:27 +0000 (22:02 -0400)]
ia64: move from main tree
This is a simple copy of the last version of ia64 in the main tree.
It does not work as-is, but serves as a basis for follow up changes
to restore it to working order.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Joseph Myers [Sat, 21 Apr 2012 17:03:39 +0000 (10:03 -0700)]
Remove ARM EABI/old-ABI conditionals.
Joseph Myers [Sat, 21 Apr 2012 16:30:03 +0000 (09:30 -0700)]
Merge sysdeps/arm/eabi into sysdeps/arm.
Joseph Myers [Sat, 21 Apr 2012 15:38:55 +0000 (08:38 -0700)]
Merge sysdeps/unix/sysv/linux/arm/eabi into sysdeps/unix/sysv/linux/arm.
Andreas Schwab [Wed, 18 Apr 2012 09:06:17 +0000 (11:06 +0200)]
m68k: update libm test ULPs
Andreas Schwab [Tue, 17 Apr 2012 21:59:10 +0000 (23:59 +0200)]
m68k: rename s_ilogb* to e_ilogb*
Andreas Jaeger [Tue, 17 Apr 2012 05:59:37 +0000 (07:59 +0200)]
Avoid warnings about redefinition
* sysdeps/unix/sysv/linux/arm/ldsodefs.h: Undefine
MORE_ELF_HEADER_DATA to avoid warnings about redefinition.
Carlos O'Donell [Tue, 17 Apr 2012 04:01:19 +0000 (06:01 +0200)]
hppa: Build fixes for STT_GNU_IFUNC.
Stub out enough files to allow the hppa
port to build without STT_GNU_IFUNC.
Carlos O'Donell [Tue, 17 Apr 2012 03:46:34 +0000 (05:46 +0200)]
hppa: Remove relocation in OPD handling code.
A current bug in the hppa binutils code causes
relative relocations to be mixed with OPD relocations.
The OPD handling code in ld.so requires a relocation to
setup one of the data structures.
At startup ld.so tries to use the structure to handle
an OPD relocation *before* the structure is completely
setup by the relative relocation and this causes a crash.
This code is a workaround and a bandaid, the real fix
is in the static linker, but until then we must avoid
relocations in dl-fptr.c.
We copy dl-fptr.c from generic code, modify it, and
adjust the headers to fixup the structure at runtime
instead of having the relocation do this for us
automatically.
Carlos O'Donell [Tue, 17 Apr 2012 03:29:00 +0000 (05:29 +0200)]
hppa: Remove elf/ and create crti.S/crtn.S
This patch removes the elf/ directory, moving any
special configury down a directory e.g. TLS checks.
This patch also implements the required crti.S
and crtn.S files, verifying that they match the
current implementation.
Mike Frysinger [Sun, 15 Apr 2012 01:10:30 +0000 (21:10 -0400)]
tile: update _itoa.h include path
Common code moved _itoa.h necessitating a change in the #include path.
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Andreas Schwab [Wed, 28 Mar 2012 16:39:51 +0000 (18:39 +0200)]
m68k: define MAP_STACK and MAP_HUGETLB
Joseph Myers [Wed, 28 Mar 2012 12:37:21 +0000 (12:37 +0000)]
MIPS: Define MAP_STACK and MAP_HUGETLB.
Joseph Myers [Wed, 28 Mar 2012 12:36:51 +0000 (12:36 +0000)]
ARM: Define MAP_STACK and MAP_HUGETLB.
Andreas Schwab [Tue, 27 Mar 2012 21:47:41 +0000 (23:47 +0200)]
m68k: drop elf directory
Richard Henderson [Tue, 27 Mar 2012 21:29:13 +0000 (14:29 -0700)]
Merge sysdeps/alpha/elf/ into sysdeps/alpha/.
Joseph Myers [Tue, 27 Mar 2012 21:10:20 +0000 (21:10 +0000)]
Merge sysdeps/mips/elf/ into sysdeps/mips/.
Joseph Myers [Tue, 27 Mar 2012 21:04:59 +0000 (21:04 +0000)]
Merge sysdeps/arm/elf/ into sysdeps/arm/.
Andreas Schwab [Fri, 23 Mar 2012 15:34:03 +0000 (16:34 +0100)]
m68k: update libm test ULPs
Andreas Schwab [Fri, 23 Mar 2012 15:33:37 +0000 (16:33 +0100)]
m68k: avoid undue overflow in cexp
Andreas Schwab [Fri, 23 Mar 2012 12:42:08 +0000 (13:42 +0100)]
m68k: prevent gcc from CSEing mathinline asms
Andreas Schwab [Thu, 22 Mar 2012 09:55:02 +0000 (10:55 +0100)]
m68k: update libm test ULPs
Carlos O'Donell [Thu, 22 Mar 2012 04:12:30 +0000 (00:12 -0400)]
Update copyright year to 2012.
Carlos O'Donell [Thu, 22 Mar 2012 04:05:14 +0000 (00:05 -0400)]
[PARISC] small atomic.h optimization
We do not negate the light-weight syscall return and instead
just check for the negative errno value allowing the compiler
to optimize as required.
Richard Henderson [Wed, 21 Mar 2012 15:18:55 +0000 (08:18 -0700)]
alpha: Update _itoa.h include.
Andreas Schwab [Tue, 20 Mar 2012 23:38:10 +0000 (00:38 +0100)]
m68k: update _itoa.h include
Joseph Myers [Tue, 20 Mar 2012 23:14:19 +0000 (23:14 +0000)]
MIPS: Update _itoa.h include.
Joseph Myers [Tue, 20 Mar 2012 23:13:50 +0000 (23:13 +0000)]
ARM: Update _itoa.h include.
Andreas Schwab [Mon, 19 Mar 2012 23:25:54 +0000 (00:25 +0100)]
m68k: update libm test ULPs
Richard Henderson [Mon, 19 Mar 2012 00:27:13 +0000 (17:27 -0700)]
alpha: Tell math_private.h that we have __isnan et al.
Andreas Schwab [Thu, 15 Mar 2012 12:33:35 +0000 (13:33 +0100)]
m68k: update libm test ULPs
Andreas Schwab [Tue, 13 Mar 2012 13:30:53 +0000 (14:30 +0100)]
m68k: update kernel-features.h
Richard Henderson [Sun, 11 Mar 2012 18:15:09 +0000 (11:15 -0700)]
alpha: replace bits/socket.h with bits/socket_type.h.
Paul Eggert [Sat, 10 Mar 2012 13:09:02 +0000 (13:09 +0000)]
Replace FSF snail mail address with URL in sysdeps/mips/mips64/gmp-mparam.h.
Richard Henderson [Sat, 10 Mar 2012 00:28:42 +0000 (16:28 -0800)]
Use include_next to chain math_private.h headers.
Richard Henderson [Fri, 9 Mar 2012 19:30:44 +0000 (11:30 -0800)]
Use <> for math.h and math_private.h everywhere.
Entire tree edited via find | grep | sed.
Paul Eggert [Fri, 9 Mar 2012 23:56:38 +0000 (23:56 +0000)]
Replace FSF snail mail address by URL.
Joseph Myers [Fri, 9 Mar 2012 22:43:01 +0000 (22:43 +0000)]
MIPS: replace bits/socket.h with bits/socket_type.h.
Michael Hope [Mon, 5 Mar 2012 22:58:13 +0000 (17:58 -0500)]
ARM: Implement *context routines.
* sysdeps/unix/sysv/linux/arm/eabi/getcontext.S: New file.
* sysdeps/unix/sysv/linux/arm/eabi/makecontext.c: New file.
* sysdeps/unix/sysv/linux/arm/eabi/setcontext.S: New file.
* sysdeps/unix/sysv/linux/arm/eabi/swapcontext.S: New file.
* sysdeps/unix/sysv/linux/arm/ucontext_i.sym: New file.
* sysdeps/unix/sysv/linux/arm/Makefile (gen-as-const-headers): Add
ucontext_i.sym.
Andreas Schwab [Mon, 5 Mar 2012 15:50:44 +0000 (16:50 +0100)]
m68k: update libm test ULPs
Carlos O'Donell [Mon, 5 Mar 2012 15:37:28 +0000 (10:37 -0500)]
HPPA: Update socket.h, pthreadtypes.h and pthread.h
Synchronize from core libc headers.
Richard Henderson [Sun, 4 Mar 2012 20:03:59 +0000 (12:03 -0800)]
alpha: Avoid -Winline warning in ioperm.c.
Specifically:
warning: inlining failed in call to 'inline_sethae.part.1':
call is unlikely and code size would grow [-Winline]
Richard Henderson [Sun, 4 Mar 2012 20:02:55 +0000 (12:02 -0800)]
alpha: Update recvmmsg and sendmmsg declarations.
Richard Henderson [Sun, 4 Mar 2012 19:30:01 +0000 (11:30 -0800)]
alpha: Update for pthread_attr_t typedef changes.
Andreas Schwab [Fri, 2 Mar 2012 21:26:47 +0000 (22:26 +0100)]
m68k: update libm test ULPs
Andreas Schwab [Mon, 27 Feb 2012 20:15:54 +0000 (21:15 +0100)]
m68k: only define pthread_attr_t if not already defined
Joseph Myers [Mon, 27 Feb 2012 15:54:30 +0000 (15:54 +0000)]
MIPS: do not declare recvmmsg and sendmmsg for !__USE_GNU.
Joseph Myers [Mon, 27 Feb 2012 15:14:41 +0000 (15:14 +0000)]
MIPS: fix pthread_attr_t definitions.
Joseph Myers [Mon, 27 Feb 2012 15:14:04 +0000 (15:14 +0000)]
ARM: fix pthread_attr_t definitions.
Andreas Schwab [Mon, 27 Feb 2012 13:57:16 +0000 (14:57 +0100)]
m68k: fix name of pthread_attr_t union
Andreas Schwab [Sun, 26 Feb 2012 19:10:50 +0000 (20:10 +0100)]
m68k: name pthread_attr_t union
Joseph Myers [Sun, 26 Feb 2012 19:39:23 +0000 (19:39 +0000)]
MIPS: Name pthread_attr_t union, use it in sigevent, don't name siginfo_t struct.
Joseph Myers [Sun, 26 Feb 2012 19:39:00 +0000 (19:39 +0000)]
ARM: name pthread_attr_t union.
Andreas Schwab [Sun, 26 Feb 2012 16:06:00 +0000 (17:06 +0100)]
m68k: remove unused fpu switch implementation
Andreas Schwab [Sun, 26 Feb 2012 14:52:19 +0000 (15:52 +0100)]
m68k: remove __kernel_{sin,cos,tan} implementations
Andreas Schwab [Sat, 25 Feb 2012 17:18:00 +0000 (18:18 +0100)]
m68k: avoid invalid exception for ccosh(NaN+iNaN)
Andreas Schwab [Fri, 24 Feb 2012 14:14:42 +0000 (15:14 +0100)]
m68k: update libm test ULPs
Andreas Schwab [Fri, 24 Feb 2012 14:00:28 +0000 (15:00 +0100)]
m68k: set errno in exp
Andreas Schwab [Fri, 24 Feb 2012 11:22:22 +0000 (12:22 +0100)]
m68k: set errno in sin, cos, tan
Joseph Myers [Tue, 21 Feb 2012 17:32:26 +0000 (17:32 +0000)]
Remove CRIS port.
Richard Henderson [Tue, 21 Feb 2012 16:48:08 +0000 (08:48 -0800)]
alpha: Convert to bits/timerfd.h and bits/epoll.h.
Joseph Myers [Tue, 21 Feb 2012 00:40:35 +0000 (00:40 +0000)]
Replace MIPS sys/epoll.h and sys/timerfd.h with bits/epoll.h and bits/timerfd.h.
Joseph Myers [Mon, 20 Feb 2012 18:09:13 +0000 (18:09 +0000)]
Resort ULPs file (Power soft-float) with gen-libm-test.pl -n in C locale.
Andreas Schwab [Mon, 20 Feb 2012 17:16:28 +0000 (18:16 +0100)]
Whitespace cleanup
Andreas Schwab [Sun, 19 Feb 2012 17:20:39 +0000 (18:20 +0100)]
alpha: Add support for Linux error EHWPOISON
Andreas Schwab [Sun, 19 Feb 2012 17:21:03 +0000 (18:21 +0100)]
mips: Add support for Linux error EHWPOISON
Aurelien Jarno [Mon, 20 Feb 2012 16:38:54 +0000 (08:38 -0800)]
alpha: Fix _SC_LEVEL*CACHE*
Richard Henderson [Thu, 16 Feb 2012 20:06:54 +0000 (12:06 -0800)]
alpha: Eliminate plt entries for __ieee_[sg]et_fp_control
Aurelien Jarno [Fri, 17 Feb 2012 16:33:44 +0000 (17:33 +0100)]
Fix dl-procinfo support for MIPS.
Aurelien Jarno [Fri, 17 Feb 2012 16:29:12 +0000 (17:29 +0100)]
Adjust MIPS ULPS to take into account the new jn tests.
Aurelien Jarno [Fri, 17 Feb 2012 16:31:09 +0000 (17:31 +0100)]
Adjust ARM ULPS to take into account the new jn tests.
Mike Hommey [Thu, 16 Feb 2012 00:27:55 +0000 (16:27 -0800)]
alpha: Support 6th argument to syscall
Richard Henderson [Thu, 16 Feb 2012 00:24:45 +0000 (16:24 -0800)]
alpha: Convert to bits/signalfd.h.
Richard Henderson [Thu, 16 Feb 2012 00:06:17 +0000 (16:06 -0800)]
alpha: Do signed promotion of 32-bit arguments to syscalls
Richard Henderson [Wed, 15 Feb 2012 21:51:58 +0000 (13:51 -0800)]
alpha: Correct relocation markup for PIC SYSCALL_ERROR_HANDLER.
Richard Henderson [Wed, 15 Feb 2012 21:48:44 +0000 (13:48 -0800)]
alpha: Don't test USE___THREAD in dl-machine.h.
Robert Millan [Wed, 15 Feb 2012 22:39:15 +0000 (22:39 +0000)]
Define SYSCALL_ERROR_LABEL for mips32.
Robert Millan [Wed, 15 Feb 2012 22:35:18 +0000 (22:35 +0000)]
Provide sys/tas.h for all MIPS systems.