Joseph Myers [Fri, 20 Jul 2012 23:49:24 +0000 (23:49 +0000)]
Document va_copy in preference to __va_copy.
Pino Toscano [Fri, 20 Jul 2012 22:16:11 +0000 (00:16 +0200)]
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
Pino Toscano [Fri, 20 Jul 2012 22:06:33 +0000 (00:06 +0200)]
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.
Pino Toscano [Fri, 20 Jul 2012 22:01:57 +0000 (00:01 +0200)]
Hurd: provide lremovexattr
Add an implementation of lremovexattr based on removexattr.
Pino Toscano [Fri, 20 Jul 2012 22:00:20 +0000 (00:00 +0200)]
Hurd: provide llistxattr
Add an implementation of llistxattr based on listxattr.
Pino Toscano [Fri, 20 Jul 2012 21:56:58 +0000 (23:56 +0200)]
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.
Joseph Myers [Fri, 20 Jul 2012 19:20:34 +0000 (19:20 +0000)]
Move localplt baselines to sysdeps directories.
Siddhesh Poyarekar [Fri, 20 Jul 2012 17:53:20 +0000 (23:23 +0530)]
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.
Adhemerval Zanella [Thu, 19 Jul 2012 20:04:04 +0000 (17:04 -0300)]
Split tls-macros.h in sysdeps directories.
Split PowerPC definitions in PPC32 and PPC64 headers.
Andreas Krebbel [Thu, 19 Jul 2012 13:58:17 +0000 (15:58 +0200)]
S/390: Fix uc_link == NULL handling for makecontext
Andreas Krebbel [Thu, 12 Jul 2012 11:04:55 +0000 (13:04 +0200)]
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.
Siddhesh Poyarekar [Thu, 19 Jul 2012 01:34:24 +0000 (07:04 +0530)]
Fix comment that describes sighandler_setxid
Marek Polacek [Wed, 18 Jul 2012 07:09:55 +0000 (09:09 +0200)]
Add missing CL entry.
Joseph Myers [Tue, 17 Jul 2012 22:48:57 +0000 (22:48 +0000)]
Remove TLS configure check for MIPS.
Joseph Myers [Tue, 17 Jul 2012 22:46:09 +0000 (22:46 +0000)]
Remove TLS configure check for ARM.
Marek Polacek [Tue, 17 Jul 2012 22:25:50 +0000 (00:25 +0200)]
Fix a few typos.
Marek Polacek [Tue, 17 Jul 2012 21:53:05 +0000 (23:53 +0200)]
Remove TLS configure checks.
Chris Metcalf [Tue, 17 Jul 2012 18:35:46 +0000 (14:35 -0400)]
tile: exit with status zero on makecontext return with NULL uc_link
Chris Metcalf [Tue, 17 Jul 2012 18:04:17 +0000 (14:04 -0400)]
tile: update libm test ULPs
Chris Metcalf [Tue, 17 Jul 2012 18:03:25 +0000 (14:03 -0400)]
Move tile c++-types baselines to sysdeps directories.
Joseph Myers [Tue, 17 Jul 2012 16:25:02 +0000 (16:25 +0000)]
Add c++-types information for MIPS.
Joseph Myers [Tue, 17 Jul 2012 14:44:06 +0000 (14:44 +0000)]
Move c++-types baselines to sysdeps directories.
Joseph Myers [Tue, 17 Jul 2012 11:30:58 +0000 (11:30 +0000)]
Split tls-macros.h into sysdeps directories.
Thomas Schwinge [Tue, 17 Jul 2012 08:06:06 +0000 (10:06 +0200)]
SH: makecontext: exit (0) if uc_link is the null pointer.
Thomas Schwinge [Tue, 17 Jul 2012 08:06:02 +0000 (10:06 +0200)]
x86_64: makecontext: exit (0) if uc_link is the null pointer.
Thomas Schwinge [Tue, 17 Jul 2012 08:05:55 +0000 (10:05 +0200)]
setcontext: Clarify termination when uc_link is the null pointer.
Andreas Schwab [Mon, 16 Jul 2012 14:54:37 +0000 (16:54 +0200)]
m68k: add support for {get,make,set,swap}context
Andreas Schwab [Mon, 16 Jul 2012 14:51:13 +0000 (16:51 +0200)]
Fix bug-getcontext test
Andreas Jaeger [Mon, 16 Jul 2012 07:38:55 +0000 (09:38 +0200)]
Update from translation team
Joseph Myers [Sun, 15 Jul 2012 22:38:11 +0000 (22:38 +0000)]
conformtest: Update expectations for string.h.
Andreas Jaeger [Fri, 13 Jul 2012 15:50:05 +0000 (17:50 +0200)]
Update from french translation team
Marek Polacek [Thu, 12 Jul 2012 14:34:47 +0000 (16:34 +0200)]
Fix ynl return value with LDBL_MIN.
Joseph Myers [Thu, 12 Jul 2012 12:31:32 +0000 (12:31 +0000)]
Remove pre-2.4.1 Linux kernel support.
Jeroen van Bemmel [Thu, 12 Jul 2012 05:53:28 +0000 (11:23 +0530)]
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).
Maxim Kuvyrkov [Wed, 11 Jul 2012 23:47:58 +0000 (16:47 -0700)]
Rewrite MIPS' atomic.h to use __atomic_* builtins.
Andreas Jaeger [Wed, 11 Jul 2012 18:41:25 +0000 (20:41 +0200)]
Translation team update for fr.po/sv.po
Andreas Jaeger [Wed, 11 Jul 2012 14:18:17 +0000 (16:18 +0200)]
Update from translation team: fr.po
Adhemerval Zanella [Wed, 11 Jul 2012 12:19:27 +0000 (09:19 -0300)]
Fix ctan, ctanh of subnormals in round-upwards mode (bug 14328).
IBM long double fixes and POWER ulps update.
David S. Miller [Wed, 11 Jul 2012 09:50:31 +0000 (02:50 -0700)]
Update sparc ULPs.
* sysdeps/sparc/fpu/libm-test-ulps: Update.
Andreas Schwab [Tue, 10 Jul 2012 17:11:03 +0000 (19:11 +0200)]
Fix LOG_MAKEPRI to agree with BSD
Chris Metcalf [Tue, 10 Jul 2012 14:35:27 +0000 (10:35 -0400)]
tile: correct typo in comment
Chris Metcalf [Tue, 10 Jul 2012 14:33:04 +0000 (10:33 -0400)]
tile: Convert ASM_GLOBAL_DIRECTIVE to .globl
Joseph Myers [Tue, 10 Jul 2012 14:29:29 +0000 (14:29 +0000)]
Change ASM_GLOBAL_DIRECTIVE to .globl for ARM.
Marek Polacek [Tue, 10 Jul 2012 12:30:24 +0000 (14:30 +0200)]
Get rid of ASM_GLOBAL_DIRECTIVE.
Andreas Schwab [Mon, 9 Jul 2012 18:57:50 +0000 (20:57 +0200)]
m68k: update libm test ULPs
Roland McGrath [Mon, 9 Jul 2012 11:41:13 +0000 (04:41 -0700)]
BZ#14336: Manual spelling fixes.
Joseph Myers [Mon, 9 Jul 2012 11:06:34 +0000 (11:06 +0000)]
Fix clog, clog10 spurious underflow exceptions (bug 14337).
Andreas Schwab [Fri, 6 Jul 2012 22:06:38 +0000 (00:06 +0200)]
Update NEWS
Andreas Schwab [Fri, 6 Jul 2012 21:56:57 +0000 (23:56 +0200)]
Fix float range reduction problems (#14283)
Andreas Schwab [Tue, 1 May 2012 15:10:10 +0000 (17:10 +0200)]
Fix missing _mcount@GLIBC_2.0 on powerpc32
Joseph Myers [Fri, 6 Jul 2012 21:19:38 +0000 (21:19 +0000)]
Fix tanf underflow close to pi/4 (bug 14154).
Petar Jovanovic [Fri, 6 Jul 2012 19:12:21 +0000 (19:12 +0000)]
Do not store data below the stack pointer on MIPS.
Joseph Myers [Fri, 6 Jul 2012 11:17:41 +0000 (11:17 +0000)]
Fix expm1 spurious underflow exceptions (bug 6778).
Mike Frysinger [Tue, 3 Jul 2012 19:22:05 +0000 (15:22 -0400)]
sunrpc: fix rpc bootstrap builds
If you build & install glibc w/rpc disabled, you no longer have headers in
/usr/include/rpc/ (this is expected). But if you try to build glibc w/rpc
enabled, this gets into a bad state due to the new rpc helpers that get
cross-compiled:
$ make
...
x86_64-pc-linux-gnu-gcc -m32 -D_RPC_THREAD_SAFE_ -D_GNU_SOURCE -DIS_IN_build \
-include $objdir/config.h rpc_clntout.c -o $objdir/sunrpc/cross-rpc_clntout.o \
-MMD -MP -MF $objdir/sunrpc/cross-rpc_clntout.o.dt -MT $objdir/sunrpc/cross-rpc_clntout.o -c
rpc_clntout.c:34:23: fatal error: rpc/types.h: No such file or directory
compilation terminated.
make: *** [$objdir/sunrpc/cross-rpc_clntout.o] Error 1
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Joseph Myers [Thu, 5 Jul 2012 22:16:03 +0000 (22:16 +0000)]
Add ARM-specific static-stubs.c.
Joseph Myers [Thu, 5 Jul 2012 11:02:13 +0000 (11:02 +0000)]
Fix csqrt underflow (bugs 14157, 14331).
Andreas Schwab [Wed, 4 Jul 2012 13:57:51 +0000 (15:57 +0200)]
Adapt tst-catgets to changes in tst-gettext
Andreas Schwab [Wed, 4 Jul 2012 12:16:05 +0000 (14:16 +0200)]
Fix tst-gettext test
Joseph Myers [Wed, 4 Jul 2012 09:55:26 +0000 (09:55 +0000)]
Fix ctan, ctanh of subnormals in round-upwards mode (bug 14328).
Mike Frysinger [Tue, 3 Jul 2012 19:19:16 +0000 (15:19 -0400)]
drop ports ignore
Now that it's been merged back into mainline, we don't want to ignore
the dir anymore.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Andreas Jaeger [Tue, 3 Jul 2012 19:43:55 +0000 (21:43 +0200)]
Update from translation teams
Joseph Myers [Tue, 3 Jul 2012 19:14:59 +0000 (19:14 +0000)]
Avoid use of libgcc_s and libgcc_eh when building glibc.
Joseph Myers [Tue, 3 Jul 2012 17:10:42 +0000 (17:10 +0000)]
Fix float range reduction problems (bug 14283).
Joseph Myers [Tue, 3 Jul 2012 17:06:55 +0000 (17:06 +0000)]
Add cosh tests for bug 14273.
Joseph Myers [Tue, 3 Jul 2012 17:03:29 +0000 (17:03 +0000)]
Add ppca2 to ports powerpc/dl-procinfo.
Joseph Myers [Tue, 3 Jul 2012 16:51:46 +0000 (16:51 +0000)]
Remove ports files no longer relevant now included in libc repository.
Joseph Myers [Tue, 3 Jul 2012 16:36:22 +0000 (16:36 +0000)]
Open development for 2.17.
Joseph Myers [Sun, 1 Jul 2012 13:08:59 +0000 (13:08 +0000)]
Merge glibc-ports into ports/ directory.
Joseph Myers [Sun, 1 Jul 2012 13:06:41 +0000 (13:06 +0000)]
Move all files into ports/ subdirectory in preparation for merge with glibc
Carlos O'Donell [Sat, 30 Jun 2012 19:12:34 +0000 (12:12 -0700)]
Release 2.16
Update version.h and include/features.h for 2.16 release.
Carlos O'Donell [Sat, 30 Jun 2012 15:27:06 +0000 (08:27 -0700)]
Update NEWS and README.
Final update for 2.16 release.
Thomas Schwinge [Thu, 28 Jun 2012 08:50:08 +0000 (10:50 +0200)]
manual/contrib.texi (Contributors): Sort alphabetically by last name.
Andreas Jaeger [Wed, 27 Jun 2012 17:50:07 +0000 (19:50 +0200)]
Add Samuel Thibault to manual/contrib.texi
Andreas Jaeger [Mon, 25 Jun 2012 08:28:03 +0000 (10:28 +0200)]
Update s390 ULPs file
Andreas Schwab [Sat, 9 Jun 2012 17:08:54 +0000 (19:08 +0200)]
SH can do fanotify_mark, too.
Thomas Schwinge [Sat, 23 Jun 2012 10:27:58 +0000 (12:27 +0200)]
Thomas Schwinge [Sat, 23 Jun 2012 10:17:44 +0000 (12:17 +0200)]
SH: __lll_robust_timedlock_wait: Simplify CFI directives.
Thomas Schwinge [Sat, 23 Jun 2012 10:11:13 +0000 (12:11 +0200)]
SH: Preserve more registers for frame unwinding purposes, add CFI directives.
Thomas Schwinge [Sat, 23 Jun 2012 10:07:04 +0000 (12:07 +0200)]
SH: Optimize assembler code in context of call to __fortify_fail.
__fortify_fail has »__attribute__ ((__noreturn__))«.
Thomas Schwinge [Sat, 23 Jun 2012 09:56:02 +0000 (11:56 +0200)]
SH: ____longjmp_chk for GNU/Linux with sigaltstack support.
debug/tst-longjmp_chk2 now passes.
Thomas Schwinge [Sat, 23 Jun 2012 09:47:39 +0000 (11:47 +0200)]
SH: ABORT_INSTRUCTION.
Thomas Schwinge [Sat, 23 Jun 2012 09:42:29 +0000 (11:42 +0200)]
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.
Thomas Schwinge [Sat, 23 Jun 2012 09:28:23 +0000 (11:28 +0200)]
SH: makecontext: Fix calculation of ARGC > 4.
stdlib/tst-setcontext and stdlib/tst-makecontext3 now pass.
Thomas Schwinge [Sat, 23 Jun 2012 09:22:47 +0000 (11:22 +0200)]
SH: makecontext: Improve understandability.
Kaz Kojima [Fri, 22 Jun 2012 22:29:05 +0000 (07:29 +0900)]
Fix gUSA sequence in SH atomic functions in
sysdeps/unix/sysv/linux/sh/bits/atomic.h.
Andreas Schwab [Fri, 22 Jun 2012 18:10:31 +0000 (11:10 -0700)]
Fix invalid memory access in do_lookup_x.
[BZ #13579] Do not free l_initfini and allow it to be reused
on subsequent dl_open calls for the same library. This fixes
the invalid memory access in do_lookup_x when the previously
free'd l_initfini was accessed through l_searchlist when a
library had been opened for the second time.
Carlos O'Donell [Fri, 22 Jun 2012 14:58:19 +0000 (14:58 +0000)]
Use AC_LANG_SOURCE to fix autoconf warnings.
Carlos O'Donell [Fri, 22 Jun 2012 14:52:50 +0000 (14:52 +0000)]
Use tab not spaces.
Roland McGrath [Fri, 22 Jun 2012 17:11:07 +0000 (10:11 -0700)]
Respect --localstatedir for /var/db parent directory.
Jeff Law [Thu, 21 Jun 2012 23:16:15 +0000 (17:16 -0600)]
Update copyright years
Jeff Law [Thu, 21 Jun 2012 23:15:38 +0000 (17:15 -0600)]
[BZ #14277]
* intl/dcigettext.c (_nl_find_msg): Avoid use after potential
free. Simplify list management for _LIBC case.
Joseph Myers [Thu, 21 Jun 2012 19:26:09 +0000 (19:26 +0000)]
Fix wordsize-64 cosh regression (bug 14273).
Joseph Myers [Thu, 21 Jun 2012 19:20:33 +0000 (19:20 +0000)]
Regenerate sysdeps/mach/configure.
H.J. Lu [Thu, 21 Jun 2012 17:30:14 +0000 (10:30 -0700)]
Mention BZ #14278 in NEWS
H.J. Lu [Thu, 21 Jun 2012 17:17:07 +0000 (10:17 -0700)]
Fix a typo in i386 SYSCALL_PIC_SETUP
Carlos O'Donell [Thu, 21 Jun 2012 17:08:19 +0000 (17:08 +0000)]
Carlos O'Donell [Thu, 21 Jun 2012 17:05:25 +0000 (17:05 +0000)]
Add .gitignore.
Ignore the autoconf cache directory.
Jeff Law [Thu, 21 Jun 2012 15:26:41 +0000 (09:26 -0600)]
2012-06-21 Jeff Law <law@redhat.com>
[BZ #13882]
* elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
uint16_t for elements in the "seen" array to avoid char overflows.
* elf/dl-fini.c (_dl_sort_fini): Likewise.
* elf/dl-open.c (dl_open_worker): Likewise.
Carlos O'Donell [Thu, 21 Jun 2012 15:04:35 +0000 (08:04 -0700)]
Carlos O'Donell [Thu, 21 Jun 2012 14:58:27 +0000 (07:58 -0700)]
Regenerate libc.pot.
Enhance scripts/list-sources.sh to search glibc-ports
for translatable strings.