Commit Graph

184 Commits

Author SHA1 Message Date
Mike Frysinger
563c840564 alpha: add conditional fdatasync support
While most arches have had the fdatasync syscall for a long time, the
alpha port didn't add it until the 2.6.22 release.

This is heavily based on Aurelien Jarno's initial work.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-08-27 12:16:28 -04:00
Steve McIntyre
d3bafbc98e Check floating-point ABI in ARM VALID_ELF_HEADER. 2012-08-23 20:38:25 +00:00
Joseph Myers
eaeffd07f7 Clean up MIPS stat64 handling. 2012-08-22 21:03:12 +00:00
Joseph Myers
0e1d99119e Remove __ASSUME_FADVISE64_64_SYSCALL. 2012-08-21 21:07:22 +00:00
Joseph Myers
348363b2c3 Remove __ASSUME_MMAP2_SYSCALL. 2012-08-20 14:37:27 +00:00
Carlos O'Donell
30f696374d Fifth argument of la_pltenter() is not constant.
The original runtime linker auditing interface described
by Solaris allows the 5th argument of la_pltenter() to be
modified. This patch cleans up the ldsodefs.h definitions
such that the 5th argument is not constant.

At one point the 5th argument *was* constant but this was
changed with commit 2413fdba7a.
This patch updates alpha, ia64, mips, sh and sparc with similar
changes.
2012-08-16 08:41:05 -07:00
Maxim Kuvyrkov
309becf120 Optimize __libc_lock_lock and __libc_lock_trylock for MIPS. 2012-08-15 16:44:30 -07:00
Maxim Kuvyrkov
ef4009734b Add generic versions of pthread_spin_lock and pthread_spin_trylock. 2012-08-15 16:29:06 -07:00
Roland McGrath
fdd3affb97 Rename ARM bits/atomic.h not to be specific to nptl add-on. 2012-08-15 09:40:28 -07:00
Roland McGrath
f3bdd5f843 Separate ARM bits/atomic.h into generic and Linux-specific files. 2012-08-15 09:40:28 -07:00
Joseph Myers
5544c7e000 Update MIPS dl-lookup.c from generic version. 2012-08-15 09:49:07 +00:00
Mike Frysinger
9770df4f12 arm: fix up style in reloc fix
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-08-14 21:38:15 -04:00
Mike Frysinger
d427a4f8a4 ia64: drop HAVE_CPP_ASM_DEBUGINFO
Looks like a wart copied from the i386 code base.  The only place I can
find that checks this is the i386 sysdep.h, and even then this looks like
a check that should get thrown away as obsolete ...

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-08-14 21:37:00 -04:00
Joseph Myers
f2c05b9ecf Remove __ASSUME_CLONE_THREAD_FLAGS. 2012-08-14 22:34:04 +00:00
Maxim Kuvyrkov
8f12da9795 Add explicit acquire/release semantics to MIPS' atomic_exchange_and_add. 2012-08-13 19:55:34 -07:00
Richard Henderson
cc184e11fe alpha: Don't test toolchain support for TLS or GPREL 2012-08-13 18:21:06 -07:00
Richard Henderson
2e33ecdf8c alpha: Fix compat version number for nearbyintl 2012-08-13 18:19:42 -07:00
Mike Frysinger
a107920668 ia64: drop TLS configure check
Since we require a new enough version of binutils that has TLS, we don't
need to bother checking for it anymore.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-08-12 15:01:40 -04:00
Mike Frysinger
191ce8ce59 hppa: add missing prlimit64 symbol
All other arches have this in their syscall list.  Looks like hppa
is missing it though and breaks one or two apps that try to call it.

URL: https://bugs.gentoo.org/411745
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-08-12 14:53:07 -04:00
Mike Frysinger
86e1477c1a ia64: drop ASM_TYPE_DIRECTIVE usage
Matches what we've done in the rest of the tree.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-08-12 14:49:55 -04:00
Mike Frysinger
3447612d3c arm: handle unaligned ABS relocs
When relocating a misaligned R_ARM_ABS32, glibc currently crashes.

URL: https://bugs.gentoo.org/394237
URL: http://gcc.gnu.org/PR51456
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-08-12 14:49:45 -04:00
Joseph Myers
121dce05fe Move Linux kernel version conditionals to kernel-features.h. 2012-08-10 15:53:27 +00:00
Andreas Schwab
2d83a317e9 m68k: fix type of pltenter member in audit interface 2012-08-10 15:22:44 +02:00
Roland McGrath
2aa5b9c146 Make ARM setjmp/longjmp respect ARM_ASSUME_NO_IWMMXT macro. 2012-08-09 16:37:50 -07:00
Joseph Myers
7f54025287 Define __ASSUME_UTIMES for MIPS. 2012-08-09 23:33:41 +00:00
Roland McGrath
6dcf80c782 Avoid VFP HWCAP check in setjmp/longjmp and getcontext/setcontext when compiled without __SOFTFP__ defined. 2012-08-09 11:51:05 -07:00
Roland McGrath
a4ca519518 Don't check HWCAP_ARM_VFP in OS-generic code.
Presume VFP if compiled without __SOFTFP__ defined.
2012-08-09 10:04:56 -07:00
Roland McGrath
76de109437 Add sotruss-lib support for ARM. 2012-08-08 16:27:51 -07:00
Joseph Myers
b36137f1d6 Remove __ASSUME_TGKILL. 2012-08-08 23:22:53 +00:00
Roland McGrath
44c94c1da0 Add a const in arm_gnu_pltexit signature. 2012-08-08 14:57:07 -07:00
Roland McGrath
92142c0cfd ARM: fix build breakage from sysdeps/unix/sysv/linux/arm/dl-machine.h addition. 2012-08-08 14:19:57 -07:00
Roland McGrath
69a14aa487 Fiddle ARM atomic.h to avoid -Wvolatile-register-var warnings. 2012-08-08 13:57:50 -07:00
Roland McGrath
7f3e1ad05f Add missing #include for sysdeps/arm/dl-irel.h. 2012-08-08 13:16:54 -07:00
Roland McGrath
9b5281b65e Fix __dl_start declaration to avoid warning. 2012-08-08 11:03:47 -07:00
Richard Henderson
5afee2dc60 alpha: Purge __ASSUME_IEEE_RAISE_EXCEPTION 2012-08-08 07:45:21 -07:00
Richard Henderson
6ee732b7cd alpha: Tidy up ieee_get/set_fp_control syscalls 2012-08-08 07:44:19 -07:00
Richard Henderson
6360984bc3 alpha: Purge __ASSUME_STAT64_SYSCALL 2012-08-08 07:43:27 -07:00
Andreas Schwab
3381e4ff2d m68k/cf: define __signbit/__signbitf as inlines 2012-08-08 12:13:57 +02:00
Andreas Schwab
3b7d2b398e m68k/cf: avoid warning in non-shared atomic_compare_and_exchange_val_acq 2012-08-08 12:13:56 +02:00
Joseph Myers
6dad2c0688 Remove pre-2.6.16 Linux kernel support. 2012-08-07 16:40:32 +00:00
Roland McGrath
8e49df1d65 Clean up {alphasort,versionsort,scandir,scandirat}{,64} for struct dirent == struct dirent64. 2012-08-06 16:48:36 -07:00
Roland McGrath
03af952060 Clean up lockf64, fseeko64, ftello64, fgetpos64, fsetpos64 for off64_t == off_t. 2012-08-06 16:48:14 -07:00
Chris Metcalf
5c53355355 tile: fix typo in ASM_TYPE_DIRECTIVE fix 2012-08-04 09:57:37 -04:00
Mike Frysinger
0c41943a4d ia64: fix byteswap conversion warning
Same fix as went in for other architectures.

URL: http://sourceware.org/bugzilla/show_bug.cgi?id=12194
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-08-03 12:08:51 -04:00
Joseph Myers
7aab07e4e5 Remove pre-2.6.0 Linux kernel support (bug 13717). 2012-08-03 13:42:47 +00:00
Andreas Schwab
fe58a6517d m68k: remove ASM_{TYPE,SIZE}_DIRECTIVE and ALIGNARG 2012-08-03 12:13:29 +02:00
Joseph Myers
606dd3d9f4 Remove ASM_TYPE_DIRECTIVE for ARM. 2012-08-02 20:57:45 +00:00
Chris Metcalf
2fbd74d8c9 tile: Get rid of ASM_TYPE_DIRECTIVE 2012-08-02 15:48:14 -04:00
Joseph Myers
23bddc0668 Remove __ASSUME_FCNTL64. 2012-08-01 21:27:58 +00:00
Joseph Myers
a9f1039f0a Remove __ASSUME_VFORK_SYSCALL (and some __NR_vfork conditionals). 2012-08-01 20:49:45 +00:00
Roland McGrath
5d9eaeecb4 Move Linuxism out of sysdeps/arm/dl-machine.h. 2012-08-01 11:39:08 -07:00
Roland McGrath
09c0ee5f8c BZ#14138: Move getrlimit (ugetrlimit) syscall to syscalls.list. 2012-08-01 10:25:11 -07:00
Steve Ellcey
b290216f09 Fix MIPS PREF/PREFX macro definitions in empty case. 2012-08-01 15:11:43 +00:00
Andreas Schwab
7c24defe1a m68k: update libm test ULPs 2012-08-01 01:21:00 +02:00
Joseph Myers
7e6242f556 Improve MIPS n64 handling of 64-bit fcntl. 2012-07-31 23:17:24 +00:00
Roland McGrath
bea9b19322 Fix lots of bitrot for stub configurations. 2012-07-30 16:34:33 -07:00
Joseph Myers
89d9c04def Make mmap64 an alias of mmap on MIPS. 2012-07-27 13:43:46 +00:00
Andreas Schwab
350c174847 m68k: update libm test ULPs 2012-07-26 15:52:21 +02:00
Joseph Myers
3129cfc6ec Move testsuite audit definitions to sysdeps tst-audit.h files. 2012-07-26 11:29:07 +00:00
Andreas Jaeger
b1b2aaf8eb Merge Linux 3.5 ptrace changes
(__ptrace_eventcodes): Add new value PTRACE_EVENT_SECCOMP from Linux 3.5.
(__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust PTRACE_O_MASK.
2012-07-26 13:13:26 +02:00
Andreas Jaeger
f8d44fdc72 Merge Linux 3.5 epoll changes
Add EPOLLWAKEUP.
2012-07-26 13:11:33 +02:00
Andreas Jaeger
bfc07087bf Merge _sigsys changes from Linux 3.5 2012-07-26 13:11:18 +02:00
Joseph Myers
89b4b02f42 Remove pre-2.4.21 Linux kernel support. 2012-07-25 21:19:13 +00:00
Florian Weimer
84b3fd8407 Rename __secure_getenv to secure_getenv 2012-07-25 19:46:22 +02:00
Joseph Myers
0f48659e36 Move localplt baselines to sysdeps directories. 2012-07-20 19:20:34 +00:00
Joseph Myers
ef1354a5fe Remove TLS configure check for MIPS. 2012-07-17 22:48:57 +00:00
Joseph Myers
dfa359badf Remove TLS configure check for ARM. 2012-07-17 22:46:09 +00:00
Chris Metcalf
f110915184 tile: exit with status zero on makecontext return with NULL uc_link 2012-07-17 14:40:48 -04:00
Chris Metcalf
6df48a9b8b tile: update libm test ULPs 2012-07-17 14:40:48 -04:00
Chris Metcalf
e3e5d6470d Move tile c++-types baselines to sysdeps directories. 2012-07-17 14:40:47 -04:00
Joseph Myers
7d67a5d1dc Add c++-types information for MIPS. 2012-07-17 16:25:02 +00:00
Joseph Myers
bd29910a8a Move c++-types baselines to sysdeps directories. 2012-07-17 14:44:06 +00:00
Andreas Schwab
aaf5420c6d m68k: add support for {get,make,set,swap}context 2012-07-16 19:23:33 +02:00
Joseph Myers
ec332e944f Remove pre-2.4.1 Linux kernel support. 2012-07-12 12:31:32 +00:00
Maxim Kuvyrkov
a766fb45a3 Rewrite MIPS' atomic.h to use __atomic_* builtins. 2012-07-11 16:47:58 -07:00
Chris Metcalf
ba7fefc8e0 tile: correct typo in comment 2012-07-10 10:38:18 -04:00
Chris Metcalf
5f5bcf71f7 tile: Convert ASM_GLOBAL_DIRECTIVE to .globl 2012-07-10 10:38:18 -04:00
Joseph Myers
cea48cfbdd Change ASM_GLOBAL_DIRECTIVE to .globl for ARM. 2012-07-10 14:29:29 +00:00
Andreas Schwab
c1d0079034 m68k: update libm test ULPs 2012-07-09 20:59:14 +02:00
Petar Jovanovic
76b1f93b04 Do not store data below the stack pointer on MIPS. 2012-07-06 19:12:21 +00:00
Joseph Myers
c57a67e033 Add ARM-specific static-stubs.c. 2012-07-05 22:16:03 +00:00
Joseph Myers
95f5a9a866 Avoid use of libgcc_s and libgcc_eh when building glibc. 2012-07-03 19:14:59 +00:00
Joseph Myers
06e3c8a22d Add ppca2 to ports powerpc/dl-procinfo. 2012-07-03 17:03:29 +00:00
Joseph Myers
e64ac02c24 Move all files into ports/ subdirectory in preparation for merge with glibc 2012-07-01 13:06:41 +00:00