Commit Graph

3878 Commits

Author SHA1 Message Date
Andreas Jaeger
7333835592 Fix x86_64/sched_getcpu.S error code
Rearrange code so that pseudo_end is just ret and the stack pointer
is correct also for static library in error case.
2012-05-22 22:35:04 +02:00
H.J. Lu
da0331a873 Add x32 arch_prctl 2012-05-22 12:43:46 -07:00
H.J. Lu
31a39bd841 Add INTERNAL_SYSCALL_TYPES 2012-05-22 12:42:36 -07:00
H.J. Lu
a4f6e48124 Add x32 support to x86_64/bits/fcntl.h 2012-05-22 09:25:29 -07:00
H.J. Lu
f63d5db67c Use "neg %eax" in i386 SYSCALL_ERROR_HANDLER 2012-05-22 09:24:24 -07:00
H.J. Lu
0e44a77e48 Use "neg %eax" in x86_64 SYSCALL_SET_ERRNO 2012-05-22 05:34:36 -07:00
H.J. Lu
5e1a27a96d Pad each field to __syscall_slong_t in struct rusage 2012-05-22 05:32:34 -07:00
David S. Miller
46259beccc Remove straggling references to .s files.
* Makefules (o-iterator): Remove .s cases.
	(compile-command.s): Delete.
	(COMPILE.s): Delete.
	* sysdeps/unix/make-syscalls.sh: Remove .s file tests.
2012-05-21 21:59:29 -07:00
H.J. Lu
c5b3a2c05b Rename x32 llseek.S to lseek.S and add dummy llseek.S 2012-05-21 15:41:37 -07:00
H.J. Lu
bbb3154bc9 Add x32 llseek.S 2012-05-21 14:50:21 -07:00
H.J. Lu
20c07380db Rename __WORDSIZE_COMPAT32 to __WORDSIZE_TIME64_COMPAT32 2012-05-21 13:39:55 -07:00
Roland McGrath
6c7fb1458d x32: Don't lose high bits of %rbp in setjmp/longjmp mangling/demangling. 2012-05-21 13:04:11 -07:00
H.J. Lu
61f65140eb Define __SYSCALL_WORDSIZE for x86-64 2012-05-21 11:45:16 -07:00
H.J. Lu
d024d23cbe Add x32 syscalls.list 2012-05-21 11:32:25 -07:00
Richard Henderson
c7683a6d02 Add <sys/auxv.h> and getauxval. 2012-05-20 10:40:35 -07:00
H.J. Lu
f66f0ce833 Add 64-bit preadv.c and pwritev.c 2012-05-19 06:51:12 -07:00
H.J. Lu
bb07f69f3b Use __syscall_slong_t in bits/timex.h 2012-05-19 06:45:33 -07:00
H.J. Lu
1b74487e90 Use RAX_LP and "or" to operate on return value 2012-05-18 11:05:56 -07:00
H.J. Lu
7cd195df62 Check d_ino/d_off before using getdents syscall 2012-05-18 07:12:47 -07:00
H.J. Lu
18298070c0 Fold copyright years 2012-05-18 04:16:55 -07:00
H.J. Lu
553c7ea4fa Add x32 support to x86_64/bits/sigcontext.h 2012-05-18 04:10:55 -07:00
H.J. Lu
3707636e48 Use anonymous union in x86_64/sys/user.h 2012-05-18 04:07:51 -07:00
H.J. Lu
428bd7074c Use __syscall_ulong_t in pselect.c 2012-05-17 17:27:13 -07:00
H.J. Lu
3e5aef87d7 Add __fsword_t and use it in bits/statfs.h 2012-05-17 17:20:52 -07:00
H.J. Lu
48970aba30 Fold copyright years 2012-05-16 20:02:44 -07:00
H.J. Lu
661768bb50 Use __syscall_slong_t in bits/mqueue.h 2012-05-16 14:39:45 -07:00
H.J. Lu
d4261567b7 Add x32 suppport to x86_64/bits/stat.h 2012-05-16 13:23:20 -07:00
H.J. Lu
cf3ff365ec Add x86-64 bits/typesizes.h 2012-05-16 13:16:18 -07:00
H.J. Lu
76cf3e4d01 Add x86_64/bits/ipctypes.h 2012-05-16 13:02:28 -07:00
H.J. Lu
a637753a56 Use __syscall_ulong_t in bits/ipc.h 2012-05-16 13:01:32 -07:00
H.J. Lu
d5e0511985 Add x32 support to sys/ucontext.h 2012-05-16 12:52:45 -07:00
H.J. Lu
f62ee380a1 Add x32 support to <sys/user.h> 2012-05-16 12:17:31 -07:00
H.J. Lu
5762f7aeff Add x32 support to x86_64/bits/shm.h 2012-05-16 11:48:54 -07:00
H.J. Lu
a26b685664 Add x32 support to x86_64/bits/sem.h 2012-05-16 11:47:22 -07:00
H.J. Lu
cb2b9ef758 Add x32 support to x86_64/bits/msq.h 2012-05-16 11:45:19 -07:00
H.J. Lu
34683bb01b Check __x86_64__ in x86_64/bits/a.out.h 2012-05-16 10:35:34 -07:00
H.J. Lu
84a6878674 Add x86-64 <bits/siginfo.h> 2012-05-16 10:31:10 -07:00
H.J. Lu
5e90c8ad55 Check __x86_64__ in x86-64 sys/reg.h 2012-05-16 10:20:45 -07:00
H.J. Lu
23dfb58b4d Add x32 support to sys/procfs.h 2012-05-16 10:20:06 -07:00
H.J. Lu
ce5d54b0d6 Use ULL suffix on DR_CONTROL_RESERVED 2012-05-16 10:19:17 -07:00
H.J. Lu
13dc9eac61 Add uintptr_t cast to GET_PC/GET_FRAME/GET_STACK 2012-05-16 10:18:30 -07:00
H.J. Lu
a7895d159f Use 64bit filesystem functions for x32 2012-05-16 10:01:44 -07:00
H.J. Lu
a46f2169d3 Remove __snseconds_t 2012-05-15 18:05:26 -07:00
H.J. Lu
de986b5636 Add __syscall_slong_t and __syscall_ulong_t 2012-05-15 17:41:38 -07:00
H.J. Lu
85736dc78b Use R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE 2012-05-15 16:43:11 -07:00
Joseph Myers
cc03b29695 Avoid plain "aligned" attributes in installed headers. 2012-05-15 21:26:40 +00:00
H.J. Lu
2953ec750f Add x32 init-first.c 2012-05-15 12:51:18 -07:00
Chris Metcalf
02a9193863 Remove duplicate #include <not-cancel.h> in Linux getsysstats.c 2012-05-15 15:02:58 -04:00
H.J. Lu
890d8bd854 Replace 8-byte data alignment with LP_SIZE alignment 2012-05-15 10:17:30 -07:00
H.J. Lu
f6ee662322 Load pointer to TID into R10_LP 2012-05-15 10:15:35 -07:00
H.J. Lu
ea2626f675 Add x32 dl-cache.h 2012-05-15 10:14:34 -07:00
H.J. Lu
085f715e51 Add x32 getcpu and sched_getcpu 2012-05-15 10:13:55 -07:00
Roland McGrath
ceb809dcae Use _dl_fatal_printf instead of a private variant. 2012-05-14 16:10:12 -07:00
Joseph Myers
37f1abd46c Improve consistency of --enable-kernel and default builds. 2012-05-14 22:22:52 +00:00
H.J. Lu
e02f153a1a Update x86_64 PTR_MANGLE/PTR_DEMANGLE for x32 2012-05-14 15:16:27 -07:00
Andreas Jaeger
7ac772940e Remove unused variable in linux/getcwd.c 2012-05-14 16:27:05 +02:00
Joseph Myers
ffb7875d03 Remove pre-2.2 Linux kernel support. 2012-05-14 14:11:02 +00:00
H.J. Lu
2523c62bec Free memory at exit in check_pf.c 2012-05-14 05:02:08 -07:00
Thomas Schwinge
dc70356cbf Avoid dup3 PLT usage.
Fixes fallout from 5aa3a74a59.
2012-05-12 10:53:04 +08:00
Thomas Schwinge
674cdbc7a3 Hurd: Support --prefix=/usr special-casing for all GNU systems. 2012-05-10 15:57:28 -07:00
Joseph Myers
6f27cd1659 Move remaining syscalls from sysdeps/unix/sysv/syscalls.list to sysdeps/unix/sysv/linux/syscalls.list. 2012-05-10 14:51:08 +00:00
Joseph Myers
7ea5391a02 Remove more overridden entries from sysdeps/unix/sysv/syscalls.list. 2012-05-08 13:34:45 +00:00
Joseph Myers
eee2bc67a0 Remove entries from sysdeps/unix/sysv/syscalls.list duplicating ones in sysdeps/unix/. 2012-05-08 11:18:02 +00:00
Joseph Myers
7b17aeda0c Remove overridden entries from sysdeps/unix/sysv/syscalls.list. 2012-05-05 10:28:28 +00:00
Joseph Myers
f7c85819fd Merge sysdeps/unix/common into sysdeps/unix. 2012-05-04 23:15:56 +00:00
H.J. Lu
336270d0f1 Move x86-64 abilist files to 64/nptl 2012-05-04 16:13:07 -07:00
Joseph Myers
fa8ee51614 Remove unused sysdeps/unix/common/bits/ headers. 2012-05-04 22:37:11 +00:00
Joseph Myers
d128e45089 Remove unused sysdeps/unix/bsd/ files. 2012-05-04 22:36:16 +00:00
Andreas Schwab
6fef930cf3 Fix missing vm86 symbol 2012-05-04 12:46:23 +02:00
Andreas Schwab
0741d64c91 Update powerpc ABI data 2012-05-01 20:08:42 +02:00
David S. Miller
8dbd5d7b90 Move abilist files into sysdep dirs.
* Makerules (%.abilist): Add vpath on sysdep_dirs.
	(check-abi-%): Remove AWK script prerequisite and explicit
	abilist directory.
	(check-abi): Rewrite to just diff the symlist with the abilist.
	(config-tls, config-abi-config): Delete, no longer used.
	(update-abi-%): Remove AWK script and explicit abilist directory.
	(update-abi): Rewrite to simply compare and conditionally copy the
	symlist and the sysdep abilist file.  Remove update-abi-config
	checks.
	* abilist/ld.abilist: Remove.
	* abilist/libBrokenLocale.abilist: Remove.
	* abilist/libanl.abilist: Remove.
	* abilist/libcrypt.abilist: Remove.
	* abilist/libdl.abilist: Remove.
	* abilist/librt.abilist: Remove.
	* abilist/libthread_db.abilist: Remove.
	* abilist/libutil.abilist: Remove.
	* scripts/extract-abilist.awk: Remove.
	* scripts/merge-abilist.awk: Remove.
	* sysdeps/generic/libcidn.abilist: New file.
	* sysdeps/generic/libnss_compat.abilist: New file.
	* sysdeps/generic/libnss_db.abilist: New file.
	* sysdeps/generic/libnss_dns.abilist: New file.
	* sysdeps/generic/libnss_files.abilist: New file.
	* sysdeps/generic/libnss_hesiod.abilist: New file.
	* sysdeps/generic/libnss_nis.abilist: New file.
	* sysdeps/generic/libnss_nisplus.abilist: New file.
	* sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
	* sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
	* sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
	file.
	* sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
	* sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
	* sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
	* sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
	* sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
	* sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
	* sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
	* sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
	* sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
	file.
	* sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
	* sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
	* sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
	* sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
	file.
	* sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
	* sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
	* sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
	* sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
	* sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
	* sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
	file.
	* sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
	* sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
	* sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
	file.
	* sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
	* sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
	New file.
	* sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
	New file.
	* sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
	New file.
	* sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
	New file.
	* sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
	New file.
	* sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
	New file.
	* sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
	New file.
	* sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
	New file.
	* sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
	New file.
	* sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
	New file.
	* sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
	New file.
	* sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
	New file.
	* sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
	New file.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
	file.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
	New file.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
	New file.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
	file.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
	New file.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
	New file.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
	file.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
	New file.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
	New file.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
	New file.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
	New file.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
	New file.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
	New file.
	* sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
	* sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
	file.
	* sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
	New file.
	* sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
	file.
	* sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
	file.
	* sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
	file.
	* sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
	file.
	* sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
	file.
	* sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
	New file.
	* sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
	file.
	* sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
	file.
	* sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
	New file.
	* sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
	file.
	* sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
	* sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
	file.
	* sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
	New file.
	* sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
	file.
	* sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
	file.
	* sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
	file.
	* sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
	file.
	* sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
	file.
	* sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
	New file.
	* sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
	file.
	* sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
	file.
	* sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
	New file.
	* sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
	file.
	* sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
	* sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
	* sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
	file.
	* sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
	* sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
	* sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
	* sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
	* sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
	* sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
	* sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
	* sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
	* sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
	* sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
	* sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
	* sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
	file.
	* sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
	New file.
	* sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
	file.
	* sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
	file.
	* sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
	file.
	* sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
	file.
	* sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
	file.
	* sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
	New file.
	* sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
	New file.
	* sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
	file.
	* sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
	New file.
	* sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
	file.
	* sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
	* sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
	file.
	* sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
	New file.
	* sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
	file.
	* sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
	file.
	* sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
	file.
	* sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
	file.
	* sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
	file.
	* sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
	New file.
	* sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
	New file.
	* sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
	file.
	* sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
	New file.
	* sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
	file.
2012-04-28 04:36:51 -04:00
Joseph Myers
5aeb141a56 Remove unused sysdeps/unix/i386 files. 2012-04-26 18:45:56 +00:00
Joseph Myers
7143acae9f Move sysdeps/unix/common/tcsendbrk.c to sysdeps/unix/sysv/linux/. 2012-04-26 18:44:38 +00:00
David S. Miller
aab39a094e Delete everything under sysdeps/unix/sparc/
* sysdeps/unix/sparc/brk.S: Delete.
	* sysdeps/unix/sparc/dl-brk.S: Delete.
	* sysdeps/unix/sparc/pipe.S: Delete.
	* sysdeps/unix/sparc/sysdep.S: Delete.
	* sysdeps/unix/sparc/sysdep.h: Delete.
	* sysdeps/unix/sparc/vfork.S: Delete.
	* sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
	SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
	* sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
	ret_ERRVAL, r0, r1, MOVE): Define.
	(JUMPTARGET): Remove.
	* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
	sysdeps/unix/sparc/sysdep.h
	(ENTRY, END): Remove.
	* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2012-04-25 11:52:31 -07:00
Joseph Myers
ae186e9a85 Remove unused fork implementations. 2012-04-24 23:02:49 +00:00
Joseph Myers
b96914afa8 Remove unused sysdeps/unix/system.c. 2012-04-24 21:53:41 +00:00
Joseph Myers
f37e0d6819 Remove unused sysdeps/unix/getegid.S and sysdeps/unix/geteuid.S. 2012-04-24 21:27:17 +00:00
Joseph Myers
940ab4b3b8 Remove unused sysdeps/unix/{,sysv/}getdents.c. 2012-04-24 18:48:59 +00:00
Joseph Myers
90e037bdc3 Merge sysdeps/unix/mman into sysdeps/unix. 2012-04-24 18:46:47 +00:00
Joseph Myers
4ad451e281 Move sysdeps/unix/sysv/gethostname.c to sysdeps/posix/. 2012-04-23 18:53:47 +00:00
Joseph Myers
5e37ce39a2 Remove unused sysdeps/unix/execve.S. 2012-04-23 18:52:33 +00:00
Joseph Myers
1ad743de3e Remove unused sysdeps/unix/_exit.S. 2012-04-23 18:51:37 +00:00
Joseph Myers
b0fe253f8d Merge sysdeps/unix/sysv/Versions into sysdeps/unix/sysv/linux/Versions. 2012-04-21 13:18:11 +00:00
Nix
b8e3372811 Put vm86 into libc.a
[BZ #7064]
vm86 was not included in libc.a at all due to the default symbol
explicitely added to the weak symbol.
2012-04-21 07:12:50 +02:00
Joseph Myers
a90f3bcb47 Remove unused sysdeps/unix/common/lxstat.c. 2012-04-20 22:39:42 +00:00
Joseph Myers
edc7ea78c1 Remove sysdeps/unix/sysv/Makefile. 2012-04-20 22:34:45 +00:00
Joseph Myers
cb78c221d5 Remove unused sysdeps/unix/sysv/direct.h. 2012-04-20 21:13:53 +00:00
Joseph Myers
efa6a45f2a Remove unused sysdeps/unix/sysv/bits/*.h. 2012-04-20 20:48:58 +00:00
Joseph Myers
9c9f2d0c76 Remove unused sysdeps/unix/sysv/setrlimit.c. 2012-04-20 20:31:51 +00:00
Joseph Myers
4541c83bea Remove unused sysdeps/unix/xmknod.c. 2012-04-20 20:30:00 +00:00
Joseph Myers
f5d153a031 Remove unused sysdeps/unix/sysv/settimeofday.c. 2012-04-20 20:28:59 +00:00
Joseph Myers
aa746595d5 Remove unused sysdeps/unix/sysv/i386/time.S. 2012-04-20 20:27:29 +00:00
Joseph Myers
cce5905e8d Remove unused sysdeps/unix/{xstat,fxstat}.c. 2012-04-20 19:55:22 +00:00
Joseph Myers
37fa3841ea Remove unused sysdeps/unix/sysv/sigaction.c. 2012-04-20 17:01:47 +00:00
Joseph Myers
ff1962a397 Remove unused sysdeps/unix/sysv termio code. 2012-04-20 17:00:40 +00:00
Joseph Myers
e7740d31ee Remove unused sysdeps/unix/siglist.c. 2012-04-20 16:59:41 +00:00
Joseph Myers
ee06f18b68 Remove unused sysdeps/unix/getppid.S. 2012-04-20 16:58:45 +00:00
Joseph Myers
097d59fa61 Remove unused sysdeps/unix/{mkdir.c,rmdir.c}. 2012-04-20 16:57:46 +00:00
Andreas Schwab
ff3d51ec58 Fix computation of inflated errlist size 2012-04-19 19:05:19 +02:00
Antoine Balestrat
c7a6ab72e9 Fix variable check in sparc clock frequency probing.
* sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
	(__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2012-04-13 14:31:35 -07:00
H.J. Lu
4be2b57003 Add __snseconds_t and __SNSECONDS_T_TYPE 2012-04-11 11:02:59 -07:00
Ulrich Drepper
1d39e35923 Comment fixes for mmsghdr 2012-03-30 06:35:29 -04:00
Anton Blanchard
dd62fda6cc Define MAP_STACK and MAP_HUGETLB on powerpc, s390, sh and sparc.
* sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
	MAP_HUGETLB.
	* sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
	* sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
	* sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2012-03-27 18:37:16 -07:00
Andreas Jaeger
1e3cdfda74 Merge branch 'elf-move'
Conflicts:
	debug/backtracesymsfd.c
	sysdeps/generic/elf/backtracesymsfd.c
	sysdeps/i386/configure.in
2012-03-27 21:35:36 +02:00
Andreas Schwab
7998fa7899 Disable use of FMA instructions in branred 2012-03-21 23:58:50 +01:00
H.J. Lu
7785fe5a0b Check x86_64* instead of x86_64 2012-03-21 12:37:38 -07:00
H.J. Lu
eb96ffb07d Move stdio-common/_itoa.h to sysdeps/generic 2012-03-20 16:00:23 -07:00
Andreas Jaeger
d6373f9ce3 Merge branch 'master' into elf-move 2012-03-20 20:40:16 +01:00
Andreas Jaeger
ff962fb6a1 Remove unused start.c files. 2012-03-20 09:14:04 +01:00
H.J. Lu
a9879d4cde Add x32 support to ldd-rewrite.sed 2012-03-19 15:18:44 -07:00
Joseph Myers
83d1aec8fc Remove common-objdir-compile and related sysdeps/unix/Makefile code. 2012-03-19 16:23:26 +00:00
David S. Miller
90b80344c6 Add missing Versions entry for sparc's __getshmlba.
[BZ #6471]
	* sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
	for 2.16.
2012-03-17 15:55:27 -07:00
David S. Miller
77e927affd Fix warnings when uintptr_t is larger than int.
* sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
	warnings.
2012-03-16 21:02:54 -07:00
David S. Miller
374976dd13 Fix SHMLBA on sparc.
[BZ #6471]
	* sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
	properly.
	* sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
	* sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
	sysdep_routines when subdir is sysvipc.
	* sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
	__getshmlba helper.
2012-03-16 19:28:51 -07:00
H.J. Lu
6b6cd74bab Use greg_t and uintptr_t in x86-64 __makecontext 2012-03-16 15:20:45 -07:00
H.J. Lu
f1a77b01f4 Add x32 support to ldconfig 2012-03-16 15:20:45 -07:00
Joseph Myers
bd951ccbe8 Install bits/syscall.h through install-headers. 2012-03-14 20:09:44 +00:00
David S. Miller
10f62770e1 Use correct implementation for dl-fxstatat64 on sparc64.
* sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
2012-03-13 00:45:34 -07:00
David S. Miller
5f0bdb1894 Fix warning in Linux openat implementation when __ASSUME_ATFCTS is set.
* sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
	'err' in the ifdef scope in which it is actually used.
2012-03-13 00:43:20 -07:00
David S. Miller
98bb2f1cd2 Fix another instance of the _dl_random masking bug, plus coding style.
* sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
	masking out of the most significant byte of random value used.
	* sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
	Fix coding style in previous change.
2012-03-12 15:57:17 -07:00
David S. Miller
b4b2eb5eae Add some missing sparc kernel-feature.h entries.
* sysdeps/unix/sysv/linux/kernel-features.h
	(__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
	(__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
	expression.
	(__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
	later.
2012-03-12 15:51:15 -07:00
David S. Miller
a1bcbd4035 Fix some 64-bit sparc build warnings.
* sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
	(__makecontext): Fix signedness of pointer casts setting up 'sp'.
	* sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
	for 'resultvar' otherwise things get truncated on 64-bit.
2012-03-11 20:13:55 -07:00
David S. Miller
cb9d617437 Fix typing of the bit twiddling done in _dl_setup_stack_chk_guard.
* sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
	Fix masking out of the most significant byte of random value used.
2012-03-11 19:41:43 -07:00
Joseph Myers
02a6f887cb Split enum __socket_type from bits/socket.h to bits/socket_type.h. 2012-03-09 22:36:06 +00:00
David S. Miller
c64bf5feb3 Update copyright year after my most recent changes.
nptl/

	* sysdeps/unix/sysv/linux/sparc/sem_post.c: Update copyright year.

/

	* sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
	copyright year.
	* sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2012-03-08 15:09:27 -08:00
David S. Miller
e92584001a Fix several build warnings on sparc.
/

	* sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
	(set_obp_int): New function.
	(get_obp_int): New function.
	(__get_clockfreq_via_dev_openprom): Likewise.
	* sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P): Avoid
	unused variable warnings on 'val' and use builtin_expect.
	(INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with builtin_expect.
	(INLINE_CLONE_SYSCALL): Likewise.

nptl/

	* sysdeps/unix/sysv/linux/sparc/sem_post.c (__new_sem_post): Use
	atomic_increment and remove unused local variable.
	(__old_sem_post): Likewise.
2012-03-06 11:15:26 -08:00
H.J. Lu
8542dee325 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
Replace gettimeofday with __vdso_gettimeofday.

	* sysdeps/unix/sysv/linux/x86_64/init-first.c (_libc_vdso_platform_setup):
	Replace clock_gettime and getcpu with __vdso_clock_gettime and
	__vdso_getcpu.

	* sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
	time with __vdso_time.
2012-03-05 19:45:53 +01:00
Tom de Vries
6c6a98c983 2012-03-05 Tom de Vries <tom@codesourcery.com>
* sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
	default stack guard is set in last bytes.
	* sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2012-03-05 11:05:42 +01:00
David S. Miller
3c96908397 Kill sparc32 specific __getpagesize, unneeded.
* sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2012-03-01 23:30:55 -08:00
David S. Miller
53362a4b0f Remove sparc binutils GOTDATA checks in lieu of new minimum version requirement.
* sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
	* sysdeps/sparc/sparc32/dl-machine.h: Likewise.
	* sysdeps/sparc/sparc32/elf/start.S: Likewise.
	* sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
	* sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
	* sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
	* sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
	* sysdeps/sparc/sparc64/dl-machine.h: Likewise.
	* sysdeps/sparc/sparc64/elf/start.S: Likewise.
	* sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
	* sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
	* config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
	* sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
	* sysdeps/sparc/elf/configure: Regenerated.
2012-03-01 15:04:16 -08:00
Joseph Myers
abd923dbf2 Require Linux kernel headers from "make headers_install", >= 2.6.19.1. 2012-02-27 20:52:30 +00:00
Ulrich Drepper
8da0464f6f Fix name mangling of pthread_attr_t after change 2012-02-26 21:42:53 -05:00
Ulrich Drepper
d94a467080 Add first fixes for conformtest for POSIX2008 2012-02-26 21:32:56 -05:00
Ulrich Drepper
4a3dded527 Work around problem of pthread_attr_t definition with old compilers 2012-02-26 17:41:17 -05:00
Ulrich Drepper
4efeffc1d5 Fix up POSIX testing in conformtest 2012-02-26 13:17:27 -05:00
David S. Miller
c0e70b2543 Tweak sparc32 longjmp to not store a dummy frame pointer onto the stack.
* sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
	using a normal save/restore sequence, rather than allocating a
	dummy stack frame just to store a frame pointer and restore.
	* sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2012-02-20 20:50:14 -08:00
David S. Miller
0722d7c2ac Explain why we don't make use of RDPC in the sparc PIC register setup.
* sysdeps/unix/sparc/sysdep.h: Document why we don't use
	"rd %pc" in the PIC register setup sequences.
2012-02-20 17:52:01 -08:00
David S. Miller
3d2b3019e0 Use sparc GOTDATA relocations whenever possible.
* sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
	* sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
	* sysdeps/sparc/sparc32/elf/start.S: Likewise.
	* sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
	* sysdeps/sparc/sparc64/elf/start.S: Likewise.
	* sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
	* sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
	(SYSCALL_ERROR_HANDLER): Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
	(SYSCALL_ERROR_HANDLER): Likewise.
2012-02-20 17:51:53 -08:00
Joseph Myers
599af3ca61 Split architecture-specific parts of sys/epoll.h into bits/epoll.h. 2012-02-21 00:32:30 +00:00
Joseph Myers
0e4997508d Split architecture-specific parts of sys/timerfd.h into bits/timerfd.h. 2012-02-21 00:29:13 +00:00
Andreas Schwab
7638c0fda5 Add support for Linux error EHWPOISON 2012-02-19 18:27:02 +01:00
David S. Miller
dd54084dd9 Rework sparc PIC macros so crt{i,n}.S can use them too.
* sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
	(SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
	%o7 across the call.
	(SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
	instead.
	* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
	SETUP_PIC_REG_LEAF.
	* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
	* sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
	* sysdeps/sparc/crtn.S: Likewise.
2012-02-18 22:31:42 -08:00
Aurelien Jarno
8dee4833c5 Include <time.h> in clock_settime.c. 2012-02-17 17:46:56 +01:00
David S. Miller
fb59b3a4f5 Add O_FSYNC define to sparc just like other platforms. 2012-02-16 14:56:54 -08:00
Mike Frysinger
df6a4a4aec Include sys/param.h in getcwd.c. 2012-02-15 20:39:49 +00:00
Joseph Myers
8e475601f6 Split architecture-specific parts of sys/signalfd.h into bits/signalfd.h. 2012-02-15 20:11:20 +00:00
Joseph Myers
2a979d3a14 Split architecture-specific parts of sys/inotify.h into bits/inotify.h. 2012-02-14 00:13:47 +00:00
Joseph Myers
2a418ac326 Split architecture-specific parts of sys/eventfd.h into bits/eventfd.h. 2012-02-13 20:27:59 +00:00
Paul Eggert
59ba27a63a Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
Richard Henderson
af850b1c97 Use <> for include of kernel-features.h. 2012-02-09 11:21:47 -08:00
Joseph Myers
d8e0ca509a Use macro for PIC setup in inline asm. 2012-02-05 14:34:14 +00:00
Joseph Myers
b1da7dd99d Use macros for x86 PIC thunk names. 2012-02-03 23:24:19 +00:00
Roland McGrath
ee3c3be688 Merge remote-tracking branch 'origin/cmetcalf/tile_epoll_pwait'
Conflicts:
	ChangeLog
2012-01-30 09:50:40 -08:00
Roland McGrath
de9298c991 Merge remote-tracking branch 'origin/cmetcalf/tile_not_cancel_h'
Conflicts:
	ChangeLog
2012-01-30 09:49:39 -08:00
Chris Metcalf
3601428fb0 Call __fxstatat64 from faccessat() to avoid PLT in -Os builds. 2012-01-28 12:07:46 -05:00
Chris Metcalf
463de86252 Use include/sys/epoll.h to provide libc_hidden_proto for epoll_pwait(). 2012-01-28 12:00:12 -05:00
Chris Metcalf
540d7568ae Use <> brackets for not-cancel.h in sysdeps/unix/sysv/linux/grantpt.c. 2012-01-28 11:51:44 -05:00
Joseph Myers
965a54a4ee Remove __STDC__ conditionals from non-installed headers. 2012-01-26 23:31:37 +00:00
Will Schmidt
929d11c7cf Powerpc: correct duplicate label issue with multiple passes through context code 2012-01-12 17:05:03 -05:00
Will Schmidt
d1f741e912 Fix typo in Linux/PPC32 getcontext 2012-01-08 21:32:57 -05:00
Ulrich Drepper
d9a216c037 Add checking versions of poll and ppoll 2012-01-08 11:55:32 -05:00
Ulrich Drepper
a0da5fe1e4 More fallout from supporting only ELF 2012-01-08 00:45:01 -05:00
Ulrich Drepper
a784e50247 Remove pre-ISO C support
No more __const.
2012-01-07 23:57:22 -05:00
Ulrich Drepper
0269750ca6 Remove non-ELF support 2012-01-07 20:30:26 -05:00
Ulrich Drepper
00bbd29b35 Update ABI information 2012-01-07 19:23:45 -05:00
Ulrich Drepper
a2693a0e2e Remove m68k support from Linux configure 2012-01-07 13:06:38 -05:00
Ulrich Drepper
664f8cb9d5 More IA-64 removal 2012-01-07 12:55:20 -05:00
Ulrich Drepper
7ae81d88f1 Linux configure cleanup 2012-01-07 12:44:28 -05:00
Ulrich Drepper
b13b98854e Remove IA-64 support from kernel-features.h 2012-01-07 12:23:45 -05:00
Ulrich Drepper
f03fe7f932 More ia64 removal changes 2012-01-07 11:39:33 -05:00
Ulrich Drepper
d75a0a62b1 Remove IA-64 support 2012-01-07 11:19:05 -05:00
Ulrich Drepper
74033a2507 Implement timespec_get 2012-01-01 07:17:21 -05:00
Joseph Myers
154bfc1622 Support building bits/syscall.h for any number of subarch variants. 2011-12-22 18:22:50 +00:00
Ulrich Drepper
4920765eb4 Define EPOLLONESHOT and EPOLLET using unsigned values 2011-12-21 22:14:05 -05:00
Will Schmidt
91d2a8453f Simplify code for accessing powerpc GOT 2011-12-17 15:07:31 -05:00
Ulrich Drepper
f101631bfd SH atomic asms fix for gcc 4.7 2011-12-02 08:19:50 -05:00
Andreas Schwab
6257af2d05 Truncate time values in Linux futimes when falling back to utime 2011-12-01 14:24:08 +01:00
Andreas Schwab
446514f97e Fix clock_gettime for assumed kernel >= 2.6.12 2011-11-15 15:17:15 +01:00
Ulrich Drepper
a501a01e06 Pretty printing 2011-11-15 07:18:15 -05:00
Andreas Schwab
09f93bd3d6 Fix reference counting in network interface information cache 2011-11-15 10:58:00 +01:00
Ulrich Drepper
312be3f9f5 Clean up internal fopen uses
No need to ever not use c and e.
2011-11-15 04:24:42 -05:00
Ulrich Drepper
7edb22eff5 Fix wanings in clock_gettime 2011-11-12 02:54:34 -05:00
Ulrich Drepper
294ce12680 Avoid warning from shifting 2011-11-12 01:31:29 -05:00
Ulrich Drepper
e35f65ea8d unsigned long it better for the size arguments
The new syscalls should use unsigned long not size_t.  The parameters
are not a direct measure of memory size.
2011-11-01 10:38:00 -04:00
Ulrich Drepper
78239589cd New Linux syscalls process_vm_readv and process_vm_writev 2011-11-01 09:59:32 -04:00
Ulrich Drepper
3a2c02424d Cache network interface information
Whenever getaddrinfo needed network interface information it used the
netlink interface to read the information every single time.  The
problem is that this information can change at any time.

The patch implements monitoring of the network interfaces through
nscd.  If no change is detected the previously read information can
be reused (which is the norm).  This timestamp information is also
made available to other processes using the shared memory segment
between nscd and those processes.
2011-10-31 01:51:16 -04:00
Ulrich Drepper
636064eb4c Fix potential double close in __check_fd if OOM 2011-10-30 14:22:57 -04:00
Ulrich Drepper
fd5bdc0924 Optimize access to isXYZ and toXYZ tables
The functions to get the pointers can now depend on the TLS variable
be initialized.
2011-10-15 16:27:08 -04:00
Roland McGrath
5060422095 Conditionalize unnecessary #include. 2011-10-08 15:28:21 -07:00
Ulrich Drepper
2840865d5a Define IP_MULTICAST_ALL 2011-09-15 18:09:53 -04:00
Roland McGrath
b402e91af4 Use HIDDEN_JUMPTARGET rather than spelling out its effects, for ____longjmp_chk implementations. 2011-09-15 12:26:08 -07:00
Andreas Schwab
a7c8e6a147 Fix invalid conversion in __cmsg_nxthdr 2011-09-12 15:48:12 +02:00
Andreas Schwab
0f31fe7791 Prepend $(..) to $(ldd-rewrite-script) if non-absolute 2011-09-11 20:34:57 +02:00
Ulrich Drepper
02d46fc4b9 Simplify malloc initialization
Singificantly reduce the code needed at malloc initialization.  In
the process getpagesize is simplified by always initializing
GLRO(dl_pagesize).
2011-09-10 21:47:36 -04:00
Ulrich Drepper
d063d16433 Remove support for !USE___THREAD 2011-09-10 16:50:28 -04:00
Ulrich Drepper
f19009c155 Use (void*) instead of 0 for return value pointer in __cmsg_nexthdr 2011-09-09 21:46:08 -04:00
Andreas Schwab
59178ef977 Revert "Fix semid_ds for x86-64"
This reverts commit 2f0ad8f3a4.
2011-09-07 14:29:53 +02:00
Ulrich Drepper
e38ba7ab6a Make sure __vdso_clock_gettime always contains a valid pointer 2011-09-07 00:07:08 -04:00
Ulrich Drepper
fc8bffcccf Fix handling of __vdso_clock_gettime 2011-09-06 23:50:04 -04:00
Ulrich Drepper
a77d3c17dc Don't unconditionally use clock_gettime vsyscall on x86-64 2011-09-06 21:34:11 -04:00
Ulrich Drepper
d53a73acdb Avoid gettimeofday vsyscall 2011-09-06 20:22:37 -04:00
Andreas Schwab
a8f84144c9 Fix missing declaration 2011-09-06 11:20:51 +02:00
Ulrich Drepper
ef60624956 Prefer real syscalls instead of vsyscalls on x86-64 outside libc.so 2011-09-06 00:12:18 -04:00
David S. Miller
15c95c5d1a Fixes and optimizations for 32-bit sparc fabs*(). 2011-09-05 10:06:15 -07:00
Ulrich Drepper
3b142ce572 Merge branch 'master' of ssh://sourceware.org/git/glibc
Conflicts:
	ChangeLog
2011-09-05 12:46:12 -04:00
Ulrich Drepper
2f0ad8f3a4 Fix semid_ds for x86-64 2011-09-05 12:44:22 -04:00
David S. Miller
5f4318d102 Sanitize HWCAP_SPARC_* defines/usage, and add new entries. 2011-09-01 13:43:06 -07:00
David S. Miller
3ba575169a Fix sparc localplt testcase failures. 2011-08-31 17:30:41 -07:00
David S. Miller
25ad0df13b Bug fixes for ____longjmp_chk on sparc. 2011-08-22 16:53:57 -07:00
Andreas Schwab
70538b7fe6 Fix missing declaration 2011-08-22 12:17:05 +02:00
Ulrich Drepper
91b392a4ba Use ifuncs for time and gettimeofday on x86-64 2011-08-21 13:52:28 -04:00
Andreas Schwab
3b41ae4d7d Remove the file< 2011-08-20 08:38:58 -04:00
Andreas Schwab
51ccffa074 Use correct scandir64 implementation on ppc64 2011-08-20 08:33:42 -04:00
David S. Miller
c27714f111 Fix tst-writev on non-4K page size 2011-08-17 21:51:21 -04:00
David S. Miller
9c96ff2385 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
2011-08-14 04:09:28 -07:00
Ulrich Drepper
2df1f7be58 Merge branch 'master' of ssh://sourceware.org/git/glibc
Conflicts:
	ChangeLog
2011-08-11 13:02:45 -04:00
Andreas Schwab
14d9678512 Clean up PLT use for scandirat 2011-08-11 11:41:09 -04:00
David S. Miller
6761ac045d * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
enum.
	* sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
	* sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2011-08-10 23:09:24 -07:00
Ulrich Drepper
c55fbd1ea7 Implement scandirat function 2011-08-09 09:57:55 -04:00
Ulrich Drepper
879165f25a Avoid multiple definitions of identical scandir cancellation handler 2011-08-08 13:49:37 -04:00
Ulrich Drepper
8accd4dccc Define AF_NFC and PF_NFC 2011-07-23 20:06:48 -04:00
Ulrich Drepper
cbff0d9689 Update ptrace constants 2011-07-23 19:10:18 -04:00
Andreas Schwab
bfc9dc9bcf Fix missing include 2011-07-20 14:12:57 -04:00
Marek Polacek
295e904fe6 Add const attr to gnu_dev_{major,minor,makedev} 2011-07-20 12:35:29 -04:00
Andreas Krebbel
19df733e64 S/390: Don't use r11 in INTERNAL_VSYSCALL_NCS macro 2011-07-19 20:29:27 -04:00
Ulrich Drepper
298711ffe4 Fix typos in pretty much unused code in sched.h header. 2011-07-18 20:19:14 -04:00
Ulrich Drepper
319b9ad4bc Generalize framework to register monitoring of files in nscd
nscd can clear caches when certain files change.  The list of files
was hardcoded so far and worked for nss_files and nss_dns and those
modules which need no monitoring.  nss_db, for instance, has its
own set of files to monitor.  Now the NSS modules themselves can
request that certain files are monitored.
2011-07-11 14:50:24 -04:00
Ulrich Drepper
4e5f31c847 Handle ext4 in {,f}pathconf
ext4 has a higher LINK_MAX limit than ext2/3.  Unfortunately it is
not easy to distinguish the filesystems from userlevel.
2011-07-07 10:53:16 -04:00
Andreas Dilger
de283087c7 Handle Lustre filesystem 2011-07-07 00:20:32 -04:00
Ulrich Drepper
ecaddd6699 Rebuild configure scripts 2011-07-06 21:29:02 -04:00
Ulrich Drepper
4902da17c8 Add missing HAVE_SENDFILE definition 2011-06-27 12:29:04 -04:00
H.J. Lu
c2344f56e4 Use __gettimeofday instead of gettimeofday 2011-06-26 03:08:01 -04:00
Ulrich Drepper
d5495a116c Work around limit in writev in 2.6.38+ kernels 2011-06-24 14:59:17 -04:00
Ulrich Drepper
84e2a551a7 Use a /sys/devices/system/cpu/online for _SC_NPROCESSORS_ONLN implementation 2011-06-22 10:32:07 -04:00
Ulrich Drepper
852eb34d5c Rate limit expensive _SC_NPROCESSORS_ONLN computation 2011-06-22 09:50:39 -04:00
Ulrich Drepper
6e502e1945 Clean up after kernel sigcontext header mess 2011-06-22 08:32:55 -04:00
Andreas Schwab
ee22793dd0 Improve 64-bit build
An imperfect version of fxstatat64 was used in ld.so.
2011-06-15 21:46:20 -04:00
Andreas Jaeger
c71ca1f89c Quash two memset undeclared warnings. 2011-06-14 13:11:39 -07:00
Ulrich Drepper
8c29731192 Fix typo in stack guard setup code for old kernels 2011-05-31 14:23:01 -04:00
Ulrich Drepper
80e2212d8e Same change for the other siginfi.h files 2011-05-29 20:12:15 -04:00
Ulrich Drepper
b1ebd700c5 Don't document si_code used for raise() 2011-05-29 20:05:30 -04:00
Ulrich Drepper
d0478f0c81 Fix build for platforms with socketcall syscall 2011-05-28 13:18:57 -04:00
Ulrich Drepper
c738465a4c Add support for time syscall in vDSO 2011-05-28 01:53:26 -04:00
Ulrich Drepper
f1f929d74a Add sendmmsg syscall 2011-05-28 01:43:20 -04:00
Ulrich Drepper
ce67228d57 Set setns system call 2011-05-28 00:53:13 -04:00
Ulrich Drepper
a8509ca540 Use getcpu definition from vDSO on x86-64 2011-05-27 16:09:52 -04:00
Jakub Jelinek
ea486f691d Undo accidental change in x86-64 user.h 2011-05-25 16:57:13 -04:00
Ulrich Drepper
67f86a251e Define RLIMIT_RTTIME 2011-05-23 15:53:37 -04:00
Andreas Schwab
f50ef8f1ef Fix sysconf compilation for !HP_TIMING_AVAIL archs 2011-05-23 11:51:12 -04:00
Ulrich Drepper
05bb4a68ad Define CLOCK_REALTIME_ALARM and CLOCK_BOOTTIME_ALARM 2011-05-21 17:20:41 -04:00