Marcus Shawcroft
86fe56bbde
aarch64: Fix lll_futex_timed_wait_bitset return value sign.
...
The implementation of lll_futex_timed_wait_bitset should not be negating
the futex syscall return value on error.
2012-11-21 12:24:11 +00:00
Joseph Myers
f59cba71d8
Use parentheses around MIPS syscall macro arguments.
2012-11-20 02:45:45 +00:00
Joseph Myers
aa099ade81
Fix int-to-pointer-cast warnings for MIPS.
2012-11-20 02:40:12 +00:00
Joseph Myers
6eb43a28af
Fix unused variable warnings from MIPS syscall macros.
2012-11-19 23:08:27 +00:00
Carlos O'Donell
6e63f4ff60
hppa: Mark __pthread_once as a hidden def.
2012-11-19 00:55:04 -05:00
Carlos O'Donell
0d6bed7150
hppa: Add ____longjmp_check C implementation.
2012-11-19 00:36:08 -05:00
Andreas Schwab
67f2b51c62
m68k: fix cancellable syscall with 5 or 6 arguments
2012-11-18 01:22:38 +01:00
Andreas Schwab
05860e4b07
m68k: define lll_futex_timed_wait_bitset
2012-11-18 01:22:35 +01:00
Marcus Shawcroft
f507f7d598
Fix thumb2 build breakage in libcrypt
2012-11-14 23:06:40 +00:00
Marcus Shawcroft
554066b83b
AArch64 Port
2012-11-09 17:54:04 +00:00
Joseph Myers
d7fcee3a58
Define lll_futex_timed_wait_bitset for MIPS.
2012-11-05 22:30:54 +00:00
Joseph Myers
316a1b67e1
Define lll_futex_timed_wait_bitset for ARM.
2012-11-05 22:30:37 +00:00
Thomas Schwinge
b830319d49
[BZ #157 ] Remove include/stub-tag.h for good.
2012-11-04 19:59:40 +01:00
Thomas Schwinge
46879baebf
Regenerate all configure scripts.
2012-11-01 18:04:56 +01:00
Andreas Jaeger
53176cd906
Convert alpha to use <bits/fcntl-linux.h>
2012-11-01 06:07:38 +01:00
Thomas Schwinge
4c68e86547
BZ#14743: Move clock_* symbols from librt to libc.
...
Change missing from commit 6e6249d0b4
.
2012-11-01 01:59:19 +01:00
Andreas Schwab
5a03cb1e85
Fix powerpc abilist sort order
2012-10-31 23:28:48 +01:00
Chris Metcalf
d44a6f8b99
tile: improve ABI and #include use in gettimeofday vdso support
2012-10-30 14:11:54 -04:00
Carlos O'Donell
236bb0623d
hppa: Add cfi direcvtives.
...
We add cfi directives to the syscall assembly.
2012-10-29 23:36:41 -04:00
Carlos O'Donell
e22f413005
hppa: Fix r19 save and restore.
...
We must save and restore r19 in both PIC and non-PIC
situations since the kernel paths that clobber r19
are independent of that PIC-ness of userspace.
In addition we choose r4 as the temporary register over
r3 which is being used by recent gcc's as the frame
pointer.
2012-10-29 23:16:44 -04:00
Carlos O'Donell
4ebdb01027
hppa: Optimize syscall sequence.
...
We remove an extraneous nop from the syscall sequence.
No DO_CALL* may end in an instruction with a delay slot.
2012-10-29 23:11:06 -04:00
Carlos O'Donell
f0b8ce0c73
Fix trailing whitespace.
2012-10-29 22:08:00 -04:00
Steve Ellcey
48b76e2d04
2012-10-29 Steve Ellcey <sellcey@mips.com>
...
* sysdeps/unix/sysv/linux/mips/mips32/Makefile: Remove.
* sysdeps/unix/sysv/linux/mips/mips64/n32/Makefile: Remove.
* sysdeps/unix/sysv/linux/mips/mips64/n64/Makefile: Remove.
* sysdeps/unix/sysv/linux/mips/configure.in: Create default_abi.make.
* sysdeps/unix/sysv/linux/mips/configure: Regenerate.
* sysdeps/unix/sysv/linux/mips/Makefile: Include default_abi.make.
(abi-variants): Add hard and soft float versions.
(abi-o32-options): Remove.
(abi-o32-condition): Remove.
(abi-n32-options): Remove.
(abi-n32-condition): Remove.
(abi-n64-options): Remove.
(abi-n64-condition): Remove.
(abi-o32_soft-options): New.
(abi-o32_soft-condition): New.
(abi-o32_hard-options): New.
(abi-o32_hard-condition): New.
(abi-n32_soft-options): New.
(abi-n32_soft-condition): New.
(abi-n32_hard-options): New.
(abi-n32_hard-condition): New.
(abi-n64_soft-options): New.
(abi-n64_soft-condition): New.
(abi-n64_hard-options): New.
(abi-n64_hard-condition): New.
2012-10-29 11:42:39 -07:00
Steve Ellcey
55e64efadf
2012-10-29 Steve Ellcey <sellcey@mips.com>
...
* sysdeps/unix/sysv/linux/mips/mips32/Makefile: Remove.
* sysdeps/unix/sysv/linux/mips/mips64/n32/Makefile: Remove.
* sysdeps/unix/sysv/linux/mips/mips64/n64/Makefile: Remove.
* sysdeps/unix/sysv/linux/mips/configure.in: Create default_abi.make.
* sysdeps/unix/sysv/linux/mips/configure: Regenerate.
* sysdeps/unix/sysv/linux/mips/Makefile: Include default_abi.make.
(abi-variants): Add hard and soft float versions.
(abi-o32-options): Remove.
(abi-o32-condition): Remove.
(abi-n32-options): Remove.
(abi-n32-condition): Remove.
(abi-n64-options): Remove.
(abi-n64-condition): Remove.
(abi-o32_soft-options): New.
(abi-o32_soft-condition): New.
(abi-o32_hard-options): New.
(abi-o32_hard-condition): New.
(abi-n32_soft-options): New.
(abi-n32_soft-condition): New.
(abi-n32_hard-options): New.
(abi-n32_hard-condition): New.
(abi-n64_soft-options): New.
(abi-n64_soft-condition): New.
(abi-n64_hard-options): New.
(abi-n64_hard-condition): New.
2012-10-29 11:40:31 -07:00
Chris Metcalf
d11260f86a
tile: add vDSO support for gettimeofday()
2012-10-29 13:47:57 -04:00
Andreas Jaeger
86ebe6b133
Remove redundant defines of __O_LARGEFILE
...
* sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
[!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
* sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
[__WORDSIZE != 64]: Likewise.
* sysdeps/unix/sysv/linux/generic/bits/fcntl.h: (__O_LARGEFILE)
[__WORDSIZE != 64]: Do not define, take value from
<bits/fcntl-linux.h>.
2012-10-27 13:49:30 +02:00
Andreas Jaeger
76a82e29f8
HPPA: Use <bits/fcntl-linux.h>
...
* sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Remove all
definitions and declarations that are provided by
<bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
(__O_PATH): Define.
2012-10-26 21:17:06 +02:00
Andreas Jaeger
af3a9965e5
Convert ia64, linux-generic, m68k <bits/fcntl.h> to use <bits/fcntl-linux.h>
...
* sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Remove all
definitions and declarations that are provided by
<bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
* sysdeps/unix/sysv/linux/generic/bits/fcntl.h: Remove all
definitions and declarations that are provided by
<bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
* sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Remove all
definitions and declarations that are provided by
<bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2012-10-25 20:20:08 +02:00
Roland McGrath
6e6249d0b4
BZ#14743: Move clock_* symbols from librt to libc.
2012-10-24 14:50:46 -07:00
Andreas Jaeger
de2b6422c6
Convert MIPS to use <bits/fcntl-linux.h>
...
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove all
definitions and declarations that are provided by
<bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2012-10-24 22:13:15 +02:00
Andreas Jaeger
2a0e2669f9
Always define __O_LARGEFILE
2012-10-22 16:23:20 +02:00
Andreas Jaeger
7597ceba89
ARM: Use <bits/fcntl-linux.h>
...
* sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Remove all
definitions and declarations that are provided by
<bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2012-10-22 09:34:11 +02:00
Chris Metcalf
b8d7c0968c
tilegx: add optimized sched_getcpu() using TILE_COORD SPR
...
We can discover our x,y coordinate in the core mesh with an
mfspr instruction, multiply y by the core mesh width, and have
the core number without needing to ask the kernel.
2012-10-12 14:26:25 -04:00
Carlos O'Donell
9d9358f2eb
hppa: Update pthread.h
...
Updates the hppa-specific pthread.h from the generic version.
After this update the only difference between the generic
version and the hppa version is the footer protected by the
_PTHREAD_H_HPPA_ guard.
2012-10-10 23:00:00 -04:00
Carlos O'Donell
fd328df065
hppa: Remove pt-initfini.c
...
Rmoves the unused pt-initfini.c
2012-10-10 22:52:00 -04:00
Roland McGrath
b8493de0ec
Add missing magic to GLIBC_PROVIDES.
2012-10-09 15:41:30 -07:00
Siddhesh Poyarekar
adcdc775e1
Fix clone flag name in comment to CLONE_CHILD_CLEARTID.
2012-10-02 08:52:55 +05:30
Roland McGrath
51367701af
Get rid of unused __swblk_t type.
2012-10-01 14:39:29 -07:00
Roland McGrath
93c65d4384
Clean up init-first.c files.
2012-10-01 12:55:34 -07:00
Richard Henderson
c18b7473cb
alpha: Fix all users of SYSCALL_ERROR_HANDLER
...
The fix begun in 64e65bc1
was incomplete. Fixed by adding
a new SYSCALL_ERROR_FALLTHRU macro.
2012-09-28 10:51:01 -07:00
Joseph Myers
f6a2737f08
Add __ppc_get_timebase_freq to powerpc-nofpu ABI baseline.
2012-09-26 00:30:54 +00:00
Carlos O'Donell
11aaf6ef2d
hppa: Use __prlimit64 as the internal name.
...
Fix a build failure by using __prlimit64 as the internal
function name for the versioned symbol prlimit64. Without
this patch the build system attempts to alias prlimit64
to itself and that is invalid.
2012-09-20 10:39:27 -04:00
Carlos O'Donell
eee7025916
hppa: Add EHWPOISON and bump errlist-compat to 260
...
Add errno EHWPOISON and bump the errlist-compat table to 260,
providing 2 padding entries for future use before bumping is
again required.
2012-09-20 03:18:47 -04:00
Richard Henderson
01e80428f7
alpha: Streamline __setfpucw
...
The convert_bit macro allows the compiler to translate the bit
positions more efficiently. The assumption of only running at
program startup allows eliding the __ieee_get_fp_control call.
2012-09-13 13:13:22 -07:00
Richard Henderson
c899d15cbd
alpha: Update localplt.data
2012-09-13 13:13:22 -07:00
Chris Metcalf
48bac3debb
tile: fix type of prfpregset_t in <sys/procfs.h>
...
The previous dummy definition (as type int) was fine in general, since
tile doesn't have floating-point registers, but it confused gdb's
configure, leading to later compile errors. This change also makes
prfpregset_t parallel to prgregset_t, which seems like generally the
right thing regardless of the non-existence of the actual registers :-)
2012-09-06 11:43:56 -04:00
Joseph Myers
ad845c0be9
Remove __ASSUME_STAT64_SYSCALL.
2012-08-27 19:36:04 +00:00
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
Maxim Kuvyrkov
309becf120
Optimize __libc_lock_lock and __libc_lock_trylock for MIPS.
2012-08-15 16:44:30 -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
f2c05b9ecf
Remove __ASSUME_CLONE_THREAD_FLAGS.
2012-08-14 22:34:04 +00: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
Joseph Myers
121dce05fe
Move Linux kernel version conditionals to kernel-features.h.
2012-08-10 15:53:27 +00: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
Joseph Myers
b36137f1d6
Remove __ASSUME_TGKILL.
2012-08-08 23:22:53 +00: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
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
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
Joseph Myers
7aab07e4e5
Remove pre-2.6.0 Linux kernel support (bug 13717).
2012-08-03 13:42:47 +00: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
Joseph Myers
7e6242f556
Improve MIPS n64 handling of 64-bit fcntl.
2012-07-31 23:17:24 +00:00
Joseph Myers
89d9c04def
Make mmap64 an alias of mmap on MIPS.
2012-07-27 13:43:46 +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
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
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
Chris Metcalf
ba7fefc8e0
tile: correct typo in comment
2012-07-10 10:38:18 -04:00
Joseph Myers
e64ac02c24
Move all files into ports/ subdirectory in preparation for merge with glibc
2012-07-01 13:06:41 +00:00