platform/upstream/glibc.git
12 years agom68k: remove unused fpu switch implementation
Andreas Schwab [Sun, 26 Feb 2012 16:06:00 +0000 (17:06 +0100)]
m68k: remove unused fpu switch implementation

12 years agom68k: remove __kernel_{sin,cos,tan} implementations
Andreas Schwab [Sun, 26 Feb 2012 14:52:19 +0000 (15:52 +0100)]
m68k: remove __kernel_{sin,cos,tan} implementations

12 years agom68k: avoid invalid exception for ccosh(NaN+iNaN)
Andreas Schwab [Sat, 25 Feb 2012 17:18:00 +0000 (18:18 +0100)]
m68k: avoid invalid exception for ccosh(NaN+iNaN)

12 years agom68k: update libm test ULPs
Andreas Schwab [Fri, 24 Feb 2012 14:14:42 +0000 (15:14 +0100)]
m68k: update libm test ULPs

12 years agom68k: set errno in exp
Andreas Schwab [Fri, 24 Feb 2012 14:00:28 +0000 (15:00 +0100)]
m68k: set errno in exp

12 years agom68k: set errno in sin, cos, tan
Andreas Schwab [Fri, 24 Feb 2012 11:22:22 +0000 (12:22 +0100)]
m68k: set errno in sin, cos, tan

12 years agoRemove CRIS port.
Joseph Myers [Tue, 21 Feb 2012 17:32:26 +0000 (17:32 +0000)]
Remove CRIS port.

12 years agoalpha: Convert to bits/timerfd.h and bits/epoll.h.
Richard Henderson [Tue, 21 Feb 2012 16:48:08 +0000 (08:48 -0800)]
alpha: Convert to bits/timerfd.h and bits/epoll.h.

12 years agoReplace MIPS sys/epoll.h and sys/timerfd.h with bits/epoll.h and bits/timerfd.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.

12 years agoResort ULPs file (Power soft-float) with gen-libm-test.pl -n in C locale.
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.

12 years agoWhitespace cleanup
Andreas Schwab [Mon, 20 Feb 2012 17:16:28 +0000 (18:16 +0100)]
Whitespace cleanup

12 years agoalpha: Add support for Linux error EHWPOISON
Andreas Schwab [Sun, 19 Feb 2012 17:20:39 +0000 (18:20 +0100)]
alpha: Add support for Linux error EHWPOISON

12 years agomips: 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

12 years agoalpha: Fix _SC_LEVEL*CACHE*
Aurelien Jarno [Mon, 20 Feb 2012 16:38:54 +0000 (08:38 -0800)]
alpha: Fix _SC_LEVEL*CACHE*

12 years agoalpha: Eliminate plt entries for __ieee_[sg]et_fp_control
Richard Henderson [Thu, 16 Feb 2012 20:06:54 +0000 (12:06 -0800)]
alpha: Eliminate plt entries for __ieee_[sg]et_fp_control

12 years agoFix dl-procinfo support for MIPS.
Aurelien Jarno [Fri, 17 Feb 2012 16:33:44 +0000 (17:33 +0100)]
Fix dl-procinfo support for MIPS.

12 years agoAdjust MIPS ULPS to take into account the new jn tests.
Aurelien Jarno [Fri, 17 Feb 2012 16:29:12 +0000 (17:29 +0100)]
Adjust MIPS ULPS to take into account the new jn tests.

12 years agoAdjust ARM 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.

12 years agoalpha: Support 6th argument to syscall
Mike Hommey [Thu, 16 Feb 2012 00:27:55 +0000 (16:27 -0800)]
alpha: Support 6th argument to syscall

12 years agoalpha: Convert to bits/signalfd.h.
Richard Henderson [Thu, 16 Feb 2012 00:24:45 +0000 (16:24 -0800)]
alpha: Convert to bits/signalfd.h.

12 years agoalpha: Do signed promotion of 32-bit arguments to syscalls
Richard Henderson [Thu, 16 Feb 2012 00:06:17 +0000 (16:06 -0800)]
alpha: Do signed promotion of 32-bit arguments to syscalls

12 years agoalpha: Correct relocation markup for PIC SYSCALL_ERROR_HANDLER.
Richard Henderson [Wed, 15 Feb 2012 21:51:58 +0000 (13:51 -0800)]
alpha: Correct relocation markup for PIC SYSCALL_ERROR_HANDLER.

12 years agoalpha: Don't test USE___THREAD in dl-machine.h.
Richard Henderson [Wed, 15 Feb 2012 21:48:44 +0000 (13:48 -0800)]
alpha: Don't test USE___THREAD in dl-machine.h.

12 years agoDefine SYSCALL_ERROR_LABEL for mips32.
Robert Millan [Wed, 15 Feb 2012 22:39:15 +0000 (22:39 +0000)]
Define SYSCALL_ERROR_LABEL for mips32.

12 years agoProvide sys/tas.h for all MIPS systems.
Robert Millan [Wed, 15 Feb 2012 22:35:18 +0000 (22:35 +0000)]
Provide sys/tas.h for all MIPS systems.

12 years agoUse __start for all Unices on MIPS.
Robert Millan [Wed, 15 Feb 2012 22:29:31 +0000 (22:29 +0000)]
Use __start for all Unices on MIPS.

12 years agoAdd BZ# numbers to ChangeLogs.
Joseph Myers [Wed, 15 Feb 2012 22:26:00 +0000 (22:26 +0000)]
Add BZ# numbers to ChangeLogs.

12 years agoAdd dl-procinfo support for MIPS.
Robert Millan [Wed, 15 Feb 2012 22:20:07 +0000 (22:20 +0000)]
Add dl-procinfo support for MIPS.

12 years agoOnly build libc-do-syscall.S in Thumb mode.
Khem Raj [Wed, 15 Feb 2012 22:09:44 +0000 (22:09 +0000)]
Only build libc-do-syscall.S in Thumb mode.

12 years agoReplace MIPS sys/signalfd.h with bits/signalfd.h.
Joseph Myers [Wed, 15 Feb 2012 20:21:01 +0000 (20:21 +0000)]
Replace MIPS sys/signalfd.h with bits/signalfd.h.

12 years agoalpha: Don't check USE___THREAD in __syscall_error.
Richard Henderson [Wed, 15 Feb 2012 20:19:03 +0000 (12:19 -0800)]
alpha: Don't check USE___THREAD in __syscall_error.

12 years agoBZ #13361
Richard Henderson [Wed, 15 Feb 2012 20:16:31 +0000 (12:16 -0800)]
BZ #13361
alpha: More Linux additions copied from generic/bits/fcntl.h.

12 years agoResolve race between dlopen and lazy binding on MIPS.
Viju Vincent [Wed, 15 Feb 2012 17:25:51 +0000 (17:25 +0000)]
Resolve race between dlopen and lazy binding on MIPS.

12 years agoalpha: Don't let preconfigure interfere with other targets.
Richard Henderson [Wed, 15 Feb 2012 16:02:19 +0000 (08:02 -0800)]
alpha: Don't let preconfigure interfere with other targets.

12 years agoReplace Alpha sys/inotify.h with bits/inotify.h
Richard Henderson [Tue, 14 Feb 2012 01:03:46 +0000 (17:03 -0800)]
Replace Alpha sys/inotify.h with bits/inotify.h

12 years agoReplace MIPS sys/inotify.h with bits/inotify.h.
Joseph Myers [Tue, 14 Feb 2012 00:17:32 +0000 (00:17 +0000)]
Replace MIPS sys/inotify.h with bits/inotify.h.

12 years agoReplace Alpha sys/eventfd.h with bits/eventfd.h
Richard Henderson [Mon, 13 Feb 2012 23:35:18 +0000 (15:35 -0800)]
Replace Alpha sys/eventfd.h with bits/eventfd.h

12 years agoReplace MIPS sys/eventfd.h with bits/eventfd.h.
Joseph Myers [Mon, 13 Feb 2012 20:35:16 +0000 (20:35 +0000)]
Replace MIPS sys/eventfd.h with bits/eventfd.h.

12 years agoConvert MIPS to crti.S/crtn.S.
Joseph Myers [Fri, 10 Feb 2012 12:28:07 +0000 (12:28 +0000)]
Convert MIPS to crti.S/crtn.S.

12 years agoalpha: Re-enable export of the unwind functions, and relro detection.
Richard Henderson [Thu, 9 Feb 2012 19:15:22 +0000 (11:15 -0800)]
alpha: Re-enable export of the unwind functions, and relro detection.

12 years agoalpha: Add ldsodefs.h and tst-audit.h.
Richard Henderson [Thu, 9 Feb 2012 01:00:52 +0000 (17:00 -0800)]
alpha: Add ldsodefs.h and tst-audit.h.

12 years agoalpha: Add tls-macros.h.
Richard Henderson [Thu, 9 Feb 2012 00:59:11 +0000 (16:59 -0800)]
alpha: Add tls-macros.h.

12 years agoalpha: Remove HAVE_ELF tests.
Richard Henderson [Wed, 8 Feb 2012 23:55:41 +0000 (15:55 -0800)]
alpha: Remove HAVE_ELF tests.

12 years agoalpha: Support __NR_fstatat64.
Richard Henderson [Wed, 8 Feb 2012 23:17:41 +0000 (15:17 -0800)]
alpha: Support __NR_fstatat64.

12 years agoalpha: Convert to crt[in].S.
Richard Henderson [Wed, 8 Feb 2012 21:40:03 +0000 (13:40 -0800)]
alpha: Convert to crt[in].S.

A particularly trivial conversion, since we were already using
assembler, smuggled inside the C file.

12 years agoalpha: Eliminate set-but-not-used warnings with internal syscalls.
Richard Henderson [Wed, 8 Feb 2012 20:36:16 +0000 (12:36 -0800)]
alpha: Eliminate set-but-not-used warnings with internal syscalls.

12 years agoalpha: Define _STAT_VER_LINUX.
Richard Henderson [Wed, 8 Feb 2012 19:48:38 +0000 (11:48 -0800)]
alpha: Define _STAT_VER_LINUX.

12 years agoalpha: Define TLS_DTV_UNALLOCATED.
Richard Henderson [Wed, 8 Feb 2012 19:44:40 +0000 (11:44 -0800)]
alpha: Define TLS_DTV_UNALLOCATED.

12 years agoalpha: Require kernel version 2.6.0.
Richard Henderson [Wed, 8 Feb 2012 19:43:50 +0000 (11:43 -0800)]
alpha: Require kernel version 2.6.0.

The minimum version that supports TLS.  Also avoids having to
fix the build for ancient __ASSUME_* settings.

12 years agoalpha: Remove HAVE_TLS_SUPPORT and HAVE___THREAD tests.
Richard Henderson [Wed, 8 Feb 2012 18:06:06 +0000 (10:06 -0800)]
alpha: Remove HAVE_TLS_SUPPORT and HAVE___THREAD tests.

12 years agoConvert ARM to crti.S/crtn.S.
Joseph Myers [Wed, 8 Feb 2012 23:35:36 +0000 (23:35 +0000)]
Convert ARM to crti.S/crtn.S.

12 years agom68k: add crt files
Andreas Schwab [Wed, 8 Feb 2012 12:35:50 +0000 (13:35 +0100)]
m68k: add crt files

12 years agom68k: unify m68k-helpers.S
Andreas Schwab [Wed, 8 Feb 2012 12:35:36 +0000 (13:35 +0100)]
m68k: unify m68k-helpers.S

12 years agom68k: don't set libc_cv_gcc_unwind_find_fde on coldfire
Andreas Schwab [Wed, 8 Feb 2012 12:34:32 +0000 (13:34 +0100)]
m68k: don't set libc_cv_gcc_unwind_find_fde on coldfire

12 years agoUpdate ports README file.
Joseph Myers [Tue, 7 Feb 2012 12:56:48 +0000 (12:56 +0000)]
Update ports README file.

12 years agoDocument copyright year ranges for ports.
Joseph Myers [Tue, 7 Feb 2012 12:52:31 +0000 (12:52 +0000)]
Document copyright year ranges for ports.

12 years agotile: use const instead of __const.
Chris Metcalf [Tue, 31 Jan 2012 16:46:09 +0000 (11:46 -0500)]
tile: use const instead of __const.

12 years agotile: use <feedback.h> instead of <feedback-asm.h> in sysdep.h.
Chris Metcalf [Tue, 31 Jan 2012 16:26:00 +0000 (11:26 -0500)]
tile: use <feedback.h> instead of <feedback-asm.h> in sysdep.h.

12 years agotile: Ignore feraiseexcept() internally.
Chris Metcalf [Tue, 31 Jan 2012 13:59:30 +0000 (08:59 -0500)]
tile: Ignore feraiseexcept() internally.

12 years agoDon't check HAVE_ELF or NO_UNDERSCORES in sysdeps/tile/sysdep.h.
Chris Metcalf [Mon, 30 Jan 2012 17:43:25 +0000 (12:43 -0500)]
Don't check HAVE_ELF or NO_UNDERSCORES in sysdeps/tile/sysdep.h.

12 years agoAdd sysdeps/unix/sysv/linux/generic/not-cancel.h to override standard
Chris Metcalf [Mon, 30 Jan 2012 17:42:05 +0000 (12:42 -0500)]
Add sysdeps/unix/sysv/linux/generic/not-cancel.h to override standard
Linux version with openat().

12 years agoRemove libc_hidden_proto in sysdeps/unix/sysv/linux/generic/epoll_wait.c.
Chris Metcalf [Mon, 30 Jan 2012 17:40:37 +0000 (12:40 -0500)]
Remove libc_hidden_proto in sysdeps/unix/sysv/linux/generic/epoll_wait.c.

12 years agom68k: remove __STDC__ conditionals
Andreas Schwab [Sun, 29 Jan 2012 15:23:28 +0000 (16:23 +0100)]
m68k: remove __STDC__ conditionals

12 years agoMIPS: Remove __STDC__ conditionals.
Joseph Myers [Thu, 26 Jan 2012 20:53:57 +0000 (20:53 +0000)]
MIPS: Remove __STDC__ conditionals.

12 years agoHPPA: Initialize EPOLLONESHOT and EPOLLET correctly.
Carlos O'Donell [Mon, 9 Jan 2012 05:47:04 +0000 (00:47 -0500)]
HPPA: Initialize EPOLLONESHOT and EPOLLET correctly.

The value of EPOLLONESHOT and EPOLLET should be
initialized with an unsigned value.

12 years agoHPPA: Update pthread.h
Carlos O'Donell [Mon, 9 Jan 2012 04:38:50 +0000 (23:38 -0500)]
HPPA: Update pthread.h

Sync from libc pthread.h to get all the recent
changes including the use of const instead of
__const and __NOTHROWNL where appropriate.

12 years agoHPPA: Use const instead of __const
Carlos O'Donell [Mon, 9 Jan 2012 04:33:42 +0000 (23:33 -0500)]
HPPA: Use const instead of __const

Adjust sys/epoll.h and sys/timerfd.h to use const
instead of __const.

12 years agom68k: use const instead of __const
Andreas Schwab [Sun, 8 Jan 2012 13:21:01 +0000 (14:21 +0100)]
m68k: use const instead of __const

12 years agom68k: remove NO_UNDERSCORES
Andreas Schwab [Sun, 8 Jan 2012 12:47:30 +0000 (13:47 +0100)]
m68k: remove NO_UNDERSCORES

12 years agoUse const instead of __const for MIPS.
Joseph Myers [Sun, 8 Jan 2012 13:13:21 +0000 (13:13 +0000)]
Use const instead of __const for MIPS.

12 years agoUse const instead of __const for ARM.
Joseph Myers [Sun, 8 Jan 2012 13:06:46 +0000 (13:06 +0000)]
Use const instead of __const for ARM.

12 years agoDon't define or test NO_UNDERSCORES or HAVE_WEAK_SYMBOLS for ARM.
Joseph Myers [Sun, 8 Jan 2012 13:02:02 +0000 (13:02 +0000)]
Don't define or test NO_UNDERSCORES or HAVE_WEAK_SYMBOLS for ARM.

12 years agom68k: remove non-ELF support
Andreas Schwab [Sun, 8 Jan 2012 09:59:42 +0000 (10:59 +0100)]
m68k: remove non-ELF support

12 years agoRemove HAVE_ELF conditional for ARM.
Joseph Myers [Sun, 8 Jan 2012 02:01:21 +0000 (02:01 +0000)]
Remove HAVE_ELF conditional for ARM.

12 years agoRemove ARM old-ABI support (straightforward parts).
Joseph Myers [Sat, 7 Jan 2012 20:32:29 +0000 (20:32 +0000)]
Remove ARM old-ABI support (straightforward parts).

12 years agom68k: restore configure settings
Andreas Schwab [Sat, 7 Jan 2012 19:12:49 +0000 (20:12 +0100)]
m68k: restore configure settings

12 years agoAdd MIPS NPTL shlib-versions file replacing entry in libc copy.
Joseph Myers [Sat, 7 Jan 2012 18:31:08 +0000 (18:31 +0000)]
Add MIPS NPTL shlib-versions file replacing entry in libc copy.

12 years agoUpdate tile files for removal of ia64 from libc.
Joseph Myers [Sat, 7 Jan 2012 16:53:16 +0000 (16:53 +0000)]
Update tile files for removal of ia64 from libc.

12 years agoUpdate mips files for removal of ia64 from libc.
Joseph Myers [Sat, 7 Jan 2012 16:52:54 +0000 (16:52 +0000)]
Update mips files for removal of ia64 from libc.

12 years agoUpdate alpha files for removal of ia64 from libc.
Joseph Myers [Sat, 7 Jan 2012 16:52:21 +0000 (16:52 +0000)]
Update alpha files for removal of ia64 from libc.

12 years agoAdd ARM dependency of libmemusage.so on libc_nonshared.a.
Nathan Sidwell [Fri, 6 Jan 2012 20:14:44 +0000 (20:14 +0000)]
Add ARM dependency of libmemusage.so on libc_nonshared.a.

12 years agom68k: add cfi directives
Andreas Schwab [Thu, 5 Jan 2012 13:52:48 +0000 (14:52 +0100)]
m68k: add cfi directives

12 years agoUse -fno-unwind-tables for *initfini* on MIPS.
Tom de Vries [Wed, 4 Jan 2012 12:03:20 +0000 (12:03 +0000)]
Use -fno-unwind-tables for *initfini* on MIPS.

12 years agoUse END in ARM old-ABI sigrestorer.S.
Mike Frysinger [Tue, 3 Jan 2012 16:34:40 +0000 (16:34 +0000)]
Use END in ARM old-ABI sigrestorer.S.

12 years agoUse ENTRY/END macros in old-ABI ARM sysdep-cancel.h.
Mike Frysinger [Tue, 3 Jan 2012 16:32:28 +0000 (16:32 +0000)]
Use ENTRY/END macros in old-ABI ARM sysdep-cancel.h.

12 years agoUse IA64 backtrace on MIPS.
Tom de Vries [Tue, 3 Jan 2012 16:20:45 +0000 (16:20 +0000)]
Use IA64 backtrace on MIPS.

12 years agom68k: prevent warnings due to long long constants
Andreas Schwab [Fri, 23 Dec 2011 19:34:10 +0000 (20:34 +0100)]
m68k: prevent warnings due to long long constants

12 years agoFix bits/syscall.h generation for MIPS using generic code.
Joseph Myers [Thu, 22 Dec 2011 18:30:43 +0000 (18:30 +0000)]
Fix bits/syscall.h generation for MIPS using generic code.

12 years agoDefine EPOLLONESHOT and EPOLLET using unsigned values for MIPS.
Joseph Myers [Thu, 22 Dec 2011 13:05:21 +0000 (13:05 +0000)]
Define EPOLLONESHOT and EPOLLET using unsigned values for MIPS.

12 years agoReduce ARM sys/ucontext.h namespace polution.
Peter Green [Tue, 20 Dec 2011 16:02:29 +0000 (16:02 +0000)]
Reduce ARM sys/ucontext.h namespace polution.

12 years agoUse sysdeps path to locate sys/syscall.h in MIPS bits/syscall.h rule.
Joseph Myers [Mon, 19 Dec 2011 22:08:23 +0000 (22:08 +0000)]
Use sysdeps path to locate sys/syscall.h in MIPS bits/syscall.h rule.

12 years agolinux-generic: add <bits/msq.h> and <bits/shm.h>.
Chris Metcalf [Fri, 9 Dec 2011 15:47:35 +0000 (10:47 -0500)]
linux-generic: add <bits/msq.h> and <bits/shm.h>.

Just like the other architectures, we need to avoid adding the
padding fields for the time_t fields in shmid_ds and msqid_ds.
The linux-generic versions are exactly like the x86_64 versions,
except I added a missing #include <bits/wordsize.h> in <bits/msq.h>.

12 years agoAdd ARMv6t2+ memchr.
David Alan Gilbert [Thu, 8 Dec 2011 15:45:14 +0000 (15:45 +0000)]
Add ARMv6t2+ memchr.

12 years agom68k: allow six arguments in syscall function
Thorsten Glaser [Sun, 4 Dec 2011 18:18:08 +0000 (19:18 +0100)]
m68k: allow six arguments in syscall function

12 years agoRemove a backup file that was accidentally committed.
Chris Metcalf [Sun, 4 Dec 2011 16:14:36 +0000 (11:14 -0500)]
Remove a backup file that was accidentally committed.

12 years agoAdd sysdeps/tile, sysdeps/unix/sysv/linux/tile.
Chris Metcalf [Sun, 4 Dec 2011 02:14:25 +0000 (21:14 -0500)]
Add sysdeps/tile, sysdeps/unix/sysv/linux/tile.

Changes are tracked in ChangeLog.tile.
Also add data/c++-types-tile-linux-gnu.data.

12 years agoAdd sysdeps/unix/sysv/linux/generic/.
Chris Metcalf [Sun, 4 Dec 2011 02:13:38 +0000 (21:13 -0500)]
Add sysdeps/unix/sysv/linux/generic/.

Changes are tracked in ChangeLog.linux-generic.

12 years agoRemove bitrotten / unmaintained CPU and OS ports.
Joseph Myers [Tue, 29 Nov 2011 16:10:31 +0000 (16:10 +0000)]
Remove bitrotten / unmaintained CPU and OS ports.

12 years agoFix ftw64 for MIPS n64.
Joseph Myers [Thu, 17 Nov 2011 02:31:55 +0000 (02:31 +0000)]
Fix ftw64 for MIPS n64.

12 years agoUse fopen "rce" in ARM ioperm.
Joseph Myers [Wed, 16 Nov 2011 16:07:33 +0000 (16:07 +0000)]
Use fopen "rce" in ARM ioperm.