external/glibc.git
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.

12 years agoUpdate MIPS dl-lookup.c.
Joseph Myers [Fri, 11 Nov 2011 22:07:55 +0000 (22:07 +0000)]
Update MIPS dl-lookup.c.

13 years agom68k: define stackinfo_get_sp, stackinfo_sub_sp
Andreas Schwab [Tue, 1 Nov 2011 15:03:29 +0000 (16:03 +0100)]
m68k: define stackinfo_get_sp, stackinfo_sub_sp

13 years agoRestore non-__thread cases for ARM that were used in dynamic linker.
Joseph Myers [Wed, 26 Oct 2011 16:16:52 +0000 (16:16 +0000)]
Restore non-__thread cases for ARM that were used in dynamic linker.

13 years agom68k: add optimized math_opt_barrier and math_force_eval
Andreas Schwab [Wed, 26 Oct 2011 09:34:30 +0000 (11:34 +0200)]
m68k: add optimized math_opt_barrier and math_force_eval

13 years agom68k: replace unneeded sincostab
Andreas Schwab [Wed, 26 Oct 2011 09:32:38 +0000 (11:32 +0200)]
m68k: replace unneeded sincostab

13 years agom68k/cf: add __sqrt*_finite aliases
Andreas Schwab [Sun, 23 Oct 2011 14:40:33 +0000 (16:40 +0200)]
m68k/cf: add __sqrt*_finite aliases

13 years agom68k: add __exp*_finite aliases
Andreas Schwab [Sun, 23 Oct 2011 12:25:00 +0000 (14:25 +0200)]
m68k: add __exp*_finite aliases

13 years agom68k: use generic implementation of s_ccos
Andreas Schwab [Sat, 22 Oct 2011 09:21:37 +0000 (11:21 +0200)]
m68k: use generic implementation of s_ccos

13 years agoUpdate sys/procfs.h.
Carlos O'Donell [Fri, 21 Oct 2011 16:16:52 +0000 (12:16 -0400)]
Update sys/procfs.h.

The signal.h and sys/ucontext.h headers no longer
need to be included directly into procfs.h. This
syncrhonizes this file with other canonical targets
and makes maintenance easier.

Signed-off-by: Carlos O'Donell <carlos@systemhalted.org>
13 years agoUpdate cancellable assembly system call wrappers.
Carlos O'Donell [Fri, 21 Oct 2011 14:08:04 +0000 (10:08 -0400)]
Update cancellable assembly system call wrappers.

This patch updates sysdep-cancel.h to include the
new no-cancel wrapper and provides CFI directives
for all of the assembly. The CFI directives should
allow unwinding information to be generated.

Signed-off-by: Carlos O'Donell <carlos@sytemhalted.org>
13 years agoUpdate ChangeLog.hppa.
Carlos O'Donell [Thu, 20 Oct 2011 19:09:24 +0000 (15:09 -0400)]
Update ChangeLog.hppa.

Add missing entries to ChangeLog.

Signed-off-by: Carlos O'Donell <carlos@systemhalted.org>
13 years agoRemove hppa linuxthreads support.
Carlos O'Donell [Thu, 20 Oct 2011 18:49:52 +0000 (14:49 -0400)]
Remove hppa linuxthreads support.

We now require NPTL and TLS to build glibc therefore
the hppa linuxthreads support is no longer needed.
Debian has already transitioned to NPTL support and
we will continue to work out NPTL issues.

Signed-off-by: Carlos O'Donell <carlos@systemhalted.org>
13 years agoDefine DEFAULT_STACK_PERMS.
Carlos O'Donell [Thu, 20 Oct 2011 18:42:56 +0000 (14:42 -0400)]
Define DEFAULT_STACK_PERMS.

Signed-off-by: Carlos O'Donell <carlos@systemhalted.org>
13 years agoSyncrhonize fcntl.h with canonical source.
Carlos O'Donell [Thu, 20 Oct 2011 18:37:02 +0000 (14:37 -0400)]
Syncrhonize fcntl.h with canonical source.

Update fcntl.h to match canonical i386 fcntl.h, but
update constants to match hppa linux kernel values.

Signed-off-by: Carlos O'Donell <carlos@systemhalted.org>
13 years agoAdd hidden aliases for fenv.h functions.
Carlos O'Donell [Thu, 20 Oct 2011 18:30:56 +0000 (14:30 -0400)]
Add hidden aliases for fenv.h functions.

Add hidden aliases for fegetenv, feupdateenv, and
ftestexcept. This avoids libc needing to go through
the PLT for these functions.

Signed-off-by: Carlos O'Donell <carlos@codesourcery.com>
13 years agoDefine TLS_DTV_UNALLOCATED for hppa.
Carlos O'Donell [Thu, 20 Oct 2011 18:21:00 +0000 (14:21 -0400)]
Define TLS_DTV_UNALLOCATED for hppa.

Signed-off-by: Carlos O'Donell <carlos@systemhalted.org>
13 years agoAlways test for TLS support.
Carlos O'Donell [Thu, 20 Oct 2011 18:15:51 +0000 (14:15 -0400)]
Always test for TLS support.

Always test for TLS support on hppa and raise
an error if the TLS support is missing.

Signed-off-by: Carlos O'Donell <carlos@systemhalted.org>
13 years agoRemove check for HAVE_TLS_SUPPORT
Carlos O'Donell [Thu, 20 Oct 2011 15:42:02 +0000 (11:42 -0400)]
Remove check for HAVE_TLS_SUPPORT

TLS support is now required, remove checks.

Signed-off-by: Carlos O'Donell <carlos@systemhalted.org>
13 years agoAdd hppa values for *_CLOEXEC and *_NONBLOCK
Carlos O'Donell [Thu, 20 Oct 2011 15:23:02 +0000 (11:23 -0400)]
Add hppa values for *_CLOEXEC and *_NONBLOCK

The following patch adds hppa specific files
that define the various _CLOEXEC and _NONBLOCK
values in order to match the ones from the kernel.

Signed-off-by: Guy Martin <gmsoft@tuxicoman.be>
Tested-by: Carlos O'Donell <carlos@systemhalted.org>
13 years agom68k: add __*_finite aliases
Andreas Schwab [Thu, 13 Oct 2011 16:43:01 +0000 (18:43 +0200)]
m68k: add __*_finite aliases

13 years agoAdd __sqrt*_finite aliases for MIPS.
Joseph Myers [Wed, 12 Oct 2011 16:12:13 +0000 (16:12 +0000)]
Add __sqrt*_finite aliases for MIPS.

13 years agom68k: remove obsolete non-fpu implementations of isinfl and isnanl
Andreas Schwab [Sun, 9 Oct 2011 11:58:11 +0000 (13:58 +0200)]
m68k: remove obsolete non-fpu implementations of isinfl and isnanl

13 years agomips: don't call ifunc functions in trace mode
Andreas Schwab [Wed, 5 Oct 2011 09:53:16 +0000 (11:53 +0200)]
mips: don't call ifunc functions in trace mode

13 years agom68k: don't call ifunc functions in trace mode
Andreas Schwab [Wed, 5 Oct 2011 09:53:01 +0000 (11:53 +0200)]
m68k: don't call ifunc functions in trace mode

13 years agohppa: don't call ifunc functions in trace mode
Andreas Schwab [Wed, 5 Oct 2011 09:52:45 +0000 (11:52 +0200)]
hppa: don't call ifunc functions in trace mode

13 years agocris: don't call ifunc functions in trace mode
Andreas Schwab [Wed, 5 Oct 2011 09:52:26 +0000 (11:52 +0200)]
cris: don't call ifunc functions in trace mode

13 years agoarm: don't call ifunc functions in trace mode
Andreas Schwab [Wed, 5 Oct 2011 09:51:41 +0000 (11:51 +0200)]
arm: don't call ifunc functions in trace mode

13 years agoam33: don't call ifunc functions in trace mode
Andreas Schwab [Wed, 5 Oct 2011 09:51:18 +0000 (11:51 +0200)]
am33: don't call ifunc functions in trace mode

13 years agoalpha: don't call ifunc functions in trace mode
Andreas Schwab [Wed, 5 Oct 2011 09:50:05 +0000 (11:50 +0200)]
alpha: don't call ifunc functions in trace mode

13 years agoCast __cmsg_nxthdr return value for MIPS.
Joseph Myers [Tue, 13 Sep 2011 16:04:03 +0000 (16:04 +0000)]
Cast __cmsg_nxthdr return value for MIPS.

13 years agoRemove HAVE_TLS_SUPPORT conditionals for MIPS.
Joseph Myers [Tue, 13 Sep 2011 15:55:38 +0000 (15:55 +0000)]
Remove HAVE_TLS_SUPPORT conditionals for MIPS.

13 years agoRemove HAVE_TLS_SUPPORT conditionals for ARM.
Joseph Myers [Tue, 13 Sep 2011 15:52:57 +0000 (15:52 +0000)]
Remove HAVE_TLS_SUPPORT conditionals for ARM.

13 years agom68k: remove use of USE_TLS
Andreas Schwab [Sun, 11 Sep 2011 14:48:42 +0000 (16:48 +0200)]
m68k: remove use of USE_TLS

13 years agom68k: remove use of USE___THREAD
Andreas Schwab [Sun, 11 Sep 2011 14:47:45 +0000 (16:47 +0200)]
m68k: remove use of USE___THREAD

13 years agoRemove USE_TLS conditionals for MIPS.
Joseph Myers [Sun, 11 Sep 2011 11:22:32 +0000 (11:22 +0000)]
Remove USE_TLS conditionals for MIPS.

13 years agoRemove non-TLS support for ARM.
Joseph Myers [Sun, 11 Sep 2011 11:15:50 +0000 (11:15 +0000)]
Remove non-TLS support for ARM.

13 years agoFix statfs64/fstatfs64 for MIPS n64.
Joseph Myers [Tue, 6 Sep 2011 14:04:08 +0000 (14:04 +0000)]
Fix statfs64/fstatfs64 for MIPS n64.

13 years ago[ARM] Add libc-do-syscall for libnss_db.
Ramana Radhakrishnan [Thu, 18 Aug 2011 14:13:12 +0000 (14:13 +0000)]
[ARM] Add libc-do-syscall for libnss_db.

13 years agoMark ARM __clone as .cantunwind.
Andrew Haley [Tue, 2 Aug 2011 15:32:10 +0000 (15:32 +0000)]
Mark ARM __clone as .cantunwind.

13 years agoWorkaround R10K ll/sc errata.
Matt Turner [Tue, 2 Aug 2011 15:18:06 +0000 (15:18 +0000)]
Workaround R10K ll/sc errata.

13 years agoDefine PF_NFC and AF_NFC for MIPS.
Joseph Myers [Mon, 25 Jul 2011 15:19:56 +0000 (15:19 +0000)]
Define PF_NFC and AF_NFC for MIPS.

13 years ago[ARM] Align _start constant pool to 4 bytes
Richard Sandiford [Thu, 30 Jun 2011 15:55:49 +0000 (15:55 +0000)]
[ARM] Align _start constant pool to 4 bytes

13 years agom68k: fix saving %fp0 in _dl_profile_fixup for coldfire
Andreas Schwab [Wed, 22 Jun 2011 22:19:46 +0000 (00:19 +0200)]
m68k: fix saving %fp0 in _dl_profile_fixup for coldfire

13 years agoDefine elf_ifunc_invoke for ARM.
Joseph Myers [Tue, 21 Jun 2011 14:19:45 +0000 (14:19 +0000)]
Define elf_ifunc_invoke for ARM.

13 years agosendmmsg for MIPS.
Joseph Myers [Mon, 20 Jun 2011 19:35:31 +0000 (19:35 +0000)]
sendmmsg for MIPS.

13 years agosendmmsg for ARM.
Joseph Myers [Mon, 20 Jun 2011 19:34:43 +0000 (19:34 +0000)]
sendmmsg for ARM.

13 years agoDon't mention raise in SI_USER comment for MIPS.
Joseph Myers [Mon, 20 Jun 2011 19:26:42 +0000 (19:26 +0000)]
Don't mention raise in SI_USER comment for MIPS.

13 years agoDefine RLIMIT_RTTIME for MIPS.
Aurelien Jarno [Mon, 23 May 2011 20:34:36 +0000 (20:34 +0000)]
Define RLIMIT_RTTIME for MIPS.

13 years agoUpdate MIPS dl-lookup.c.
Joseph Myers [Fri, 13 May 2011 10:11:25 +0000 (10:11 +0000)]
Update MIPS dl-lookup.c.

13 years agoUpdate MIPS dl-lookup.c from generic version.
Joseph Myers [Tue, 10 May 2011 15:52:47 +0000 (15:52 +0000)]
Update MIPS dl-lookup.c from generic version.

13 years agoDetect arm-linux-gnueabi* as ARM EABI.
Konstantinos Margaritis [Mon, 9 May 2011 14:10:56 +0000 (14:10 +0000)]
Detect arm-linux-gnueabi* as ARM EABI.

13 years agoFix profiling build of __libc_do_syscall.
Manjunath Matti [Tue, 26 Apr 2011 22:15:46 +0000 (22:15 +0000)]
Fix profiling build of __libc_do_syscall.

13 years agoSupport for R_ARM_IRELATIVE relocations.
Richard Sandiford [Tue, 26 Apr 2011 21:00:46 +0000 (21:00 +0000)]
Support for R_ARM_IRELATIVE relocations.

13 years agom68k: define TLS_DTV_UNALLOCATED
Andreas Schwab [Mon, 11 Apr 2011 10:59:31 +0000 (12:59 +0200)]
m68k: define TLS_DTV_UNALLOCATED

13 years agoDefine TLS_DTV_UNALLOCATED for MIPS.
Joseph Myers [Mon, 11 Apr 2011 13:30:52 +0000 (13:30 +0000)]
Define TLS_DTV_UNALLOCATED for MIPS.

13 years agoDefine TLS_DTV_UNALLOCATED for ARM.
Joseph Myers [Mon, 11 Apr 2011 13:30:33 +0000 (13:30 +0000)]
Define TLS_DTV_UNALLOCATED for ARM.

13 years agom68k: declare name_to_handle_at and open_by_handle_at in bits/fcntl.h
Andreas Schwab [Sun, 3 Apr 2011 21:58:21 +0000 (23:58 +0200)]
m68k: declare name_to_handle_at and open_by_handle_at in bits/fcntl.h

13 years agom68k: add O_PATH to bits/fcntl.h
Andreas Schwab [Sun, 3 Apr 2011 21:57:44 +0000 (23:57 +0200)]
m68k: add O_PATH to bits/fcntl.h

13 years agom68k: update comments in bits/fcntl.h
Andreas Schwab [Sun, 3 Apr 2011 21:57:05 +0000 (23:57 +0200)]
m68k: update comments in bits/fcntl.h

13 years agoRename open_by_handle to open_by_handle_at for MIPS.
Joseph Myers [Fri, 1 Apr 2011 19:20:14 +0000 (19:20 +0000)]
Rename open_by_handle to open_by_handle_at for MIPS.

13 years agoRename open_by_handle to open_by_handle_at for ARM.
Joseph Myers [Fri, 1 Apr 2011 19:19:52 +0000 (19:19 +0000)]
Rename open_by_handle to open_by_handle_at for ARM.

13 years agoSave and restore r7 and adjust stack on failure for ARM EABI ____longjmp_chk.
Ryosei Takagi [Fri, 1 Apr 2011 16:44:42 +0000 (16:44 +0000)]
Save and restore r7 and adjust stack on failure for ARM EABI ____longjmp_chk.

13 years agoDefine O_PATH for MIPS.
Joseph Myers [Fri, 1 Apr 2011 16:30:22 +0000 (16:30 +0000)]
Define O_PATH for MIPS.

13 years agoDefine O_PATH for ARM.
Joseph Myers [Fri, 1 Apr 2011 16:29:57 +0000 (16:29 +0000)]
Define O_PATH for ARM.

13 years agoAdd name_to_handle_at, open_by_handle etc. to MIPS bits/fcntl.h.
Joseph Myers [Fri, 1 Apr 2011 16:19:06 +0000 (16:19 +0000)]
Add name_to_handle_at, open_by_handle etc. to MIPS bits/fcntl.h.

13 years agoAdd name_to_handle_at, open_by_handle etc. to ARM bits/fcntl.h.
Joseph Myers [Fri, 1 Apr 2011 16:18:40 +0000 (16:18 +0000)]
Add name_to_handle_at, open_by_handle etc. to ARM bits/fcntl.h.

13 years agoMake MIPS fallocate, fallocate64 and sync_file_range cancellation points.
Joseph Myers [Fri, 1 Apr 2011 16:11:19 +0000 (16:11 +0000)]
Make MIPS fallocate, fallocate64 and sync_file_range cancellation points.

13 years agoProperly define MIPS n64 sync_file_range.
Joseph Myers [Fri, 1 Apr 2011 16:04:38 +0000 (16:04 +0000)]
Properly define MIPS n64 sync_file_range.

13 years ago[alpha] Fix wrong register use in ____longjmp_chk.
Richard Henderson [Mon, 28 Mar 2011 21:44:49 +0000 (14:44 -0700)]
[alpha] Fix wrong register use in ____longjmp_chk.

13 years agoUpdate MIPS dl-lookup.c from generic version.
Joseph Myers [Tue, 22 Mar 2011 20:42:13 +0000 (20:42 +0000)]
Update MIPS dl-lookup.c from generic version.

13 years ago[arm] Remove linuxthreads support.
Ulrich Weigand [Mon, 21 Mar 2011 20:46:01 +0000 (20:46 +0000)]
[arm] Remove linuxthreads support.

13 years ago[arm] Fix bug in _nocancel system call stubs.
Ulrich Weigand [Mon, 21 Mar 2011 20:44:55 +0000 (20:44 +0000)]
[arm] Fix bug in _nocancel system call stubs.

13 years agoCreate ARM unwind records for system call stubs.
Ulrich Weigand [Mon, 21 Mar 2011 20:44:01 +0000 (20:44 +0000)]
Create ARM unwind records for system call stubs.

13 years agoFix GPL and GCC references in last paragraphs of license notices.
Joseph Myers [Mon, 21 Mar 2011 15:40:37 +0000 (15:40 +0000)]
Fix GPL and GCC references in last paragraphs of license notices.

13 years agom68k: reimplement byteswap macros as inlines
Andreas Schwab [Sun, 6 Mar 2011 18:52:43 +0000 (19:52 +0100)]
m68k: reimplement byteswap macros as inlines

13 years agoARM TLS descriptors support.
Nathan Sidwell [Sat, 5 Mar 2011 03:39:15 +0000 (03:39 +0000)]
ARM TLS descriptors support.

13 years agoMissed changelog with last commit
Richard Henderson [Tue, 1 Mar 2011 00:05:08 +0000 (10:05 +1000)]
Missed changelog with last commit

13 years agoalpha: Add libm_hidden_def to feupdateenv and fetestexcept
Aurelien Jarno [Tue, 1 Mar 2011 00:04:15 +0000 (10:04 +1000)]
alpha: Add libm_hidden_def to feupdateenv and fetestexcept

13 years agoalpha: Add f_flags to struct statfs
Aurelien Jarno [Tue, 1 Mar 2011 00:02:04 +0000 (10:02 +1000)]
alpha: Add f_flags to struct statfs

13 years agoalpha: Define DEFAULT_STACK_PERMS
Aurelien Jarno [Tue, 1 Mar 2011 00:00:28 +0000 (10:00 +1000)]
alpha: Define DEFAULT_STACK_PERMS

13 years agoalpha: Define F_GET/SETPIPE_SZ
Aurelien Jarno [Mon, 28 Feb 2011 23:59:13 +0000 (09:59 +1000)]
alpha: Define F_GET/SETPIPE_SZ

13 years agoFix profiling libc for ARM EABI to use __gnu_mcount_nc interface when available.
Manjunath Matti [Wed, 16 Feb 2011 17:30:13 +0000 (17:30 +0000)]
Fix profiling libc for ARM EABI to use __gnu_mcount_nc interface when available.

13 years agoMove ChangeLog entry to correct file.
Joseph Myers [Tue, 25 Jan 2011 21:00:16 +0000 (21:00 +0000)]
Move ChangeLog entry to correct file.

13 years agoDefine MADV_HUGEPAGE and MADV_NOHUGEPAGE for MIPS.
Joseph Myers [Tue, 25 Jan 2011 20:58:24 +0000 (20:58 +0000)]
Define MADV_HUGEPAGE and MADV_NOHUGEPAGE for MIPS.

13 years agoDefine MADV_HUGEPAGE and MADV_NOHUGEPAGE for ARM.
Joseph Myers [Tue, 25 Jan 2011 20:57:58 +0000 (20:57 +0000)]
Define MADV_HUGEPAGE and MADV_NOHUGEPAGE for ARM.

13 years agoDefine new socket constants for MIPS.
Joseph Myers [Tue, 25 Jan 2011 20:49:51 +0000 (20:49 +0000)]
Define new socket constants for MIPS.