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

13 years agom68k: define MADV_HUGEPAGE and MADV_NOHUGEPAGE
Andreas Schwab [Tue, 18 Jan 2011 11:20:06 +0000 (12:20 +0100)]
m68k: define MADV_HUGEPAGE and MADV_NOHUGEPAGE

13 years agom68k: fix namespace pollution
Andreas Schwab [Tue, 18 Jan 2011 11:18:31 +0000 (12:18 +0100)]
m68k: fix namespace pollution

13 years agoEnable optimized string routines for several PowerPC 4XX family processors.
Luis Machado [Wed, 12 Jan 2011 18:59:09 +0000 (12:59 -0600)]
Enable optimized string routines for several PowerPC 4XX family processors.

This patch provides optimized string routines for the 4XX family of PowerPC
and Power Architecture processors.  For the 476 processor, it can be
configured for either hard-fp with -mcpu=476 --with-fp, or for soft-fp with
-mcpu=476 (since the default is soft-fp).

13 years agom68k: force alignment of sem_t
Andreas Schwab [Sun, 2 Jan 2011 19:14:41 +0000 (20:14 +0100)]
m68k: force alignment of sem_t

13 years agoFix ARM fenv.h fallbacks when excepts == 0.
Joseph Myers [Fri, 7 Jan 2011 01:42:06 +0000 (01:42 +0000)]
Fix ARM fenv.h fallbacks when excepts == 0.

13 years agoHandle NO_CTORS_DTORS_SECTIONS for MIPS.
Joseph Myers [Thu, 30 Dec 2010 21:36:54 +0000 (21:36 +0000)]
Handle NO_CTORS_DTORS_SECTIONS for MIPS.

13 years agom68k: define DEFAULT_STACK_PERMS
Andreas Schwab [Sun, 26 Dec 2010 10:02:05 +0000 (11:02 +0100)]
m68k: define DEFAULT_STACK_PERMS

13 years agoDefine DEFAULT_STACK_PERMS for MIPS.
Joseph Myers [Tue, 21 Dec 2010 00:40:13 +0000 (00:40 +0000)]
Define DEFAULT_STACK_PERMS for MIPS.

13 years agoDefine DEFAULT_STACK_PERMS for ARM.
Joseph Myers [Tue, 21 Dec 2010 00:39:39 +0000 (00:39 +0000)]
Define DEFAULT_STACK_PERMS for ARM.

13 years agoDelete getpagesize.c for MIPS.
Matt Turner [Thu, 9 Dec 2010 13:34:30 +0000 (13:34 +0000)]
Delete getpagesize.c for MIPS.
(ChangeLog entry missing from previous commit.)

13 years agoDelete getpagesize.c for MIPS.
Matt Turner [Mon, 6 Dec 2010 16:29:02 +0000 (16:29 +0000)]
Delete getpagesize.c for MIPS.

13 years agoIncrease minimum MIPS kernel to 2.4.1.
Joseph Myers [Mon, 6 Dec 2010 16:25:46 +0000 (16:25 +0000)]
Increase minimum MIPS kernel to 2.4.1.

13 years agoUse __sync_* on ARM where supported by the compiler.
Ken Werner [Wed, 24 Nov 2010 23:23:48 +0000 (23:23 +0000)]
Use __sync_* on ARM where supported by the compiler.

13 years agoarm: only modify CFLAGS when configuring for arm-linux*eabi
Andreas Schwab [Mon, 22 Nov 2010 16:20:19 +0000 (17:20 +0100)]
arm: only modify CFLAGS when configuring for arm-linux*eabi

14 years agom68k: use i386 fchownat
Andreas Schwab [Fri, 5 Nov 2010 20:39:30 +0000 (21:39 +0100)]
m68k: use i386 fchownat

14 years agoAdd MIPS fanotify_mark.
Joseph Myers [Thu, 21 Oct 2010 22:37:53 +0000 (22:37 +0000)]
Add MIPS fanotify_mark.

14 years agoConditionally define FP_FAST_FMA* for ARM.
Joseph Myers [Tue, 19 Oct 2010 20:09:24 +0000 (20:09 +0000)]
Conditionally define FP_FAST_FMA* for ARM.

14 years agom68k: remove fma inlines
Andreas Schwab [Mon, 11 Oct 2010 21:15:17 +0000 (23:15 +0200)]
m68k: remove fma inlines

14 years agom68k: add hidden feupdateenv and fetestexcept definitions
Andreas Schwab [Mon, 11 Oct 2010 21:14:37 +0000 (23:14 +0200)]
m68k: add hidden feupdateenv and fetestexcept definitions

14 years agoAdd hidden feupdateenv and fetestexcept definitions for Power.
Joseph Myers [Mon, 11 Oct 2010 14:58:26 +0000 (14:58 +0000)]
Add hidden feupdateenv and fetestexcept definitions for Power.

14 years agoAdd hidden feupdateenv and fetestexcept definitions for MIPS.
Joseph Myers [Mon, 11 Oct 2010 14:58:01 +0000 (14:58 +0000)]
Add hidden feupdateenv and fetestexcept definitions for MIPS.

14 years agoAdd hidden feupdateenv and fetestexcept definitions for ARM.
Joseph Myers [Mon, 11 Oct 2010 14:57:33 +0000 (14:57 +0000)]
Add hidden feupdateenv and fetestexcept definitions for ARM.

14 years agoAdd fanotify_mark for ARM.
Joseph Myers [Thu, 30 Sep 2010 18:17:22 +0000 (18:17 +0000)]
Add fanotify_mark for ARM.

14 years agoUpdate changelog for last change.
Richard Henderson [Sun, 26 Sep 2010 18:13:04 +0000 (11:13 -0700)]
Update changelog for last change.

14 years agoalpha: Fix compile errors in memchr
Michael Cree [Sun, 26 Sep 2010 08:15:51 +0000 (21:15 +1300)]
alpha: Fix compile errors in memchr

Include missing header file and make some casts explicit.

14 years agoMerge branch 'rth/testing'
Richard Henderson [Thu, 23 Sep 2010 15:05:17 +0000 (08:05 -0700)]
Merge branch 'rth/testing'

14 years agoalpha: rewrite memchr.
Richard Henderson [Wed, 15 Sep 2010 17:41:43 +0000 (10:41 -0700)]
alpha: rewrite memchr.

[BZ #12019]
The new implementation does not read too much data.

14 years agom68k: fix SYSCALL_ERROR_LOAD_GOT for Coldfire
Andreas Schwab [Wed, 25 Aug 2010 20:55:55 +0000 (22:55 +0200)]
m68k: fix SYSCALL_ERROR_LOAD_GOT for Coldfire

14 years agom68k: remove fanotify_init from syscalls list
Andreas Schwab [Sat, 14 Aug 2010 20:28:47 +0000 (22:28 +0200)]
m68k: remove fanotify_init from syscalls list

14 years agom68k: Add prlimit64, fanotify_init, fanotify_mask syscalls
Andreas Schwab [Sat, 14 Aug 2010 10:37:04 +0000 (12:37 +0200)]
m68k: Add prlimit64, fanotify_init, fanotify_mask syscalls

14 years agoCorrect #undef location in previous commit.
Joseph Myers [Fri, 13 Aug 2010 23:43:22 +0000 (23:43 +0000)]
Correct #undef location in previous commit.

14 years agoUndefine __ASSUME_GETDENTS64_SYSCALL for n32 before 2.6.35.
Joseph Myers [Fri, 13 Aug 2010 23:37:54 +0000 (23:37 +0000)]
Undefine __ASSUME_GETDENTS64_SYSCALL for n32 before 2.6.35.

14 years agoFix MIPS PSEUDO define for n32 and n64 non-PIC.
Chandrakala Chavva [Fri, 13 Aug 2010 23:25:10 +0000 (23:25 +0000)]
Fix MIPS PSEUDO define for n32 and n64 non-PIC.

14 years agoARM: Align hwcap names and definitions with kernel, mark VFP and NEON as HWCAP_IMPORTANT.
Alexander Kanevskiy [Fri, 13 Aug 2010 19:43:35 +0000 (19:43 +0000)]
ARM: Align hwcap names and definitions with kernel, mark VFP and NEON as HWCAP_IMPORTANT.

- Align hwcap names with kernel (arch/arm/kernel/setup.c)
- Align HWCAP_ARM_* definitions with kernel
- Make VFP and NEON as HWCAP_IMPORTANT, this can help in scenarios
where VFP/NEON HW optimizations can be utilized.

14 years agoDefine EXTPROC for MIPS.
Joseph Myers [Fri, 13 Aug 2010 16:50:07 +0000 (16:50 +0000)]
Define EXTPROC for MIPS.

14 years agoAdd f_flags to struct statfs for MIPS.
Joseph Myers [Thu, 12 Aug 2010 22:18:00 +0000 (22:18 +0000)]
Add f_flags to struct statfs for MIPS.

14 years agoAdd IN_EXCL_UNLINK for MIPS.
Joseph Myers [Thu, 12 Aug 2010 22:01:30 +0000 (22:01 +0000)]
Add IN_EXCL_UNLINK for MIPS.

14 years agoAdd prlimit64 for MIPS.
Joseph Myers [Thu, 12 Aug 2010 15:40:29 +0000 (15:40 +0000)]
Add prlimit64 for MIPS.

14 years agoAdd prlimit64 for ARM.
Joseph Myers [Thu, 12 Aug 2010 15:38:57 +0000 (15:38 +0000)]
Add prlimit64 for ARM.

14 years agom68k: fix loading of GOT for Coldfire
Andreas Schwab [Mon, 2 Aug 2010 16:48:56 +0000 (18:48 +0200)]
m68k: fix loading of GOT for Coldfire

14 years agom68k: cleanup sysdep files
Andreas Schwab [Mon, 2 Aug 2010 16:47:27 +0000 (18:47 +0200)]
m68k: cleanup sysdep files

Use sysdep files in subdirectories instead of testing cpu macros.

14 years agoDefine F_SETPIPE_SZ and F_GETPIPE_SZ for M68K.
Joseph Myers [Thu, 24 Jun 2010 16:18:51 +0000 (16:18 +0000)]
Define F_SETPIPE_SZ and F_GETPIPE_SZ for M68K.

14 years ago[hppa] Fix incorrect stack frame usage in vfork.
Carlos O'Donell [Thu, 24 Jun 2010 16:13:36 +0000 (12:13 -0400)]
[hppa] Fix incorrect stack frame usage in vfork.

In a multithreaded environment the call to vfork was
incorrectly creating a stack frame. Given that the
child unwinds the stack frame first to call exec, it
will corrupt any values the parent stored in the stack
frame. The solution is to avoid creating a stack frame
unless required to call an error function, in which case
we are assured no child was created.

14 years ago[hppa] Fix *context stack usage for varargs
Carlos O'Donell [Wed, 23 Jun 2010 21:03:11 +0000 (17:03 -0400)]
[hppa] Fix *context stack usage for varargs

The getcontext, and setcontext functions should
not adjust the stack, and should load the stack
pointer from the machine context. Calling makecontext
should create a frame for spilled incoming arguments,
and sync uc_stack.ss_sp to the machine context.
We do not support calling getcontext, modifying ss_sp,
and calling setcontext directly.

14 years agoDefine F_SETPIPE_SZ and F_GETPIPE_SZ for MIPS.
Joseph Myers [Mon, 14 Jun 2010 22:09:52 +0000 (22:09 +0000)]
Define F_SETPIPE_SZ and F_GETPIPE_SZ for MIPS.

14 years agoDefine F_SETPIPE_SZ and F_GETPIPE_SZ for ARM.
Joseph Myers [Mon, 14 Jun 2010 22:09:08 +0000 (22:09 +0000)]
Define F_SETPIPE_SZ and F_GETPIPE_SZ for ARM.

14 years agom68k: mark all inline math functions as non-throwing
Andreas Schwab [Sun, 13 Jun 2010 20:30:17 +0000 (22:30 +0200)]
m68k: mark all inline math functions as non-throwing

14 years agom68k: Add required definitions to sys/user.h
Andreas Schwab [Sun, 13 Jun 2010 19:09:38 +0000 (21:09 +0200)]
m68k: Add required definitions to sys/user.h

14 years agom68k: force alignment of futex variables
Andreas Schwab [Fri, 11 Jun 2010 19:58:32 +0000 (21:58 +0200)]
m68k: force alignment of futex variables

14 years agohppa: Update nptl/pthread.h to match generic file
Andreas Schwab [Mon, 7 Jun 2010 08:11:17 +0000 (10:11 +0200)]
hppa: Update nptl/pthread.h to match generic file

14 years agom68k: add c++-types and localplt data for m68k-linux-gnu
Andreas Schwab [Sat, 22 May 2010 19:04:42 +0000 (21:04 +0200)]
m68k: add c++-types and localplt data for m68k-linux-gnu

14 years agoFix internal_recvmmsg build attributes for ARM EABI.
Joseph Myers [Fri, 21 May 2010 23:18:13 +0000 (23:18 +0000)]
Fix internal_recvmmsg build attributes for ARM EABI.

14 years agoFix recvmmsg for MIPS.
Joseph Myers [Fri, 21 May 2010 23:16:17 +0000 (23:16 +0000)]
Fix recvmmsg for MIPS.

14 years agoalpha: Do the 32/64-bit split on statfs routines.
Richard Henderson [Wed, 5 May 2010 15:12:11 +0000 (08:12 -0700)]
alpha: Do the 32/64-bit split on statfs routines.