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