Commit Graph

4281 Commits

Author SHA1 Message Date
Richard Henderson 7ae95db5d7 alpha: Convert to bits/timerfd.h and bits/epoll.h. 2012-02-21 08:48:08 -08:00
Joseph Myers 8864c99fe4 Replace MIPS sys/epoll.h and sys/timerfd.h with bits/epoll.h and bits/timerfd.h. 2012-02-21 00:40:35 +00:00
Joseph Myers 02bf118c08 Resort ULPs file (Power soft-float) with gen-libm-test.pl -n in C locale. 2012-02-20 18:10:25 +00:00
Andreas Schwab f157a61945 alpha: Add support for Linux error EHWPOISON 2012-02-20 18:16:05 +01:00
Andreas Schwab d6353c0f81 mips: Add support for Linux error EHWPOISON 2012-02-20 18:07:59 +01:00
Aurelien Jarno 3287d4162f alpha: Fix _SC_LEVEL*CACHE* 2012-02-20 08:38:54 -08:00
Richard Henderson b98de9639c alpha: Eliminate plt entries for __ieee_[sg]et_fp_control 2012-02-20 08:17:19 -08:00
Aurelien Jarno 22f7e90291 Fix dl-procinfo support for MIPS. 2012-02-17 17:34:31 +01:00
Aurelien Jarno cec96a4f3d Adjust MIPS ULPS to take into account the new jn tests. 2012-02-17 17:34:30 +01:00
Aurelien Jarno d653a08bfb Adjust ARM ULPS to take into account the new jn tests. 2012-02-17 17:34:28 +01:00
Mike Hommey f3ce45f370 alpha: Support 6th argument to syscall 2012-02-15 16:27:55 -08:00
Richard Henderson 596720af7a alpha: Convert to bits/signalfd.h. 2012-02-15 16:24:45 -08:00
Richard Henderson f0a81bf387 alpha: Do signed promotion of 32-bit arguments to syscalls 2012-02-15 16:07:11 -08:00
Richard Henderson 64e65bc1ae alpha: Correct relocation markup for PIC SYSCALL_ERROR_HANDLER. 2012-02-15 16:07:11 -08:00
Richard Henderson 7b4f30e356 alpha: Don't test USE___THREAD in dl-machine.h. 2012-02-15 16:07:11 -08:00
Robert Millan a31567f46f Define SYSCALL_ERROR_LABEL for mips32. 2012-02-15 22:39:15 +00:00
Robert Millan d2cc32ab71 Provide sys/tas.h for all MIPS systems. 2012-02-15 22:35:18 +00:00
Robert Millan d05f2edbc2 Use __start for all Unices on MIPS. 2012-02-15 22:29:31 +00:00
Robert Millan 87ae60cc22 Add dl-procinfo support for MIPS. 2012-02-15 22:20:07 +00:00
Khem Raj 3fdf1316ac Only build libc-do-syscall.S in Thumb mode. 2012-02-15 22:09:44 +00:00
Joseph Myers 7504de5a6a Replace MIPS sys/signalfd.h with bits/signalfd.h. 2012-02-15 20:21:50 +00:00
Richard Henderson 15be932dfc alpha: Don't check USE___THREAD in __syscall_error. 2012-02-15 12:19:47 -08:00
Richard Henderson 4c85d632e4 BZ #13361
alpha: More Linux additions copied from generic/bits/fcntl.h.
2012-02-15 12:19:47 -08:00
Viju Vincent 7865d19cf6 Resolve race between dlopen and lazy binding on MIPS. 2012-02-15 17:25:51 +00:00
Richard Henderson b991ef778a alpha: Don't let preconfigure interfere with other targets. 2012-02-15 08:02:19 -08:00
Richard Henderson 1b006be5c5 Replace Alpha sys/inotify.h with bits/inotify.h 2012-02-13 17:03:46 -08:00
Joseph Myers c5430dd069 Replace MIPS sys/inotify.h with bits/inotify.h. 2012-02-14 00:17:32 +00:00
Richard Henderson 15dd57e85c Replace Alpha sys/eventfd.h with bits/eventfd.h 2012-02-13 15:35:18 -08:00
Joseph Myers 67939f7c1e Replace MIPS sys/eventfd.h with bits/eventfd.h. 2012-02-13 20:35:16 +00:00
Joseph Myers 25a368f231 Convert MIPS to crti.S/crtn.S. 2012-02-10 12:28:07 +00:00
Richard Henderson 93519140c0 alpha: Re-enable export of the unwind functions, and relro detection. 2012-02-09 11:15:22 -08:00
Richard Henderson 8c7adf8e79 alpha: Add ldsodefs.h and tst-audit.h. 2012-02-08 17:03:28 -08:00
Richard Henderson dd0c700a97 alpha: Add tls-macros.h. 2012-02-08 17:03:27 -08:00
Richard Henderson 23a7453bbd alpha: Remove HAVE_ELF tests. 2012-02-08 17:03:27 -08:00
Richard Henderson be917baf45 alpha: Support __NR_fstatat64. 2012-02-08 17:03:27 -08:00
Richard Henderson 9fb2a6b9af alpha: Convert to crt[in].S.
A particularly trivial conversion, since we were already using
assembler, smuggled inside the C file.
2012-02-08 17:03:27 -08:00
Richard Henderson e544dcd508 alpha: Eliminate set-but-not-used warnings with internal syscalls. 2012-02-08 17:03:27 -08:00
Richard Henderson 2011e6018c alpha: Define _STAT_VER_LINUX. 2012-02-08 17:03:27 -08:00
Richard Henderson 6aa8bd8cd1 alpha: Define TLS_DTV_UNALLOCATED. 2012-02-08 17:03:27 -08:00
Richard Henderson fe7b738e7a alpha: Require kernel version 2.6.0.
The minimum version that supports TLS.  Also avoids having to
fix the build for ancient __ASSUME_* settings.
2012-02-08 17:03:23 -08:00
Richard Henderson f81b9186ff alpha: Remove HAVE_TLS_SUPPORT and HAVE___THREAD tests. 2012-02-08 17:01:24 -08:00
Joseph Myers 92e47068b3 Convert ARM to crti.S/crtn.S. 2012-02-08 23:35:36 +00:00
Andreas Schwab 06285c8785 m68k: add crt files 2012-02-08 13:35:50 +01:00
Andreas Schwab 74b24e3d46 m68k: unify m68k-helpers.S 2012-02-08 13:35:36 +01:00
Andreas Schwab 662d5c4052 m68k: don't set libc_cv_gcc_unwind_find_fde on coldfire 2012-02-08 13:34:32 +01:00
Chris Metcalf 5dfe919c9f tile: use const instead of __const. 2012-01-31 11:46:09 -05:00
Chris Metcalf 975e4ecfd4 tile: use <feedback.h> instead of <feedback-asm.h> in sysdep.h. 2012-01-31 11:26:00 -05:00
Chris Metcalf 1353ed1385 tile: Ignore feraiseexcept() internally. 2012-01-31 09:00:29 -05:00
Chris Metcalf 3d31999a90 Don't check HAVE_ELF or NO_UNDERSCORES in sysdeps/tile/sysdep.h. 2012-01-31 09:00:28 -05:00
Chris Metcalf 57809f28c0 Add sysdeps/unix/sysv/linux/generic/not-cancel.h to override standard
Linux version with openat().
2012-01-31 09:00:22 -05:00
Chris Metcalf 8525497961 Remove libc_hidden_proto in sysdeps/unix/sysv/linux/generic/epoll_wait.c. 2012-01-30 12:40:37 -05:00
Andreas Schwab 53bce1b5f9 m68k: remove __STDC__ conditionals 2012-01-29 16:54:46 +01:00
Joseph Myers 2aee894935 MIPS: Remove __STDC__ conditionals. 2012-01-26 20:53:57 +00:00
Carlos O'Donell ad8ae7daff HPPA: Initialize EPOLLONESHOT and EPOLLET correctly.
The value of EPOLLONESHOT and EPOLLET should be
initialized with an unsigned value.
2012-01-09 00:47:04 -05:00
Carlos O'Donell c27dd89f4b 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.
2012-01-08 23:38:50 -05:00
Carlos O'Donell 2f4e78942c HPPA: Use const instead of __const
Adjust sys/epoll.h and sys/timerfd.h to use const
instead of __const.
2012-01-08 23:33:42 -05:00
Andreas Schwab ae9df5c8a0 m68k: use const instead of __const 2012-01-08 14:23:44 +01:00
Andreas Schwab 30cfd5f601 m68k: remove NO_UNDERSCORES 2012-01-08 14:23:09 +01:00
Joseph Myers 7b966fcb48 Use const instead of __const for MIPS. 2012-01-08 13:13:21 +00:00
Joseph Myers 57920720f2 Use const instead of __const for ARM. 2012-01-08 13:06:46 +00:00
Joseph Myers 7b583f0ab7 Don't define or test NO_UNDERSCORES or HAVE_WEAK_SYMBOLS for ARM. 2012-01-08 13:02:02 +00:00
Andreas Schwab 5de7dd3ece m68k: remove non-ELF support 2012-01-08 10:59:42 +01:00
Joseph Myers 10fd25cc3b Remove HAVE_ELF conditional for ARM. 2012-01-08 02:01:21 +00:00
Joseph Myers 5155e70cbe Remove ARM old-ABI support (straightforward parts). 2012-01-07 20:32:29 +00:00
Andreas Schwab 4706886146 m68k: restore configure settings 2012-01-07 20:22:23 +01:00
Joseph Myers 3538f2fb14 Add MIPS NPTL shlib-versions file replacing entry in libc copy. 2012-01-07 18:31:08 +00:00
Joseph Myers 647b14570e Update tile files for removal of ia64 from libc. 2012-01-07 16:53:16 +00:00
Joseph Myers e3950b2956 Update mips files for removal of ia64 from libc. 2012-01-07 16:52:54 +00:00
Joseph Myers 7191c0cfd1 Update alpha files for removal of ia64 from libc. 2012-01-07 16:52:21 +00:00
Nathan Sidwell 2d80bda390 Add ARM dependency of libmemusage.so on libc_nonshared.a. 2012-01-06 20:14:44 +00:00
Andreas Schwab 50e73d1379 m68k: add cfi directives 2012-01-05 14:52:48 +01:00
Tom de Vries 32a6153180 Use -fno-unwind-tables for *initfini* on MIPS. 2012-01-04 12:03:20 +00:00
Mike Frysinger a80fb81672 Use END in ARM old-ABI sigrestorer.S. 2012-01-03 16:34:40 +00:00
Mike Frysinger 8117345d22 Use ENTRY/END macros in old-ABI ARM sysdep-cancel.h. 2012-01-03 16:32:28 +00:00
Tom de Vries 04d4502636 Use IA64 backtrace on MIPS. 2012-01-03 16:20:45 +00:00
Andreas Schwab 8a70b2dcab m68k: prevent warnings due to long long constants 2011-12-23 20:34:10 +01:00
Joseph Myers 25bb26d0e8 Fix bits/syscall.h generation for MIPS using generic code. 2011-12-22 18:30:43 +00:00
Joseph Myers c2aeee16c8 Define EPOLLONESHOT and EPOLLET using unsigned values for MIPS. 2011-12-22 13:05:21 +00:00
Peter Green c1e30fd8bf Reduce ARM sys/ucontext.h namespace polution. 2011-12-20 16:02:29 +00:00
Joseph Myers d92b0dd4ed Use sysdeps path to locate sys/syscall.h in MIPS bits/syscall.h rule. 2011-12-19 22:08:23 +00:00
Chris Metcalf 4a93ed423a 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>.
2011-12-09 10:47:35 -05:00
David Alan Gilbert b21cb02fa2 Add ARMv6t2+ memchr. 2011-12-08 15:45:14 +00:00
Thorsten Glaser 4a40b38f63 m68k: allow six arguments in syscall function 2011-12-04 19:19:05 +01:00
Chris Metcalf cd27e7cdf2 Remove a backup file that was accidentally committed. 2011-12-04 11:14:36 -05:00
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