Commit Graph

7719 Commits

Author SHA1 Message Date
Joseph Myers b36137f1d6 Remove __ASSUME_TGKILL. 2012-08-08 23:22:53 +00:00
Roland McGrath a2433aac7e Add a missing #include. 2012-08-08 10:39:28 -07:00
Roland McGrath cdd915fd16 Missing #include updates for dirstream code move from unix to posix. 2012-08-08 09:18:37 -07:00
Joseph Myers 93df14eee8 Remove some pre-2.6.16 Linux kernel conditionals. 2012-08-07 23:03:35 +00:00
Roland McGrath a281decc87 Move common dirent implementation from sysdeps/unix to sysdeps/posix. 2012-08-07 14:47:34 -07:00
Roland McGrath 22895b4767 Make the bsd4.4/bits/fcntl.h be the generic one. 2012-08-07 14:12:10 -07:00
Roland McGrath 707a53b600 Update bsd4.4/bits/fcntl.h to match modern NetBSD bits. 2012-08-07 14:10:37 -07:00
Roland McGrath f0bd3e25fb Make the bsd4.4/bits/dirent.h be the generic one. 2012-08-07 13:17:26 -07:00
Roland McGrath d34689de84 Define _DIRENT_MATCHES_DIRENT64 in bsd4.4/bits/dirent.h 2012-08-07 13:15:18 -07: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
H.J. Lu 3a31811ede Remove x32/iofopen.c and x32/iofopen64.c 2012-08-06 12:56:52 -07:00
David S. Miller faa2bccba5 Update SPARC ULPs.
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2012-08-03 20:39:26 -07:00
Joseph Myers 85fe199795 Remove some pre-2.6.0 Linux kernel conditionals. 2012-08-03 19:54:08 +00:00
Roland McGrath 4f75b7a09a Distinguish ELOOP diagnosis threshold from SYMLOOP_MAX. 2012-08-03 11:39:30 -07:00
Joseph Myers 7aab07e4e5 Remove pre-2.6.0 Linux kernel support (bug 13717). 2012-08-03 13:42:47 +00:00
Marek Polacek b67e9372b2 Get rid of ASM_TYPE_DIRECTIVE{,_PREFIX}. 2012-08-02 21:04:29 +02:00
Roland McGrath 2747bf9adf Clean up fopen64 for O_LARGEFILE==0. 2012-08-01 16:30:47 -07: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 4338511686 foo 2012-08-01 10:47:21 -07:00
Roland McGrath cd97c96688 Clean up mkstemp64/mkostemp64 for O_LARGEFILE==0. 2012-08-01 10:42:38 -07:00
Roland McGrath 09c0ee5f8c BZ#14138: Move getrlimit (ugetrlimit) syscall to syscalls.list. 2012-08-01 10:25:11 -07:00
Florian Weimer 7e66ee5142 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
Declare with warn_unused_result.
	(setgid, setregid, setegid, setresgid): Likewise.
	* sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
	Likewise.
	* WUR-REPORT: Remove set*id functions.
2012-08-01 18:12:58 +02:00
Pino Toscano d2a54255fe Hurd: implement renameat
Provide an implementation of renameat, mostly based on rename.
2012-07-31 19:59:03 +02:00
Roland McGrath 7ecdb00561 Don't assume SIGWINCH is defined. 2012-07-31 09:39:14 -07:00
David S. Miller e2eabb2c3b Update sparc ULPs. 2012-07-31 14:22:42 +00:00
Joseph Myers d0419dbfbd Improve clog, clog10 handling of values with real or imaginary part slightly above 1 (bug 13629). 2012-07-31 14:21:19 +00:00
Roland McGrath bea9b19322 Fix lots of bitrot for stub configurations. 2012-07-30 16:34:33 -07:00
David S. Miller e5abc686ef Update sparc ULPs.
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2012-07-27 21:14:41 -07:00
Joseph Myers da865e95bc Improve clog, clog10 handling of values with real or imaginary part 1 (bug 13629). 2012-07-26 11:31:35 +00:00
Joseph Myers 3129cfc6ec Move testsuite audit definitions to sysdeps tst-audit.h files. 2012-07-26 11:29:07 +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
Andreas Schwab 842a39cd1a Remove unused pseudo_end label 2012-07-25 21:58:17 +02:00
Florian Weimer 84b3fd8407 Rename __secure_getenv to secure_getenv 2012-07-25 19:46:22 +02:00
Joseph Myers 56e49b714e Move ldsodefs.h audit definitions to sysdeps directories. 2012-07-25 16:03:02 +00:00
Marek Polacek 354691b7b5 Set up errno properly for yn. 2012-07-25 12:59:36 +02:00
Pino Toscano b3404dbdeb Hurd: compliance fixes for getlogin_r
- make LOGIN non-static, as it would make getlogin_r no more reentrant; change its type to string_t
- fail with ERANGE if NAME has not enough space for the actual login string
- copy with memcpy only the chars of the string
2012-07-21 00:16:11 +02:00
Pino Toscano 0ced335ac0 Hurd: compliance fixes for getgroups
Fail with EINVAL when the requested number of groups is negative,
or when it is positive but less than the actual number of groups.
2012-07-21 00:06:33 +02:00
Pino Toscano 898c7aaba5 Hurd: provide lremovexattr
Add an implementation of lremovexattr based on removexattr.
2012-07-21 00:01:57 +02:00
Pino Toscano f98eafbd5d Hurd: provide llistxattr
Add an implementation of llistxattr based on listxattr.
2012-07-21 00:00:20 +02:00
Pino Toscano ac4ea442f3 Hurd: sendto: do not crash when ADDR is null
Create a new create_address_port subroutine to isolate the address port creation
(for both local and remove sockets), and use it inside HURD_DPORT_USE.
Also intialize APORT to MACH_PORT_NULL and make sure to always deallocate it,
when not null.
2012-07-20 23:56:58 +02:00
Joseph Myers 0f48659e36 Move localplt baselines to sysdeps directories. 2012-07-20 19:20:34 +00:00
Adhemerval Zanella d37cbdaa86 Split tls-macros.h in sysdeps directories.
Split PowerPC definitions in PPC32 and PPC64 headers.
2012-07-19 17:04:04 -03:00
Andreas Krebbel 46f85fc226 S/390: Fix uc_link == NULL handling for makecontext 2012-07-19 15:58:17 +02:00
Andreas Krebbel 08f43f9bbf S/390: Add support for STT_GNU_IFUNC symbols.
Add support for STT_GNU_IFUNC symbols and the new R_390_IRELATIVE
relocation.  Provide optimized version of memcpy, memset, and memcmp
for z10 and z196.
2012-07-19 15:46:34 +02:00
Marek Polacek 3b05db33f6 Remove TLS configure checks. 2012-07-17 23:57:43 +02:00
Joseph Myers bd29910a8a Move c++-types baselines to sysdeps directories. 2012-07-17 14:44:06 +00:00
Joseph Myers cfc82fd8ac Split tls-macros.h into sysdeps directories. 2012-07-17 11:30:58 +00:00
Thomas Schwinge 07cbfc2368 SH: makecontext: exit (0) if uc_link is the null pointer. 2012-07-17 10:06:06 +02:00
Thomas Schwinge f7db31703a x86_64: makecontext: exit (0) if uc_link is the null pointer. 2012-07-17 10:06:02 +02:00
Marek Polacek 541428fecf Fix ynl return value with LDBL_MIN. 2012-07-12 16:34:47 +02:00
Joseph Myers ec332e944f Remove pre-2.4.1 Linux kernel support. 2012-07-12 12:31:32 +00:00
Jeroen van Bemmel 7b6e99be77 Avoid duplicate DNS requests if answer is longer than a implementation
limit

        [BZ #14307]
        * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
        the temporary buffer used to invoke __gethostbyname2_r,
        __gethostbyaddr_r and gethostbyname4_r to make room for struct
        host_data / struct gaih_addrtuple.
        * resolv/nss_dns/dns-host.c (global scope): Move definition of
        implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
        header file nss/nsswitch.h.
        * nss/nsswitch.h (global scope): Add definition of implementation
        constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
        resolv/nss_dns/dns-host.c).
2012-07-12 11:31:48 +05:30
Adhemerval Zanella 28cfe84316 Fix ctan, ctanh of subnormals in round-upwards mode (bug 14328).
IBM long double fixes and POWER ulps update.
2012-07-11 09:19:27 -03:00
David S. Miller 6b90f98178 Update sparc ULPs.
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2012-07-11 02:50:31 -07:00
Marek Polacek 7b8e0d49cb Get rid of ASM_GLOBAL_DIRECTIVE. 2012-07-10 14:30:24 +02:00
Joseph Myers 638a572eb0 Fix clog, clog10 spurious underflow exceptions (bug 14337). 2012-07-09 11:06:34 +00:00
Andreas Schwab 0abaf3e48a Fix float range reduction problems (#14283) 2012-07-06 23:57:20 +02:00
Andreas Schwab 261f485936 Fix missing _mcount@GLIBC_2.0 on powerpc32 2012-07-06 23:43:56 +02:00
Joseph Myers 9ad63c23ea Fix tanf underflow close to pi/4 (bug 14154). 2012-07-06 21:19:38 +00:00
Joseph Myers f17ac40d7c Fix expm1 spurious underflow exceptions (bug 6778). 2012-07-06 11:17:41 +00:00
Joseph Myers cdfe2c5eb3 Fix csqrt underflow (bugs 14157, 14331). 2012-07-05 11:02:13 +00:00
Joseph Myers ca61cf32d9 Fix ctan, ctanh of subnormals in round-upwards mode (bug 14328). 2012-07-04 09:55:26 +00:00
Joseph Myers 7a845b2c23 Fix float range reduction problems (bug 14283). 2012-07-03 17:11:41 +00:00
Andreas Jaeger ed3dbfad77 Update s390 ULPs file 2012-06-25 10:28:03 +02:00
Andreas Schwab 4d0ee85545 SH can do fanotify_mark, too. 2012-06-23 12:34:58 +02:00
Thomas Schwinge a9fa33ba8b Some missing bits from sysdeps/*/elf dismissal.
This fixes up commits 735095ae95,
09ae94c11b, and
ff962fb6a1.
2012-06-23 12:27:58 +02:00
Thomas Schwinge 58f902b8d8 SH: Preserve more registers for frame unwinding purposes, add CFI directives. 2012-06-23 12:11:13 +02:00
Thomas Schwinge 1518f58b61 SH: Optimize assembler code in context of call to __fortify_fail.
__fortify_fail has »__attribute__ ((__noreturn__))«.
2012-06-23 12:07:04 +02:00
Thomas Schwinge db9b505976 SH: ____longjmp_chk for GNU/Linux with sigaltstack support.
debug/tst-longjmp_chk2 now passes.
2012-06-23 11:56:02 +02:00
Thomas Schwinge 967705fee1 SH: ABORT_INSTRUCTION. 2012-06-23 11:47:39 +02:00
Thomas Schwinge a9def8c49d SH: makecontext/.Lexitcode: Always initialize the GOT register before use.
This is only relevant when returning from a context with »uc_link == NULL«,
which is not exercised in the testsuite.
2012-06-23 11:42:29 +02:00
Thomas Schwinge 2a649725b9 SH: makecontext: Fix calculation of ARGC > 4.
stdlib/tst-setcontext and stdlib/tst-makecontext3 now pass.
2012-06-23 11:28:23 +02:00
Thomas Schwinge af1bce34ef SH: makecontext: Improve understandability. 2012-06-23 11:22:47 +02:00
Kaz Kojima d230f50a06 Fix gUSA sequence in SH atomic functions in
sysdeps/unix/sysv/linux/sh/bits/atomic.h.
2012-06-23 07:29:05 +09:00
Roland McGrath 4248b1b1cf Respect --localstatedir for /var/db parent directory. 2012-06-22 10:11:07 -07:00
Joseph Myers b7abb4bf78 Fix wordsize-64 cosh regression (bug 14273). 2012-06-21 19:26:09 +00:00
Joseph Myers 79662d4270 Regenerate sysdeps/mach/configure. 2012-06-21 19:20:33 +00:00
H.J. Lu 1f1509082e Fix a typo in i386 SYSCALL_PIC_SETUP 2012-06-21 10:17:07 -07:00
Andreas Jaeger 2174c6dd85 Avoid -Wconversion warning for htons 2012-06-21 15:49:33 +02:00
H.J. Lu a2f34833b1 Use x86-64 fpu_control.h for i386 and x86_64 2012-06-18 11:43:51 -07:00
H.J. Lu 3ee947b124 Use __volatile__ to access fpu control word 2012-06-18 11:09:58 -07:00
H.J. Lu 25f1282ae5 Use i386 bits/mathinline.h for i386 and x86_64 2012-06-15 13:56:26 -07:00
H.J. Lu ed1825f858 Disable x87 inline functions for x86-64 2012-06-15 13:53:27 -07:00
Joseph Myers 10285c2113 Fix pow (0.0, -Inf) (bug 14241). 2012-06-15 11:27:51 +00:00
H.J. Lu 49bdf4c19d Use RAX_LP/RDX_LP on SAVE_PTR in x86_64 strtok.S 2012-06-14 10:00:28 -07:00
H.J. Lu ddb2897514 Add SSE math and C++ namespace to i386 bits/mathinline.h 2012-06-12 21:10:00 -07:00
Thomas Schwinge d7b4fb26e2 Fix a typo in sysdeps/unix/Makefile. 2012-06-12 10:27:01 +02:00
Thomas Schwinge 99ff6e5c49 SH: No FE_UPWARD, FE_DOWNWARD. 2012-06-09 18:46:01 +02:00
Thomas Schwinge 366af02c96 SH: Do not re-write fpscr after reading it. 2012-06-09 18:36:52 +02:00
Kaz Kojima 793ea8518f SH: refresh *.abilist files. 2012-06-09 18:08:02 +02:00
H.J. Lu c08010c7cd Use x86_64 fpu/bits/fenv.h for i386 and x86_64 2012-06-06 10:13:19 -07:00
H.J. Lu a728a38fb6 Check __SSE_MATH__ in x86_64 feraiseexcept 2012-06-06 10:11:14 -07:00
Adhemerval Zanella 1b671feb61 Fix for wrong ldbl128-ibm fmodl commit 2012-06-05 21:33:23 -03:00
Adhemerval Zanella 6043738b36 Fix spurious undeflow for ldbl-128ibm erfl
For values higher than 25.6283 erflc underflow, so adjust erfl
to return a constant value based argument sign.
2012-06-05 10:42:49 -03:00
Adhemerval Zanella 34ae0b3270 Fix ldbl128ibm fmodl for subnormals. 2012-06-05 10:16:49 -03:00
Mike Frysinger 1214ec8f4c tst-getcpu: decode errno when sched_getcpu fails
The tst-getcpu test is failing on ia64 platforms due to sched_getcpu
returning an error.  But the current test only considers -1 when it's
also ENOSYS.  Tweak the logic a bit to make the output clearer.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-06-04 22:22:02 -04:00
H.J. Lu 3cc0cd4c5b Fix a typo in comment 2012-06-04 13:47:07 -07:00
H.J. Lu 0e4a3cd708 Use i486 bits/string.h for i386 and x86_64 2012-06-04 13:45:43 -07:00
H.J. Lu 6704c645b0 Provide 32-bit inline string functions for >= i486 2012-06-04 13:44:46 -07:00
H.J. Lu 48495318fa Use x86_64 bits/sigcontext.h for i386 and x86_64 2012-06-04 12:41:38 -07:00
H.J. Lu 14adcbfc36 Update x86_64 bits/sigcontext.h from kernel 3.4.0 2012-06-04 12:40:46 -07:00
H.J. Lu 68e408ab5d Use x86_64 bits/{debugreg,reg}.h for i386 and x86-64 2012-06-04 12:32:07 -07:00
H.J. Lu f3d1f93cfb Use x86_64 bits/{io,perm}.h for i386 and x86_64 2012-06-04 12:29:49 -07:00
Tulio Magno Quites Machado Filho d9dc34cd56 Manual for platform-specific features and new __ppc_get_timebase inline.
[BZ #13743]
A new class of installed headers has been documented for low-level
platform-specific functionality.  PowerPC added the first instance with a
function to provide time base register access (__ppc_get_timebase).  This
is required for applications that measure time at high frequencies with
high precision that can't afford a syscall.
2012-06-04 13:46:37 -05:00
Andreas Schwab 173f722045 Move __mcount_internal from GLIBC_PRIVATE to GLIBC_2.16 2012-06-02 21:21:15 +02:00
H.J. Lu f34a1c6f5e Fix a typo in x86_64 sys/io.h 2012-06-01 17:43:26 -07:00
Joseph Myers ea32bcdd3d Add default-abi definitions for powerpc, s390 and sparc. 2012-06-01 21:19:28 +00:00
H.J. Lu 3bd872c4c4 Use i386 sys/elf.h and sys/vm86.h for i386 and x86-64 2012-06-01 13:22:46 -07:00
H.J. Lu 3553723f3c Define DR_LEN_8 only if __x86_64__ is defined 2012-06-01 13:06:37 -07:00
Joseph Myers c5bfe3d5ba Fix fmod for subnormals (bug 14048). 2012-06-01 19:05:46 +00:00
Joseph Myers 4842e4fe5f Ensure additions are not scheduled after fetestexcept in fmaf and fmal. 2012-06-01 19:02:21 +00:00
Aurelien Jarno efb734887e Add a barrier in the double fma implementation. 2012-06-01 19:01:17 +00:00
H.J. Lu 29bcce7ce4 Use i386 bits/wchar.h for i386 and x86-64 2012-06-01 11:16:15 -07:00
Adhemerval Zanella 73a68f94d6 PowerPC: Fix for POWER7 sinf/cosf
This patch fixes some sinf/cosf calculations that generated unexpected
underflows exceptions.
2012-06-01 10:10:18 -03:00
H.J. Lu ebc64a18c0 Support __WORDSIZE == 64 in i386 bits/wchar.h 2012-05-31 20:35:10 -07:00
H.J. Lu edf2933a37 Use x86_64 bits/typesizes.h for i386 and x86-64 2012-05-31 19:37:43 -07:00
H.J. Lu 57c6cf4038 Use __SWORD_TYPE for __FSWORD_T_TYPE with -m32 2012-05-31 19:33:55 -07:00
H.J. Lu 8eb6281eaa Use x86_64 bits/siginfo.h for i386 and x86_64 2012-05-31 17:14:35 -07:00
H.J. Lu aac639f42c Use x86_64 bits/stat.h for i386 and x86-64 2012-05-31 16:49:38 -07:00
H.J. Lu 67b6df7841 Update x86_64 bits/stat.h 2012-05-31 16:47:45 -07:00
David S. Miller 1c2cfe8193 Update sparc ulps after Joseph's math.h fixes.
* sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
	entries.
2012-05-31 16:25:07 -07:00
Andreas Schwab e77253266a Sort sysdeps/powerpc/fpu/libm-test-ulps 2012-06-01 01:26:27 +02:00
Andreas Schwab 5be8418cb0 Remove use of INTDEF/INTUSE in stdio-common 2012-06-01 01:25:41 +02:00
H.J. Lu 12e5e0f357 Remove space before tab in indent 2012-05-31 16:17:21 -07:00
Markus Trippelsdorf 507352f1a1 Add bits/sysctl.h to sysdep_headers 2012-05-31 16:16:23 -07:00
H.J. Lu 6bd784b66b Use x86_64 bits/sysctl.h for x86-64 and i386 2012-05-31 16:12:40 -07:00
H.J. Lu 8bca20f013 Use x86_64 sys/{ucontext,user}.h for i386 and x86_64 2012-05-31 16:11:11 -07:00
H.J. Lu f9e890a99c Use x86_64 sys/procfs.h for both i386 and x86_64 2012-05-31 16:09:40 -07:00
H.J. Lu 471101a18f Replace addr with __addr in x86_64 sys/io.h 2012-05-31 16:06:54 -07:00
H.J. Lu 6451c86222 Use x86_64 bits/mman.h for both i386 and x86_64 2012-05-31 16:05:51 -07:00
H.J. Lu a254b8c9cb Use x86-64 bits/{msq,sem,shm}.h for i386 and x86-64 2012-05-31 16:04:12 -07:00
H.J. Lu b8dfdd92c7 Use x86_64 bits/ipctypes.h for both i386 and x86-64 2012-05-31 16:03:09 -07:00
H.J. Lu 578cd27008 Use x86_64 bits/epoll.h for both i386 and x86_64 2012-05-31 16:02:21 -07:00
H.J. Lu de662f5f19 Use x86_64 bits/fcntl.h for both i386 and x86_64 2012-05-31 16:01:24 -07:00
H.J. Lu 25653439fc Use x86_64 bits/environments.h for i386 and x86_64 2012-05-31 16:00:18 -07:00
H.J. Lu 6bad24a091 Use x86_64 bits/a.out.h for both i386 and x86_64 2012-05-31 15:57:54 -07:00
H.J. Lu 42bbb1c314 Add x86-64 support to i386 sys/elf.h and sys/vm86.h 2012-05-31 15:55:37 -07:00
David S. Miller f230c29b40 Avoid performance penalty in sparc optimized memcpy/memset.
fmovd clears the current exception field in the %fsr, fsrc2
does not and therefore runs more efficiently on some cpus.

	* sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
	values between float registers.
	* sysdeps/sparc/sparc64/memset.S: Likewise.
	* sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2012-05-31 14:19:30 -07:00
David S. Miller 1c58d5dceb Simulate sparc fpu exceptions using real FP ops again in soft-fp.
* sysdeps/sparc/sparc32/soft-fp/q_util.c
	(___Q_simulate_exceptions): Use real FP ops rather than writing
	into the %fsr.
	* sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
	Likewise.
2012-05-30 23:09:25 -07:00
H.J. Lu 0bd5398534 Use x86_64/bits/xtitypes.h for i386/x86-64 2012-05-30 17:26:11 -07:00
H.J. Lu 3a257e668e Use x86_64 bits/wordsize.h for both i386/x86_64 2012-05-30 17:25:23 -07:00
H.J. Lu 62f62904cf Use i386 bits/huge_vall.h for i386/x86-64 2012-05-30 15:51:32 -07:00
H.J. Lu 404fe9d90e Use x86_64 bits/select.h for i386/x86_64 2012-05-30 15:49:31 -07:00
H.J. Lu d48d04460a Use x86_64 bits/setjmp.h for i386/x86_64 2012-05-30 15:43:34 -07:00
H.J. Lu 7dc00e0d3c Use x86_64 bits/mathdef.h for i386/x86_64 2012-05-30 15:42:28 -07:00
Andreas Schwab 03277f8fe1 Remove use of INTDEF/INTUSE in socket 2012-05-31 00:34:41 +02:00
H.J. Lu 6bd976963f Use x86_64 bits/{link.h,linkmap.h} for i386/x86_64 2012-05-30 15:21:55 -07:00
H.J. Lu f726f0bb75 Use the same bits/endian.h for i386/x86_64 2012-05-30 14:50:32 -07:00
H.J. Lu 13764867fe Use x86-64 bits/byteswap.h for both i386 and x86_64 2012-05-30 14:13:18 -07:00
David S. Miller ae251b0b58 Fix underflow generation in soft-fp.
* soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
	(FP_TRAPPING_EXCEPTIONS): Provide default implementation.
	* sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
	(FP_TRAPPING_EXCEPTIONS): Define.
	* sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
	(FP_TRAPPING_EXCEPTIONS): Define.
	* soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
	subnormals only when inexact has been signalled or underflow
	exceptions are enabled.
	(_FP_PACK_CANONICAL): Likewise.
2012-05-30 13:41:01 -07:00
H.J. Lu d5c9086734 Use __UWORD_TYPE for __NLINK_T_TYPE with -m32 2012-05-30 11:35:47 -07:00
Richard Henderson 8d8f2279e7 alpha: Don't symbol_version syscalls outside libc
* sysdeps/unix/make-syscalls.sh: Protect symbol_version output
        with #ifndef NOT_IN_libc.
2012-05-30 11:05:51 -07:00
H.J. Lu 0ab0291b84 Convert WORDSIZE[32|64]/ld entries to abi-variants 2012-05-30 08:33:26 -07:00
Joseph Myers 3a85279c0b Remove __ASSUME_TRUNCATE64_SYSCALL. 2012-05-30 14:52:34 +00:00
Andreas Krebbel 11ef492c80 S/390: ABI baseline update. 2012-05-29 11:04:22 +00:00
David S. Miller d66ef399f5 Fix underflow reporting and tie up loose ends in sparc soft-fp.
* sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
	(___Q_zero): New.
	(__Q_simulate_exceptions): Return void.  Change to simulate
	exceptions by writing into the %fsr.
	* sysdeps/sparc/sparc64/soft-fp/qp_util.c
	(__Qp_handle_exceptions): Likewise.
	(numbers): Delete.
	* sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
	__Qp_handle_exceptions.
	* sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
	__Qp_handle_exceptions.
	* sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
	as unused and give dummy FP_RND_NEAREST initializer.
	(FP_INHIBIT_RESULTS): Define.
	(___Q_simulate_exceptions): Update declaration.
	(FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
	formatting.
	* sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
	as unused and give dummy FP_RND_NEAREST initializer.
	(__Qp_handle_exceptions): Update declaration.
	(FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
	formatting.
2012-05-27 21:11:42 -07:00
Thomas Schwinge 04fb54b507 SH: Use fpu_control_t for the temporary FPU control word. 2012-05-28 01:03:18 +02:00
Kaz Kojima 3f99608f82 SH: feraiseexcept: Restore fpscr flag fields. 2012-05-28 01:02:34 +02:00
Chung-Lin Tang 65a4de4e06 SH: Add CFI directives. 2012-05-28 00:11:06 +02:00
Andreas Schwab 3d3f8e5582 Fix missing declaration 2012-05-26 22:33:51 +02:00
Andreas Schwab 25dbcb277a Optimize handling of denormals in logb/logbf/logbl 2012-05-26 13:53:22 +02:00
Joseph Myers a82392228a Remove __ASSUME_NEW_GETRLIMIT_SYSCALL. 2012-05-25 22:30:06 +00:00
Roland McGrath 8422c9a560 Add systemtap static probe points in setjmp/longjmp on x86. 2012-05-25 13:41:03 -07:00
Joseph Myers 21708942c9 Remove pre-2.4 Linux kernel support. 2012-05-25 19:19:30 +00:00
Richard Henderson a386f1cc22 ppc: Pass hwcap to ifuncs.
* sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
        dl_hwcap to ifunc resolver.
        * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
        elf_ifunc_invoke.
        * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
        dl_hwcap to ifunc resolver.
        * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
2012-05-25 10:30:42 -07:00
Joseph Myers b65504975c Fix acosf underflow (bug 14153). 2012-05-25 11:07:07 +00:00
Andreas Schwab d18ea0c5e6 Remove use of INTDEF/INTUSE in libio 2012-05-24 23:06:20 +02:00
Roland McGrath c14874927b syscalls.list support for vDSO IFUNCs, use it for x32 gettimeofday and time. 2012-05-24 13:13:46 -07:00
Roland McGrath d6c33fda03 Switch gettimeofday from INTUSE to libc_hidden_proto. 2012-05-24 13:12:34 -07:00
H.J. Lu 7f90742178 Add x32 abilist files 2012-05-24 11:20:12 -07:00
H.J. Lu cfba4fda12 Add x32 C++ type data 2012-05-24 11:18:30 -07:00
Joseph Myers 795405f956 Don't include exceptions in libm-test-ulps test names. 2012-05-24 12:14:03 +00:00
Joseph Myers 80bad0ccae Test underflow exceptions in libm-test.inc. 2012-05-24 11:26:36 +00:00
David S. Miller f1158bd1a5 Remove some sparc cob-webs leftover after Joseph's recent changes.
* sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
	(__libc_sigaction): Remove unused local variables.
2012-05-23 21:47:03 -07:00
H.J. Lu ccd0a08f4e Add sysdeps/unix/sysv/linux/x86_64/x32/configure 2012-05-23 20:03:20 -07:00
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