Chris Metcalf
63d143a25d
Add sysdeps/tile, sysdeps/unix/sysv/linux/tile.
...
Changes are tracked in ChangeLog.tile.
Also add data/c++-types-tile-linux-gnu.data.
2011-12-03 21:14:25 -05:00
Chris Metcalf
a63c7fa185
Add sysdeps/unix/sysv/linux/generic/.
...
Changes are tracked in ChangeLog.linux-generic.
2011-12-03 21:13:38 -05:00
Joseph Myers
01abd38ff2
Remove bitrotten / unmaintained CPU and OS ports.
2011-11-29 16:10:31 +00:00
Joseph Myers
61b01ec689
Fix ftw64 for MIPS n64.
2011-11-17 02:31:55 +00:00
Joseph Myers
84715d22e1
Use fopen "rce" in ARM ioperm.
2011-11-16 16:07:33 +00:00
Joseph Myers
a9ff8724b3
Update MIPS dl-lookup.c.
2011-11-11 22:07:55 +00:00
Andreas Schwab
f335e01fe1
m68k: define stackinfo_get_sp, stackinfo_sub_sp
2011-11-01 18:35:32 +01:00
Joseph Myers
6dcecc6486
Restore non-__thread cases for ARM that were used in dynamic linker.
2011-10-26 16:18:21 +00:00
Andreas Schwab
290c9bd53b
m68k: add optimized math_opt_barrier and math_force_eval
2011-10-26 11:34:30 +02:00
Andreas Schwab
88808f8a72
m68k: replace unneeded sincostab
2011-10-26 11:32:38 +02:00
Andreas Schwab
f2d9d9095c
m68k/cf: add __sqrt*_finite aliases
2011-10-23 16:40:53 +02:00
Andreas Schwab
0ea4e188a6
m68k: add __exp*_finite aliases
2011-10-23 16:39:55 +02:00
Andreas Schwab
b0835b4569
m68k: use generic implementation of s_ccos
2011-10-22 11:21:37 +02:00
Carlos O'Donell
f683020445
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>
2011-10-21 12:16:52 -04:00
Carlos O'Donell
8cb8321faf
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>
2011-10-21 10:08:04 -04:00
Carlos O'Donell
25f991b858
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>
2011-10-20 14:49:52 -04:00
Carlos O'Donell
9dd87de7ff
Define DEFAULT_STACK_PERMS.
...
Signed-off-by: Carlos O'Donell <carlos@systemhalted.org>
2011-10-20 14:42:56 -04:00
Carlos O'Donell
930046be6f
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>
2011-10-20 14:37:02 -04:00
Carlos O'Donell
5ce24e77ed
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>
2011-10-20 14:30:56 -04:00
Carlos O'Donell
2ab0965cb0
Define TLS_DTV_UNALLOCATED for hppa.
...
Signed-off-by: Carlos O'Donell <carlos@systemhalted.org>
2011-10-20 14:21:00 -04:00
Carlos O'Donell
451398f8b8
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>
2011-10-20 14:15:51 -04:00
Carlos O'Donell
ab653f4dbe
Remove check for HAVE_TLS_SUPPORT
...
TLS support is now required, remove checks.
Signed-off-by: Carlos O'Donell <carlos@systemhalted.org>
2011-10-20 11:42:02 -04:00
Carlos O'Donell
db6a567d0d
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>
2011-10-20 11:23:02 -04:00
Andreas Schwab
d3d9bde557
m68k: add __*_finite aliases
2011-10-13 19:10:24 +02:00
Joseph Myers
c3beb30239
Add __sqrt*_finite aliases for MIPS.
2011-10-12 16:12:13 +00:00
Andreas Schwab
74d3667f04
m68k: remove obsolete non-fpu implementations of isinfl and isnanl
2011-10-09 14:00:12 +02:00
Andreas Schwab
9a7e10917d
mips: don't call ifunc functions in trace mode
2011-10-05 11:53:16 +02:00
Andreas Schwab
5c3bd23521
m68k: don't call ifunc functions in trace mode
2011-10-05 11:53:01 +02:00
Andreas Schwab
09272d2c9f
hppa: don't call ifunc functions in trace mode
2011-10-05 11:52:45 +02:00
Andreas Schwab
86a90a837c
cris: don't call ifunc functions in trace mode
2011-10-05 11:52:26 +02:00
Andreas Schwab
0507f293c9
arm: don't call ifunc functions in trace mode
2011-10-05 11:52:11 +02:00
Andreas Schwab
bf5316f3a6
am33: don't call ifunc functions in trace mode
2011-10-05 11:51:18 +02:00
Andreas Schwab
989edf2cb0
alpha: don't call ifunc functions in trace mode
2011-10-05 11:50:05 +02:00
Joseph Myers
560d4a5882
Cast __cmsg_nxthdr return value for MIPS.
2011-09-13 16:04:03 +00:00
Joseph Myers
329c2e6358
Remove HAVE_TLS_SUPPORT conditionals for MIPS.
2011-09-13 15:55:38 +00:00
Joseph Myers
6136cdd6dd
Remove HAVE_TLS_SUPPORT conditionals for ARM.
2011-09-13 15:52:57 +00:00
Andreas Schwab
57d2b48d39
m68k: remove use of USE_TLS
2011-09-11 16:50:19 +02:00
Andreas Schwab
df62b0cd51
m68k: remove use of USE___THREAD
2011-09-11 16:47:45 +02:00
Joseph Myers
b8ead09ab7
Remove USE_TLS conditionals for MIPS.
2011-09-11 11:22:32 +00:00
Joseph Myers
ce001f45bc
Remove non-TLS support for ARM.
2011-09-11 11:15:50 +00:00
Joseph Myers
c26e391dd3
Fix statfs64/fstatfs64 for MIPS n64.
2011-09-06 14:04:08 +00:00
Ramana Radhakrishnan
978f13ef73
[ARM] Add libc-do-syscall for libnss_db.
2011-08-18 14:13:12 +00:00
Andrew Haley
3c6ac5cbe1
Mark ARM __clone as .cantunwind.
2011-08-02 15:32:10 +00:00
Matt Turner
e349dfdb68
Workaround R10K ll/sc errata.
2011-08-02 15:18:06 +00:00
Joseph Myers
9dc88b5c93
Define PF_NFC and AF_NFC for MIPS.
2011-07-25 15:19:56 +00:00
Richard Sandiford
e5cd24d4bd
[ARM] Align _start constant pool to 4 bytes
2011-06-30 15:55:49 +00:00
Andreas Schwab
a437c0725b
m68k: fix saving %fp0 in _dl_profile_fixup for coldfire
2011-06-23 00:20:55 +02:00
Joseph Myers
5411b5632d
Define elf_ifunc_invoke for ARM.
2011-06-21 14:19:45 +00:00
Joseph Myers
6cc02c7aae
sendmmsg for MIPS.
2011-06-20 19:35:31 +00:00
Joseph Myers
45c99e6495
sendmmsg for ARM.
2011-06-20 19:34:43 +00:00
Joseph Myers
6b5adfe9dc
Don't mention raise in SI_USER comment for MIPS.
2011-06-20 19:26:42 +00:00
Aurelien Jarno
8969f4df1a
Define RLIMIT_RTTIME for MIPS.
2011-05-23 20:34:36 +00:00
Joseph Myers
f1d4d4beaf
Update MIPS dl-lookup.c.
2011-05-13 10:11:25 +00:00
Joseph Myers
a32d0d808b
Update MIPS dl-lookup.c from generic version.
2011-05-10 15:52:47 +00:00
Konstantinos Margaritis
58a9f49bf4
Detect arm-linux-gnueabi* as ARM EABI.
2011-05-09 14:10:56 +00:00
Manjunath Matti
a875971e8e
Fix profiling build of __libc_do_syscall.
2011-04-26 22:15:46 +00:00
Richard Sandiford
70063199c3
Support for R_ARM_IRELATIVE relocations.
2011-04-26 21:00:46 +00:00
Andreas Schwab
04c46a1ce7
m68k: define TLS_DTV_UNALLOCATED
2011-04-11 16:03:18 +02:00
Joseph Myers
ed36e1de02
Define TLS_DTV_UNALLOCATED for MIPS.
2011-04-11 13:30:52 +00:00
Joseph Myers
b6dd51368d
Define TLS_DTV_UNALLOCATED for ARM.
2011-04-11 13:30:33 +00:00
Andreas Schwab
91456166c5
m68k: declare name_to_handle_at and open_by_handle_at in bits/fcntl.h
2011-04-03 23:58:21 +02:00
Andreas Schwab
ece7d80e58
m68k: add O_PATH to bits/fcntl.h
2011-04-03 23:57:44 +02:00
Andreas Schwab
f3bb0652be
m68k: update comments in bits/fcntl.h
2011-04-03 23:57:05 +02:00
Joseph Myers
e6893dbaa5
Rename open_by_handle to open_by_handle_at for MIPS.
2011-04-01 19:20:14 +00:00
Joseph Myers
54feca395a
Rename open_by_handle to open_by_handle_at for ARM.
2011-04-01 19:19:52 +00:00
Ryosei Takagi
420d6ddd5b
Save and restore r7 and adjust stack on failure for ARM EABI ____longjmp_chk.
2011-04-01 16:44:42 +00:00
Joseph Myers
cea4484792
Define O_PATH for MIPS.
2011-04-01 16:30:22 +00:00
Joseph Myers
adb252daea
Define O_PATH for ARM.
2011-04-01 16:29:57 +00:00
Joseph Myers
01b5049d10
Add name_to_handle_at, open_by_handle etc. to MIPS bits/fcntl.h.
2011-04-01 16:19:06 +00:00
Joseph Myers
82be5f39a0
Add name_to_handle_at, open_by_handle etc. to ARM bits/fcntl.h.
2011-04-01 16:18:40 +00:00
Joseph Myers
0f53d140ec
Make MIPS fallocate, fallocate64 and sync_file_range cancellation points.
2011-04-01 16:11:19 +00:00
Joseph Myers
6d9a4e5564
Properly define MIPS n64 sync_file_range.
2011-04-01 16:04:38 +00:00
Richard Henderson
39262cc898
[alpha] Fix wrong register use in ____longjmp_chk.
2011-03-28 14:44:49 -07:00
Joseph Myers
8825867bdd
Update MIPS dl-lookup.c from generic version.
2011-03-22 20:42:13 +00:00
Ulrich Weigand
ea4774c3f3
[arm] Remove linuxthreads support.
2011-03-21 20:46:01 +00:00
Ulrich Weigand
b53600e5ca
[arm] Fix bug in _nocancel system call stubs.
2011-03-21 20:44:55 +00:00
Ulrich Weigand
738860089d
Create ARM unwind records for system call stubs.
2011-03-21 20:44:01 +00:00
Joseph Myers
2242368302
Fix GPL and GCC references in last paragraphs of license notices.
2011-03-21 15:40:37 +00:00
Andreas Schwab
fb3ed18747
m68k: reimplement byteswap macros as inlines
2011-03-06 19:52:43 +01:00
Nathan Sidwell
3447f0d785
ARM TLS descriptors support.
2011-03-05 03:39:15 +00:00
Aurelien Jarno
a8505de8a4
alpha: Add libm_hidden_def to feupdateenv and fetestexcept
2011-03-01 10:04:15 +10:00
Aurelien Jarno
79abd1fbfc
alpha: Add f_flags to struct statfs
2011-03-01 10:02:04 +10:00
Aurelien Jarno
6534235696
alpha: Define DEFAULT_STACK_PERMS
2011-03-01 10:00:28 +10:00
Aurelien Jarno
146c8734c7
alpha: Define F_GET/SETPIPE_SZ
2011-03-01 09:59:13 +10:00
Manjunath Matti
94fd527b67
Fix profiling libc for ARM EABI to use __gnu_mcount_nc interface when available.
2011-02-16 17:30:13 +00:00
Joseph Myers
91a59c6a5d
Define MADV_HUGEPAGE and MADV_NOHUGEPAGE for MIPS.
2011-01-25 20:58:24 +00:00
Joseph Myers
2ca1e67193
Define MADV_HUGEPAGE and MADV_NOHUGEPAGE for ARM.
2011-01-25 20:57:58 +00:00
Joseph Myers
eb76b06f88
Define new socket constants for MIPS.
2011-01-25 20:49:51 +00:00
Andreas Schwab
bd44238d1a
m68k: define MADV_HUGEPAGE and MADV_NOHUGEPAGE
2011-01-18 12:20:06 +01:00
Andreas Schwab
fb88ab40ac
m68k: fix namespace pollution
2011-01-18 12:18:31 +01:00
Luis Machado
a72cc2b29d
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).
2011-01-12 12:59:09 -06:00
Andreas Schwab
9524dbd1f3
m68k: force alignment of sem_t
2011-01-10 21:17:12 +01:00
Joseph Myers
038f24265e
Fix ARM fenv.h fallbacks when excepts == 0.
2011-01-07 01:42:06 +00:00
Joseph Myers
4f46492730
Handle NO_CTORS_DTORS_SECTIONS for MIPS.
2010-12-30 21:36:54 +00:00
Andreas Schwab
a2bfcf6de8
m68k: define DEFAULT_STACK_PERMS
2010-12-26 11:02:05 +01:00
Joseph Myers
390651fd1d
Define DEFAULT_STACK_PERMS for MIPS.
2010-12-21 00:40:13 +00:00
Joseph Myers
7f3c9dd2cc
Define DEFAULT_STACK_PERMS for ARM.
2010-12-21 00:39:39 +00:00
Matt Turner
5811feed3d
Delete getpagesize.c for MIPS.
2010-12-06 16:29:02 +00:00
Joseph Myers
604e89e473
Increase minimum MIPS kernel to 2.4.1.
2010-12-06 16:25:46 +00:00
Ken Werner
2c2019389e
Use __sync_* on ARM where supported by the compiler.
2010-11-24 23:23:48 +00:00
Andreas Schwab
82515b866b
arm: only modify CFLAGS when configuring for arm-linux*eabi
2010-11-22 17:46:49 +01:00
Andreas Schwab
3ef58249ea
m68k: use i386 fchownat
2010-11-05 21:39:30 +01:00
Joseph Myers
94a2483c91
Add MIPS fanotify_mark.
2010-10-21 22:37:53 +00:00
Joseph Myers
c6d5d85ccb
Conditionally define FP_FAST_FMA* for ARM.
2010-10-19 20:09:24 +00:00
Andreas Schwab
16d6bc0bff
m68k: remove fma inlines
2010-10-11 23:15:17 +02:00
Andreas Schwab
2e1639a8a0
m68k: add hidden feupdateenv and fetestexcept definitions
2010-10-11 23:14:37 +02:00
Joseph Myers
0b5c1204bf
Add hidden feupdateenv and fetestexcept definitions for Power.
2010-10-11 14:58:26 +00:00
Joseph Myers
9431b1591b
Add hidden feupdateenv and fetestexcept definitions for MIPS.
2010-10-11 14:58:01 +00:00
Joseph Myers
323e2ce5e0
Add hidden feupdateenv and fetestexcept definitions for ARM.
2010-10-11 14:57:33 +00:00
Joseph Myers
dc54bc1eaa
Add fanotify_mark for ARM.
2010-09-30 18:17:22 +00:00
Michael Cree
b54f998dc3
alpha: Fix compile errors in memchr
...
Include missing header file and make some casts explicit.
2010-09-26 11:10:18 -07:00
Richard Henderson
539af0feee
Merge branch 'rth/testing'
2010-09-23 08:05:17 -07:00
Richard Henderson
926cf114f7
alpha: rewrite memchr.
...
[BZ #12019 ]
The new implementation does not read too much data.
2010-09-23 08:02:08 -07:00
Andreas Schwab
cf64098fc4
m68k: fix SYSCALL_ERROR_LOAD_GOT for Coldfire
2010-08-25 22:55:55 +02:00
Andreas Schwab
9ed28e47dc
m68k: remove fanotify_init from syscalls list
2010-08-17 01:13:57 +02:00
Andreas Schwab
9751fb5289
m68k: Add prlimit64, fanotify_init, fanotify_mask syscalls
2010-08-14 13:23:43 +02:00
Joseph Myers
54c0ba292c
Correct #undef location in previous commit.
2010-08-13 23:43:22 +00:00
Joseph Myers
5ccc178fd7
Undefine __ASSUME_GETDENTS64_SYSCALL for n32 before 2.6.35.
2010-08-13 23:37:54 +00:00
Chandrakala Chavva
5237c94b63
Fix MIPS PSEUDO define for n32 and n64 non-PIC.
2010-08-13 23:25:10 +00:00
Alexander Kanevskiy
fd5fe45924
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.
2010-08-13 19:43:35 +00:00
Joseph Myers
32b9acf3d9
Define EXTPROC for MIPS.
2010-08-13 16:50:07 +00:00
Joseph Myers
0955180613
Add f_flags to struct statfs for MIPS.
2010-08-12 22:18:00 +00:00
Joseph Myers
9672c67a8c
Add IN_EXCL_UNLINK for MIPS.
2010-08-12 22:01:30 +00:00
Joseph Myers
c16fd24675
Add prlimit64 for MIPS.
2010-08-12 15:40:29 +00:00
Joseph Myers
3c11c98eaf
Add prlimit64 for ARM.
2010-08-12 15:38:57 +00:00
Andreas Schwab
690d264a40
m68k: fix loading of GOT for Coldfire
2010-08-02 18:48:56 +02:00
Andreas Schwab
2aed4f91fd
m68k: cleanup sysdep files
...
Use sysdep files in subdirectories instead of testing cpu macros.
2010-08-02 18:47:27 +02:00
Joseph Myers
71feaf7206
Define F_SETPIPE_SZ and F_GETPIPE_SZ for M68K.
2010-06-24 16:18:51 +00:00
Carlos O'Donell
3680f14a7d
[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.
2010-06-24 12:13:36 -04:00
Carlos O'Donell
131fafa7da
[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.
2010-06-23 17:03:11 -04:00
Joseph Myers
fdb3ec206e
Define F_SETPIPE_SZ and F_GETPIPE_SZ for MIPS.
2010-06-14 22:09:52 +00:00
Joseph Myers
ce47c03640
Define F_SETPIPE_SZ and F_GETPIPE_SZ for ARM.
2010-06-14 22:09:08 +00:00
Andreas Schwab
9166f36fcc
m68k: mark all inline math functions as non-throwing
2010-06-13 22:30:17 +02:00
Andreas Schwab
08b1b36387
m68k: Add required definitions to sys/user.h
2010-06-13 21:09:38 +02:00
Andreas Schwab
0df5659285
m68k: force alignment of futex variables
2010-06-11 21:59:21 +02:00
Andreas Schwab
c14e796ff6
hppa: Update nptl/pthread.h to match generic file
2010-06-07 14:46:19 +02:00
Joseph Myers
d0160bcc19
Fix internal_recvmmsg build attributes for ARM EABI.
2010-05-21 23:18:13 +00:00
Joseph Myers
6531684d50
Fix recvmmsg for MIPS.
2010-05-21 23:16:17 +00:00
Richard Henderson
7ffd2bd725
alpha: Do the 32/64-bit split on statfs routines.
2010-05-05 08:12:11 -07:00
Richard Henderson
200b5faee1
alpha: fix memchr to not cause memory faults.
...
http://www.mail-archive.com/debian-alpha@lists.debian.org/msg25088.html
Signed-off-by: Matt Turner <mattst88@gmail.com>
2010-05-04 09:06:15 -07:00
Aurelien Jarno
2ec03f509f
alpha: add dl-procinfo support.
...
Fixes glibc bug 6827.
Signed-off-by: Matt Turner <mattst88@gmail.com>
2010-05-04 09:02:22 -07:00
Aurelien Jarno
116ff9ad18
alpha: fix corner cases in ceil, floor, rint.
...
Partial revert of bebc49030c
. Even with the revert, ceil and floor are
still faster than libcpml's equivalent.
Fixes bug 5350.
Signed-off-by: Matt Turner <mattst88@gmail.com>
2010-05-04 09:01:40 -07:00
GOTO Masanori
6a84c77c71
alpha: fix *xstat.c build failure for Linux headers < 2.6.4
...
Fixes glibc bug 1026.
http://sourceware.org/ml/libc-alpha/2005-02/msg00122.html
Signed-off-by: Matt Turner <mattst88@gmail.com>
2010-05-04 09:00:25 -07:00
Joseph Myers
b1ab8c5fd9
Update MIPS libc-abis configuration for libc changes.
2010-04-14 19:28:10 +00:00
Daniel Jacobowitz
2dcd7ed8fd
Fix unwinding through Thumb-2 system calls.
2010-04-08 12:43:55 -04:00
Joseph Myers
1dbb4edc73
Fix abiversion handling for MIPS.
2010-04-06 20:26:22 +00:00
Carlos O'Donell
3af825d53b
hppa: Define MSG_WAITFORONE.
...
Signed-off-by: Carlos O'Donell <carlos@codesourcery.com>
2010-03-31 13:52:39 -04:00
Joseph Myers
848fa4a9c0
Update ARM for ABIVERSION changes.
2010-03-30 16:26:07 +00:00
Richard Henderson
8eb49e8ae8
alpha: Define MSG_WAITFORONE.
...
Signed-off-by: Richard Henderson <rth@twiddle.net>
2010-03-30 07:50:27 -07:00
Matt Turner
742c00d3d9
alpha: update kernel-features.h for syscalls added in 2.6.33.
...
Signed-off-by: Matt Turner <mattst88@gmail.com>
2010-03-30 07:35:30 -07:00