Commit Graph

24335 Commits

Author SHA1 Message Date
Siddhesh Poyarekar
77b32274e9 Revert fix to tst-pthread-getattr since it fails on sparc 2012-07-25 20:43:55 +05:30
Marek Polacek
354691b7b5 Set up errno properly for yn. 2012-07-25 12:59:36 +02:00
Joseph Myers
bf9e20711e conformtest: Update expectations for time.h. 2012-07-24 19:43:38 +00:00
Thomas Schwinge
576338111a configure.in <sysdeps resolving>: Correct printing Implies_before. 2012-07-23 12:27:12 +02:00
Thomas Schwinge
c23c33b01e Add missing includes.
Follow-up to commits 38de94a5ef,
76da726532.
2012-07-22 22:25:14 +02:00
Joseph Myers
b5982523b1 Document va_copy in preference to __va_copy. 2012-07-20 23:49:24 +00: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
Siddhesh Poyarekar
b2ae49dab8 Fix tst-pthread-getattr test case
In some cases, the compiler would optimize out the call to
allocate_and_test and thus result in a false positive for the test
case. Another problem was the fact that the compiler could in some
cases generate additional shifting of the stack pointer, resulting in
alloca moving the stack pointer beyond what is allowed by the
rlimit. Hence, accessing the stackaddr returned by pthread_getattr_np
is safer than relying on the alloca'd result.

Another problem is when RLIMIT may be very large, which may result in
violation of other resource limits. Hence we cap the max stack size to
8M for this test.
2012-07-20 23:28:34 +05:30
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
Siddhesh Poyarekar
a98430587c Fix comment that describes sighandler_setxid 2012-07-19 07:04:24 +05:30
Marek Polacek
a66877c62b Add missing CL entry. 2012-07-18 09:09:55 +02:00
Joseph Myers
ef1354a5fe Remove TLS configure check for MIPS. 2012-07-17 22:48:57 +00:00
Joseph Myers
dfa359badf Remove TLS configure check for ARM. 2012-07-17 22:46:09 +00:00
Marek Polacek
05d723ab8d Fix a few typos. 2012-07-18 00:25:50 +02:00
Marek Polacek
3b05db33f6 Remove TLS configure checks. 2012-07-17 23:57:43 +02:00
Chris Metcalf
f110915184 tile: exit with status zero on makecontext return with NULL uc_link 2012-07-17 14:40:48 -04:00
Chris Metcalf
6df48a9b8b tile: update libm test ULPs 2012-07-17 14:40:48 -04:00
Chris Metcalf
e3e5d6470d Move tile c++-types baselines to sysdeps directories. 2012-07-17 14:40:47 -04:00
Joseph Myers
7d67a5d1dc Add c++-types information for MIPS. 2012-07-17 16:25:02 +00:00
Joseph Myers
bd29910a8a Move c++-types baselines to sysdeps directories. 2012-07-17 14:44:06 +00:00
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
Thomas Schwinge
dc97c227c9 setcontext: Clarify termination when uc_link is the null pointer. 2012-07-17 10:05:55 +02:00
Andreas Schwab
aaf5420c6d m68k: add support for {get,make,set,swap}context 2012-07-16 19:23:33 +02:00
Andreas Schwab
d0cd7d0212 Fix bug-getcontext test 2012-07-16 18:46:40 +02:00
Andreas Jaeger
dd31893430 Update from translation team 2012-07-16 09:38:55 +02:00
Joseph Myers
8048311a50 conformtest: Update expectations for string.h. 2012-07-15 22:38:11 +00:00
Andreas Jaeger
b637d46e7a Update from french translation team 2012-07-13 17:50:05 +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
Maxim Kuvyrkov
a766fb45a3 Rewrite MIPS' atomic.h to use __atomic_* builtins. 2012-07-11 16:47:58 -07:00
Andreas Jaeger
71220acad5 Translation team update for fr.po/sv.po 2012-07-11 20:41:25 +02:00
Andreas Jaeger
608404ebf6 Update from translation team: fr.po 2012-07-11 16:18:17 +02:00
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
Andreas Schwab
c68257729d Fix LOG_MAKEPRI to agree with BSD 2012-07-10 22:39:30 +02:00
Chris Metcalf
ba7fefc8e0 tile: correct typo in comment 2012-07-10 10:38:18 -04:00
Chris Metcalf
5f5bcf71f7 tile: Convert ASM_GLOBAL_DIRECTIVE to .globl 2012-07-10 10:38:18 -04:00
Joseph Myers
cea48cfbdd Change ASM_GLOBAL_DIRECTIVE to .globl for ARM. 2012-07-10 14:29:29 +00:00
Marek Polacek
7b8e0d49cb Get rid of ASM_GLOBAL_DIRECTIVE. 2012-07-10 14:30:24 +02:00
Andreas Schwab
c1d0079034 m68k: update libm test ULPs 2012-07-09 20:59:14 +02:00