Joseph Myers
8466459037
Remove ARM EABI/old-ABI conditionals.
2012-04-21 10:03:39 -07:00
Joseph Myers
1f60a18d81
Merge sysdeps/arm/eabi into sysdeps/arm.
2012-04-21 09:30:03 -07:00
Joseph Myers
25593dcaf4
Merge sysdeps/unix/sysv/linux/arm/eabi into sysdeps/unix/sysv/linux/arm.
2012-04-21 08:38:55 -07:00
Andreas Jaeger
c325f0f226
Avoid warnings about redefinition
...
* sysdeps/unix/sysv/linux/arm/ldsodefs.h: Undefine
MORE_ELF_HEADER_DATA to avoid warnings about redefinition.
2012-04-17 07:59:37 +02:00
Mike Frysinger
cde9262435
tile: update _itoa.h include path
...
Common code moved _itoa.h necessitating a change in the #include path.
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-15 12:09:17 -04:00
Andreas Schwab
29dc68465c
m68k: define MAP_STACK and MAP_HUGETLB
2012-03-29 00:22:33 +02:00
Joseph Myers
aa06d8e46a
MIPS: Define MAP_STACK and MAP_HUGETLB.
2012-03-28 12:37:21 +00:00
Joseph Myers
268413928e
ARM: Define MAP_STACK and MAP_HUGETLB.
2012-03-28 12:36:51 +00:00
Carlos O'Donell
2b6c81984b
Update copyright year to 2012.
2012-03-22 00:12:30 -04:00
Carlos O'Donell
0e8a8f6d58
[PARISC] small atomic.h optimization
...
We do not negate the light-weight syscall return and instead
just check for the negative errno value allowing the compiler
to optimize as required.
2012-03-22 00:05:14 -04:00
Andreas Schwab
57988d0ba7
m68k: update _itoa.h include
2012-03-21 00:38:10 +01:00
Joseph Myers
1422b9df29
MIPS: Update _itoa.h include.
2012-03-20 23:14:19 +00:00
Joseph Myers
bf98494a8a
ARM: Update _itoa.h include.
2012-03-20 23:13:50 +00:00
Andreas Schwab
dbf5dff174
m68k: update kernel-features.h
2012-03-13 14:31:45 +01:00
Richard Henderson
2be0ac4d53
alpha: replace bits/socket.h with bits/socket_type.h.
2012-03-11 11:15:09 -07:00
Paul Eggert
ab84e3ff9c
Replace FSF snail mail address by URL.
2012-03-09 23:56:38 +00:00
Joseph Myers
23b8c9ac74
MIPS: replace bits/socket.h with bits/socket_type.h.
2012-03-09 22:43:01 +00:00
Michael Hope
402a76b62d
ARM: Implement *context routines.
...
* sysdeps/unix/sysv/linux/arm/eabi/getcontext.S: New file.
* sysdeps/unix/sysv/linux/arm/eabi/makecontext.c: New file.
* sysdeps/unix/sysv/linux/arm/eabi/setcontext.S: New file.
* sysdeps/unix/sysv/linux/arm/eabi/swapcontext.S: New file.
* sysdeps/unix/sysv/linux/arm/ucontext_i.sym: New file.
* sysdeps/unix/sysv/linux/arm/Makefile (gen-as-const-headers): Add
ucontext_i.sym.
2012-03-05 18:00:14 -05:00
Carlos O'Donell
a64b8a466b
HPPA: Update socket.h, pthreadtypes.h and pthread.h
...
Synchronize from core libc headers.
2012-03-05 10:37:28 -05:00
Richard Henderson
ee78ea885a
alpha: Avoid -Winline warning in ioperm.c.
...
Specifically:
warning: inlining failed in call to 'inline_sethae.part.1':
call is unlikely and code size would grow [-Winline]
2012-03-04 12:03:59 -08:00
Richard Henderson
dff6d47156
alpha: Update recvmmsg and sendmmsg declarations.
2012-03-04 12:02:55 -08:00
Richard Henderson
5414279644
alpha: Update for pthread_attr_t typedef changes.
2012-03-04 11:30:01 -08:00
Andreas Schwab
175763ab68
m68k: only define pthread_attr_t if not already defined
2012-02-27 21:17:06 +01:00
Joseph Myers
bf8becc54b
MIPS: do not declare recvmmsg and sendmmsg for !__USE_GNU.
2012-02-27 15:54:30 +00:00
Joseph Myers
7bb9ccad9c
MIPS: fix pthread_attr_t definitions.
2012-02-27 15:14:41 +00:00
Joseph Myers
e7c0dc24ea
ARM: fix pthread_attr_t definitions.
2012-02-27 15:14:04 +00:00
Andreas Schwab
d735f8d4f0
m68k: fix name of pthread_attr_t union
2012-02-27 14:57:16 +01:00
Andreas Schwab
2abba740a9
m68k: name pthread_attr_t union
2012-02-26 20:40:48 +01:00
Joseph Myers
397c66b465
MIPS: Name pthread_attr_t union, use it in sigevent, don't name siginfo_t struct.
2012-02-26 19:39:23 +00:00
Joseph Myers
7ba6eb7c8a
ARM: name pthread_attr_t union.
2012-02-26 19:39:00 +00:00
Joseph Myers
429ee403b8
Remove CRIS port.
2012-02-21 17:32:26 +00:00
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
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
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
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
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
4c85d632e4
BZ #13361
...
alpha: More Linux additions copied from generic/bits/fcntl.h.
2012-02-15 12:19:47 -08: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
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
2011e6018c
alpha: Define _STAT_VER_LINUX.
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
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
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
Joseph Myers
7b966fcb48
Use const instead of __const for MIPS.
2012-01-08 13:13: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
7191c0cfd1
Update alpha files for removal of ia64 from libc.
2012-01-07 16:52:21 +00:00
Andreas Schwab
50e73d1379
m68k: add cfi directives
2012-01-05 14:52:48 +01: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
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
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
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
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
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
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
Joseph Myers
560d4a5882
Cast __cmsg_nxthdr return value for MIPS.
2011-09-13 16:04:03 +00:00
Joseph Myers
6136cdd6dd
Remove HAVE_TLS_SUPPORT conditionals for ARM.
2011-09-13 15:52:57 +00:00
Andreas Schwab
df62b0cd51
m68k: remove use of USE___THREAD
2011-09-11 16:47:45 +02: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
Joseph Myers
9dc88b5c93
Define PF_NFC and AF_NFC for MIPS.
2011-07-25 15:19:56 +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
Manjunath Matti
a875971e8e
Fix profiling build of __libc_do_syscall.
2011-04-26 22:15:46 +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