H.J. Lu
5e292e4fa5
Replace "jmp L(pseudo_end)" with "ret"
2012-05-23 11:35:38 -07:00
Andreas Jaeger
45d348a859
Move poll to syscalls.list
2012-05-23 20:21:00 +02:00
Andreas Jaeger
1a09dc565d
Add more constants to Linux <sys/reboot.h>
...
2012-05-23 Andreas Jaeger <aj@suse.de>
Maximilian Attems <max@stro.at>
* sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND,
RB_KEXEC):
New macros.
2012-05-23 20:16:00 +02:00
H.J. Lu
1c87aba0f2
Fix x32 sched_getcpu.S error code
2012-05-23 06:48:05 -07:00
Joseph Myers
c26705334c
Add comments suggesting moving some functions to syscalls.list.
2012-05-23 12:52:56 +00:00
Andreas Jaeger
be08eda54c
Update from Linux 3.4
2012-05-23 09:27:39 +02:00
Roland McGrath
a6a056bba7
Simplify dl-vdso.h use of assert.
2012-05-22 14:24:54 -07:00
H.J. Lu
cb191f2300
Remove $(sysctl) from sysdep_routines
2012-05-22 13:58:43 -07:00
H.J. Lu
c900932878
Add sysctl.mk and bits/sysctl.h
2012-05-22 13:46:29 -07:00
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
Adhemerval Zanella
45470df378
PowerPC: libm ABI update
...
Update for libm abilist for POWER6 and POWER7.
2012-05-22 15:34:02 -03: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
Andreas Jaeger
d8d1017e5e
Fix warnings in wcschr-c.c
...
Fixes:
In file included from ../sysdeps/i386/i686/multiarch/wcschr-c.c:8:0:
../wcsmbs/wcschr.c:26:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
../wcsmbs/wcschr.c:37:1: warning: data definition has no type or storage class [enabled by default]
../wcsmbs/wcschr.c:37:1: warning: type defaults to ‘int’ in declaration of ‘__hidden_ver1’ [enabled by default]
../wcsmbs/wcschr.c:37:1: warning: parameter names (without types) in function declaration [enabled by default]
2012-05-21 22:27:11 +02: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
Adhemerval Zanella
478143fa17
PowerPC: ULPs update
...
Adjustments for libm ulps added with commit d8b82cad1b
,
495fd99f3a
, and 5ba3cc691c
.
I also adjusted some exp10 ulps definition that was higher than needed.
2012-05-21 14:28:51 -03:00
Richard Henderson
c7683a6d02
Add <sys/auxv.h> and getauxval.
2012-05-20 10:40:35 -07:00
Adhemerval Zanella
a6f1845d45
Update powerpc ULPs for ccos, csin, ccosh, csinh tests.
2012-05-19 15:46:20 +00:00
David S. Miller
cbcbe830f9
Update sparc ULPs for ccos, csin, ccosh, csinh tests.
2012-05-19 15:36:55 +00:00
Joseph Myers
e0b16cc25c
Fix ccos, csin, ccosh, csinh overflows (bug 14123).
2012-05-19 15:35:29 +00:00
H.J. Lu
f66f0ce833
Add 64-bit preadv.c and pwritev.c
2012-05-19 06:51:12 -07:00
H.J. Lu
6ad13e088d
Add a comment to sysdeps/x86_64/x32/_itoa.h
2012-05-19 06:46:29 -07:00
H.J. Lu
bb07f69f3b
Use __syscall_slong_t in bits/timex.h
2012-05-19 06:45:33 -07:00
Joseph Myers
b1d072a75e
Remove sysdeps/powerpc/soft-fp.
2012-05-19 10:03:24 +00:00
H.J. Lu
1b74487e90
Use RAX_LP and "or" to operate on return value
2012-05-18 11:05:56 -07:00
Tulio Magno Quites Machado Filho
a88b64b9bb
[PowerPC] Remove -ftree-loop-linear from Makefiles
...
In the past the "-ftree-loop-linear" switch provided a measurable
improvement in performance for certain functions. At some point it
was assigned as the responsibility of Graphite in GCC. It has been
found that even with Graphite enabled these flags no longer perform
any appreciable improvement over the baseline.
Graphite now has some open bugs which need to be fixed in order for it
to provide measurable performance improvements but it lacks active
development. As a result some compiler distributors may disable
Graphite. If Graphite is disabled then building GLIBC will fail if
the "-ftree-loop-linear" switch is used.
This patch removes the use of "-ftree-loop-linear" as unnecessary.
2012-05-18 10:15:30 -05:00
H.J. Lu
610b86225e
Add sysdeps/x86_64/x32/_itoa.h
2012-05-18 07:37:55 -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
Andreas Schwab
37fb1dc057
Avoid runtime GOT relocations in ld.so on powerpc
2012-05-18 12:00:22 +02:00
Andreas Schwab
b53ef01aa2
Fix undefined reference to _dl_prof_resolve in profiled libc
2012-05-18 11:59:44 +02:00
Andreas Jaeger
7a185db2b7
Do not provide inlines for GCC build-in functions
2012-05-18 09:08:14 +02: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
2e4c1e9edb
Cast to unsigned long
2012-05-17 12:44:52 -07:00
Andreas Jaeger
de7f5ce7c5
Fix warnings on Linux/i686
...
Fixes:
../sysdeps/i386/dl-machine.h:336:30: warning: unused variable ‘refsym’ [-Wunused-variable]
rtld.c:1435:3: warning: implicit declaration of function ‘_dl_discover_osversion’ [-Wimplicit-function-declaration]
2012-05-17 20:17:53 +02:00
H.J. Lu
477cc68e90
Add tst-mallocalign1
2012-05-17 09:55:25 -07:00
Carlos O'Donell
1a0994f535
BZ#14059: Fix AVX and FMA4 detection.
...
Fix AVX and FMA4 detection by following the guidelines
set out by Intel and AMD for detecting these features.
2012-05-17 06:59:28 -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
953ca31a0c
Add x32 gmp-mparam.h
2012-05-16 11:54:57 -07:00
H.J. Lu
617aca05db
Add x32 ffs
2012-05-16 11:54:56 -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
48baa5f1d1
Add dummy files for x32
2012-05-16 10:24:02 -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
Andreas Schwab
5bd66283db
Track dependencies for .oS-only objects
2012-05-16 18:47:38 +02:00
H.J. Lu
a46f2169d3
Remove __snseconds_t
2012-05-15 18:05:26 -07:00
H.J. Lu
6af6528b3b
Add __SYSCALL_{S,U}LONG_TYPE to hurd typesizes.h
2012-05-15 17:54:06 -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
a9538892ad
Split up stackguard-macros.h into sysdeps directories.
2012-05-15 23:34:30 +00:00
H.J. Lu
9317101683
Add x86_64 Implies-after files
2012-05-15 14:38:32 -07:00
Joseph Myers
cc03b29695
Avoid plain "aligned" attributes in installed headers.
2012-05-15 21:26:40 +00:00
H.J. Lu
d86813a021
Use R*_LP to call _dl_profile_fixup and frame size
2012-05-15 14:24:00 -07:00
H.J. Lu
2953ec750f
Add x32 init-first.c
2012-05-15 12:51:18 -07:00
H.J. Lu
3b550e9e48
Add sysdeps/x86_64/x32/sysdep.h
2012-05-15 12:49:42 -07:00
H.J. Lu
eda4170670
Use R*_LP on SP and PC in __longjmp.S and setjmp.S
2012-05-15 12:46:04 -07:00
Adhemerval Zanella
9ea01d93f7
Log2 and log10 for wordsize-64.
...
This patch also fixes indentation on default dbl-64 code.
2012-05-15 16:34:41 -03: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
H.J. Lu
be8498fca0
Use RSP_LP to operate on stack in stackinfo.h
2012-05-15 10:00:56 -07:00
H.J. Lu
70bc83b910
Load pointers into RAX_LP in strcmp-sse42.S
2012-05-15 09:59:31 -07:00
H.J. Lu
9bc0b730a6
Load cache sizes into R*_LP in memcpy-ssse3.S
2012-05-15 09:58:28 -07:00
H.J. Lu
6d2850e7f5
Load cache sizes into R*_LP in memcpy-ssse3-back.S
2012-05-15 09:56:17 -07:00
H.J. Lu
3cb845617b
Load pointers into R*_LP in strcmp.S
2012-05-15 09:54:05 -07:00
H.J. Lu
54e2ed8105
Load cache sizes into R11_LP/R8_LP
2012-05-15 09:52:35 -07:00
H.J. Lu
8a17f34979
Load cache size into R8_LP
2012-05-15 09:35:43 -07:00
Adhemerval Zanella
777b1eea9d
PowerPC - logb[f|l] optimization for POWER7
...
This patch provides optimized logb (1.2x on PPC32 and 2.5x on PPC64),
logbf (1.1x on PPC32 and 2.2x on PPC64), and logbl (1.3x on PPC32 and
50% on PPC64) for the POWER7 processor.
2012-05-15 10:32:28 -05:00
H.J. Lu
6cdef1ab36
Update sysdeps/x86_64/start.S for x32
2012-05-14 17:50:41 -07:00
H.J. Lu
0b254d8f3d
Add sysdeps/x86_64/{64,x32}/shlib-versions
2012-05-14 16:23:57 -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
11de3a3371
Update elf_machine_load_address for x32
2012-05-14 15:17:30 -07:00
H.J. Lu
e02f153a1a
Update x86_64 PTR_MANGLE/PTR_DEMANGLE for x32
2012-05-14 15:16:27 -07:00
H.J. Lu
520ae0fd0b
Define LP_SIZE/LP_OP/ASM_ADDR/RXX_LP for x86-64
2012-05-14 14:56:07 -07:00
H.J. Lu
b985be81fa
Add x32 dl-machine.h
2012-05-14 13:21:46 -07:00
Andreas Jaeger
7ac772940e
Remove unused variable in linux/getcwd.c
2012-05-14 16:27:05 +02:00
Andreas Jaeger
caae5a8101
Remove unused functions from i386/mathinline.h
2012-05-14 16:13:24 +02:00
Joseph Myers
ffb7875d03
Remove pre-2.2 Linux kernel support.
2012-05-14 14:11:02 +00:00
H.J. Lu
c044d724dc
Use __builtin_clzll on int64 in __logb
2012-05-14 05:04:11 -07:00
H.J. Lu
2523c62bec
Free memory at exit in check_pf.c
2012-05-14 05:02:08 -07:00
Liubov Dmitrieva
d7bb4c428a
Add optimized expf for x86
...
2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
* sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
* sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
* sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
* sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2012-05-14 11:23:56 +02:00
Andreas Schwab
c7df011202
Fix warning in powerpc bcopy
2012-05-12 17:41:37 +02:00
Thomas Schwinge
dc70356cbf
Avoid dup3 PLT usage.
...
Fixes fallout from 5aa3a74a59
.
2012-05-12 10:53:04 +08:00
David S. Miller
842b81d611
Mark sparc %fsr load and store inline asms as volatile.
...
* sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
* sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
(_FPU_SETCW): Likewise.
2012-05-11 13:58:41 -07:00
H.J. Lu
1cf463cd4e
Check if RTLD_SAVESPACE_SSE is aligned to 32 bytes
2012-05-11 11:50:11 -07:00
Thomas Schwinge
febb44a4cb
[BZ #13673 ] Replace FSF snail mail address with URL.
2012-05-11 17:39:57 +08:00
H.J. Lu
0a10fb9eec
Don't handle R_X86_64_RELATIVE64 in ld.so
2012-05-10 19:24:54 -07:00
H.J. Lu
df8a552f6f
Handle R_X86_64_RELATIVE64 and R_X86_64_64 for x32
2012-05-10 17:05:06 -07:00
Samuel Thibault
3c3571fc10
Hurd: Fix paths in paths.h
2012-05-10 15:57:29 -07:00
Samuel Thibault
61f06bd3ba
Hurd: fix mode type for openat
2012-05-10 15:57:29 -07:00
Samuel Thibault
918d4d7163
Hurd: Fix port deallocation on mknod error.
2012-05-10 15:57:28 -07:00
Samuel Thibault
f34d6f840e
Hurd: Fix __dup3 _hurd_dtable_lock usage.
2012-05-10 15:57:28 -07:00
Thomas Schwinge
674cdbc7a3
Hurd: Support --prefix=/usr special-casing for all GNU systems.
2012-05-10 15:57:28 -07:00
Thomas Schwinge
8e41b99fe1
Hurd: struct timespec members in struct stat
2012-05-10 15:57:28 -07:00
Samuel Thibault
3faebe6abc
Hurd: Fix setres[ug]id handling of -1
2012-05-10 15:57:27 -07:00
Samuel Thibault
1043890b10
Hurd: Fix sbrk beyond 128MB
2012-05-10 15:57:27 -07:00
Pino Toscano
37ed8b9bdc
Hurd: recvfrom(): take into account null address ports
2012-05-10 15:57:27 -07:00
Samuel Thibault
b29d4053f0
Hurd: readlinkat
2012-05-10 15:57:27 -07:00
Samuel Thibault
db65366043
Hurd: Update posix_opt.h
2012-05-10 15:57:27 -07:00
Samuel Thibault
ee16e894aa
Hurd: Fix POSIX 2008 visibility
2012-05-10 15:57:26 -07:00
Thomas Schwinge
80b4e5f3ef
Hurd: opendirat
2012-05-10 15:57:26 -07:00
Samuel Thibault
edadcbd624
Hurd: empty file names fail with ENOENT
2012-05-10 15:57:26 -07:00
Samuel Thibault
66cbbebcc6
Hurd: Fix mlock in all cases except non-readable pages.
2012-05-10 15:57:25 -07:00
Samuel Thibault
6b645f0d70
Hurd: Fix mkdir / error value
2012-05-10 15:57:25 -07:00
Pino Toscano
a4186cffbf
Hurd: mach: compliance fixes for nanosleep
2012-05-10 15:57:25 -07:00
Thomas Schwinge
510bbf14b4
Hurd: Include RPC user stubs in linkobj/libc.so
2012-05-10 15:57:25 -07:00
Samuel Thibault
5d5722e8ac
Hurd: Fix value of __libc_stack_end
2012-05-10 15:57:24 -07:00
Thomas Schwinge
be971a2b1c
Hurd: libc_once_get
2012-05-10 15:57:24 -07:00
Thomas Schwinge
37233df9d1
Hurd: #include <kernel-features.h>
2012-05-10 15:57:24 -07:00
Samuel Thibault
bbc49098ff
Hurd: setitimer.c: Fix unlock in error patch
2012-05-10 15:57:24 -07:00
Samuel Thibault
6753048948
Hurd: ioctl() incorrectly decodes argument
2012-05-10 15:57:23 -07:00
Thomas Schwinge
18bad2ae1b
Hurd: Avoid init-first.c miscompilation.
2012-05-10 15:57:23 -07:00
Thomas Schwinge
5aa3a74a59
Hurd: dup3
2012-05-10 15:57:23 -07:00
Samuel Thibault
cd9fa98583
Hurd: Hurd: dl-sysdep.c: Include code only #ifdef SHARED.
2012-05-10 15:57:23 -07:00
Samuel Thibault
802ca5a5ef
Hurd: Missing critical region locks.
2012-05-10 15:57:23 -07:00
Thomas Schwinge
6960eb420d
Hurd: bits/socket.h
2012-05-10 15:57:22 -07:00
Thomas Schwinge
eb43375f0f
Hurd: accept4
2012-05-10 15:57:22 -07:00
Thomas Schwinge
bcf5524012
Hurd: ____longjmp_chk
2012-05-10 15:57:22 -07:00
Thomas Schwinge
6f080c2fcf
Hurd: O_CLOEXEC in rtld
2012-05-10 15:57:22 -07:00
Adhemerval Zanella
89c9aa491a
Fix for logb/logbf/logbl (bugs 13954/13955/13956)
...
POSIX 2008 states that if the input for 'logb[f|l]' is a subnormal number
it should be treated as if it were normalized. This means the
implementation should calculate the log2 of the mantissa and add it to the
subnormal exponent (-126 for float and -1022 for double and IBM long
double). This patch takes care of that.
2012-05-10 15:11:55 -05:00