Roland McGrath [Fri, 17 Aug 2012 18:29:45 +0000 (11:29 -0700)]
Make malloc build for no-threads configurations.
Roland McGrath [Fri, 17 Aug 2012 18:17:04 +0000 (11:17 -0700)]
Change type of constant to avoid a warning.
Roland McGrath [Fri, 17 Aug 2012 16:55:17 +0000 (09:55 -0700)]
Split sys/param.h out into common file and sysdeps bits/param.h file.
Roland McGrath [Fri, 17 Aug 2012 16:49:37 +0000 (09:49 -0700)]
Add a cast to silence a warning.
Roland McGrath [Fri, 17 Aug 2012 16:35:36 +0000 (09:35 -0700)]
Make libio compile without _IO_MTSAFE_IO.
Roland McGrath [Fri, 17 Aug 2012 16:35:15 +0000 (09:35 -0700)]
Clean up definition of _LIBC_REENTRANT and _IO_MTSAFE_IO.
Gary Benson [Fri, 17 Aug 2012 10:44:37 +0000 (11:44 +0100)]
Also set r->r_map when unmapping the first object in a namespace.
When unmapping the first object in a namespace, the runtime linker
did not update the externally visible pointer. This resulted in
debuggers seeing pointers to memory that had been freed.
Roland McGrath [Thu, 16 Aug 2012 22:38:45 +0000 (15:38 -0700)]
Do not pollute name space with internal_*netgrent functions.
Joseph Myers [Thu, 16 Aug 2012 21:37:04 +0000 (21:37 +0000)]
Update longlong.h from GCC.
Roland McGrath [Thu, 16 Aug 2012 21:08:47 +0000 (14:08 -0700)]
Suppress -Wunused-but-set warnings in GMP code.
Carlos O'Donell [Thu, 16 Aug 2012 15:36:24 +0000 (08:36 -0700)]
Fifth argument of la_pltenter() is not constant.
The original runtime linker auditing interface described
by Solaris allows the 5th argument of la_pltenter() to be
modified. This patch cleans up the ldsodefs.h definitions
such that the 5th argument is not constant.
At one point the 5th argument *was* constant but this was
changed with commit
2413fdba7a02ba8916f75d17199a6e9133a8f7b0.
This patch updates alpha, ia64, mips, sh and sparc with similar
changes.
Joseph Myers [Thu, 16 Aug 2012 14:03:43 +0000 (14:03 +0000)]
Remove __ASSUME_POSIX_TIMERS.
Roland McGrath [Thu, 16 Aug 2012 00:05:10 +0000 (17:05 -0700)]
Fix dl-load.c for [!_LIBC_REENTRANT] case.
Roland McGrath [Thu, 16 Aug 2012 00:03:56 +0000 (17:03 -0700)]
Define __rtld_lock_initialize in stub bits/libc-lock.h file.
Roland McGrath [Thu, 16 Aug 2012 00:02:22 +0000 (17:02 -0700)]
Add a missing #include to dl-sym.c.
Maxim Kuvyrkov [Wed, 15 Aug 2012 23:44:30 +0000 (16:44 -0700)]
Optimize __libc_lock_lock and __libc_lock_trylock for MIPS.
Maxim Kuvyrkov [Wed, 15 Aug 2012 23:29:06 +0000 (16:29 -0700)]
Add generic versions of pthread_spin_lock and pthread_spin_trylock.
Roland McGrath [Wed, 15 Aug 2012 23:03:58 +0000 (16:03 -0700)]
Suppress regcomp.c warnings in 32-bit builds.
Roland McGrath [Wed, 15 Aug 2012 22:47:52 +0000 (15:47 -0700)]
Define O_DSYNC and O_RSYNC in generic/4.4 bits/fcntl.h file.
Roland McGrath [Wed, 15 Aug 2012 22:40:06 +0000 (15:40 -0700)]
Move stub lseek.c to the right directory.
Roland McGrath [Wed, 15 Aug 2012 22:35:16 +0000 (15:35 -0700)]
Fix stub clock_nanosleep #include.
Roland McGrath [Wed, 15 Aug 2012 20:59:59 +0000 (13:59 -0700)]
Fix last sha512.c change to avoid compiler warning.
Andreas Jaeger [Wed, 15 Aug 2012 19:18:44 +0000 (21:18 +0200)]
Remove executable permissions checked in by accident
Liubov Dmitrieva [Wed, 15 Aug 2012 19:06:55 +0000 (21:06 +0200)]
Fix segmentation fault in strncasecmp for i686
2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
[BZ #14195]
* sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
segmentation fault for a case of two empty input strings.
* string/test-strncasecmp.c (check1): Renamed to...
(bz12205): ...this.
(bz14195): Add new testcase for two empty input strings and N > 0.
(test_main): Call new testcase, adapt for renamed function.
Andreas Jaeger [Wed, 15 Aug 2012 18:51:04 +0000 (20:51 +0200)]
Add testcase for BZ#14090 - md5/sha512 with large sizes
Paul Eggert [Wed, 15 Aug 2012 18:49:45 +0000 (20:49 +0200)]
Fix BZ#14090 - md5/sha512 with large sizes
Roland McGrath [Wed, 15 Aug 2012 18:40:41 +0000 (11:40 -0700)]
Remove local redefinition of MAX macro.
Roland McGrath [Wed, 15 Aug 2012 18:38:57 +0000 (11:38 -0700)]
Clean up x86_64/multiarch/strstr-c.c include order.
Roland McGrath [Wed, 15 Aug 2012 18:26:02 +0000 (11:26 -0700)]
Clean up x86_64/multiarch/memmove.c include order.
Roland McGrath [Wed, 15 Aug 2012 17:09:18 +0000 (10:09 -0700)]
Declare __getdirentries in internal dirent.h.
Roland McGrath [Wed, 15 Aug 2012 17:08:32 +0000 (10:08 -0700)]
Add casts to suppress warnings in system.c under [!_LIBC_REENTRANT].
Roland McGrath [Tue, 14 Aug 2012 23:39:38 +0000 (16:39 -0700)]
Rename ARM bits/atomic.h not to be specific to nptl add-on.
Roland McGrath [Tue, 14 Aug 2012 23:38:23 +0000 (16:38 -0700)]
Separate ARM bits/atomic.h into generic and Linux-specific files.
Joseph Myers [Wed, 15 Aug 2012 09:49:07 +0000 (09:49 +0000)]
Update MIPS dl-lookup.c from generic version.
Mike Frysinger [Wed, 15 Aug 2012 01:38:15 +0000 (21:38 -0400)]
arm: fix up style in reloc fix
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Sun, 12 Aug 2012 19:13:10 +0000 (15:13 -0400)]
i386/x86_64: punt HAVE_CPP_ASM_DEBUGINFO
Pretty sure we require recent enough versions of gcc/binutils to make this
check pointless. I can't any logs in the last few years where this check
didn't return "yes".
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Sun, 12 Aug 2012 19:09:12 +0000 (15:09 -0400)]
ia64: drop HAVE_CPP_ASM_DEBUGINFO
Looks like a wart copied from the i386 code base. The only place I can
find that checks this is the i386 sysdep.h, and even then this looks like
a check that should get thrown away as obsolete ...
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Roland McGrath [Tue, 14 Aug 2012 23:43:24 +0000 (16:43 -0700)]
Add a missing #include.
Roland McGrath [Tue, 14 Aug 2012 23:04:29 +0000 (16:04 -0700)]
Add a missing #include.
Joseph Myers [Tue, 14 Aug 2012 22:34:04 +0000 (22:34 +0000)]
Remove __ASSUME_CLONE_THREAD_FLAGS.
Joseph Myers [Tue, 14 Aug 2012 20:28:33 +0000 (20:28 +0000)]
Add more fixed bug numbers to NEWS.
Andreas Jaeger [Tue, 14 Aug 2012 06:04:51 +0000 (08:04 +0200)]
Another ULPs update.
Andreas Jaeger [Tue, 14 Aug 2012 06:02:08 +0000 (08:02 +0200)]
Update i386 ULPs
Andreas Jaeger [Tue, 14 Aug 2012 05:59:57 +0000 (07:59 +0200)]
Use tabs instead of spaces
Maxim Kuvyrkov [Tue, 14 Aug 2012 02:55:34 +0000 (19:55 -0700)]
Add explicit acquire/release semantics to MIPS' atomic_exchange_and_add.
Maxim Kuvyrkov [Tue, 14 Aug 2012 02:31:00 +0000 (19:31 -0700)]
Add explicit acquire/release semantics to atomic_exchange_and_add.
Richard Henderson [Tue, 14 Aug 2012 01:19:23 +0000 (18:19 -0700)]
alpha: Don't test toolchain support for TLS or GPREL
Richard Henderson [Tue, 14 Aug 2012 01:17:45 +0000 (18:17 -0700)]
alpha: Fix compat version number for nearbyintl
Markus Trippelsdorf [Mon, 13 Aug 2012 19:24:17 +0000 (21:24 +0200)]
Update x86-64 ULPs
The recent clog and clog10 fixes are causing some failing tests on my
AMD64 CPU.
Jeff Law [Mon, 13 Aug 2012 19:12:18 +0000 (13:12 -0600)]
* manual/stdio.texi (snprintf): Clarify handling of the trailing
null byte in the output string.
Mike Frysinger [Sun, 12 Aug 2012 19:01:40 +0000 (15:01 -0400)]
ia64: drop TLS configure check
Since we require a new enough version of binutils that has TLS, we don't
need to bother checking for it anymore.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Thu, 12 Apr 2012 22:58:35 +0000 (18:58 -0400)]
hppa: add missing prlimit64 symbol
All other arches have this in their syscall list. Looks like hppa
is missing it though and breaks one or two apps that try to call it.
URL: https://bugs.gentoo.org/411745
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Sun, 12 Aug 2012 18:44:36 +0000 (14:44 -0400)]
ia64: drop ASM_TYPE_DIRECTIVE usage
Matches what we've done in the rest of the tree.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Sun, 1 Jan 2012 07:36:32 +0000 (02:36 -0500)]
arm: handle unaligned ABS relocs
When relocating a misaligned R_ARM_ABS32, glibc currently crashes.
URL: https://bugs.gentoo.org/394237
URL: http://gcc.gnu.org/PR51456
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Joseph Myers [Fri, 10 Aug 2012 15:53:27 +0000 (15:53 +0000)]
Move Linux kernel version conditionals to kernel-features.h.
Jeff Law [Fri, 10 Aug 2012 15:39:38 +0000 (09:39 -0600)]
Fix whitespace problems detected by commit hooks.
Jeff Law [Fri, 10 Aug 2012 15:37:04 +0000 (09:37 -0600)]
[BZ #13939]
* malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
When avoid_arena is set, don't retry in the that arena. Pick the
next one, whatever it might be.
(arena_get2): New parameter avoid_arena, pass through to reused_arena.
(arena_lock): Pass in new parameter to arena_get2.
* malloc/malloc.c (__libc_memalign): Pass in new parameter to
arena_get2.
(__libc_malloc): Unify retrying after main arena failure with
__libc_memalign version.
(__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
Andreas Schwab [Fri, 10 Aug 2012 09:06:42 +0000 (11:06 +0200)]
m68k: fix type of pltenter member in audit interface
Roland McGrath [Thu, 9 Aug 2012 23:17:14 +0000 (16:17 -0700)]
Make ARM setjmp/longjmp respect ARM_ASSUME_NO_IWMMXT macro.
Joseph Myers [Thu, 9 Aug 2012 23:33:41 +0000 (23:33 +0000)]
Define __ASSUME_UTIMES for MIPS.
H.J. Lu [Thu, 9 Aug 2012 23:04:37 +0000 (16:04 -0700)]
Avoid DWARF definition DIE on ifunc symbols
Roland McGrath [Thu, 9 Aug 2012 18:51:05 +0000 (11:51 -0700)]
Avoid VFP HWCAP check in setjmp/longjmp and getcontext/setcontext when compiled without __SOFTFP__ defined.
Roland McGrath [Thu, 9 Aug 2012 17:04:56 +0000 (10:04 -0700)]
Don't check HWCAP_ARM_VFP in OS-generic code.
Presume VFP if compiled without __SOFTFP__ defined.
Mark Salter [Thu, 9 Aug 2012 01:43:47 +0000 (21:43 -0400)]
Add new AM33 relocs
Roland McGrath [Wed, 8 Aug 2012 22:04:09 +0000 (15:04 -0700)]
Add sotruss-lib support for ARM.
Joseph Myers [Wed, 8 Aug 2012 23:22:53 +0000 (23:22 +0000)]
Remove __ASSUME_TGKILL.
Roland McGrath [Wed, 8 Aug 2012 21:57:07 +0000 (14:57 -0700)]
Add a const in arm_gnu_pltexit signature.
Roland McGrath [Wed, 8 Aug 2012 21:19:57 +0000 (14:19 -0700)]
ARM: fix build breakage from sysdeps/unix/sysv/linux/arm/dl-machine.h addition.
Roland McGrath [Wed, 8 Aug 2012 20:57:50 +0000 (13:57 -0700)]
Fiddle ARM atomic.h to avoid -Wvolatile-register-var warnings.
Roland McGrath [Wed, 8 Aug 2012 20:16:54 +0000 (13:16 -0700)]
Add missing #include for sysdeps/arm/dl-irel.h.
Roland McGrath [Wed, 8 Aug 2012 18:03:47 +0000 (11:03 -0700)]
Fix __dl_start declaration to avoid warning.
Roland McGrath [Wed, 8 Aug 2012 17:39:28 +0000 (10:39 -0700)]
Add a missing #include.
Roland McGrath [Wed, 8 Aug 2012 16:18:37 +0000 (09:18 -0700)]
Missing #include updates for dirstream code move from unix to posix.
Richard Henderson [Wed, 8 Aug 2012 14:36:33 +0000 (07:36 -0700)]
alpha: Purge __ASSUME_IEEE_RAISE_EXCEPTION
Richard Henderson [Tue, 7 Aug 2012 16:48:05 +0000 (09:48 -0700)]
alpha: Tidy up ieee_get/set_fp_control syscalls
Richard Henderson [Tue, 7 Aug 2012 16:11:31 +0000 (09:11 -0700)]
alpha: Purge __ASSUME_STAT64_SYSCALL
Andreas Schwab [Wed, 8 Aug 2012 10:00:31 +0000 (12:00 +0200)]
m68k/cf: define __signbit/__signbitf as inlines
Andreas Schwab [Wed, 8 Aug 2012 08:39:05 +0000 (10:39 +0200)]
m68k/cf: avoid warning in non-shared atomic_compare_and_exchange_val_acq
Allan McRae [Sat, 4 Aug 2012 02:19:09 +0000 (12:19 +1000)]
rpcgen - fall back to looking for cpp in system path
Fall back to the system cpp when /lib/cpp is not present. Removes
searching for /usr/ccs/lib/cpp which is not supported on any system that
uses glibc.
Joseph Myers [Tue, 7 Aug 2012 23:03:35 +0000 (23:03 +0000)]
Remove some pre-2.6.16 Linux kernel conditionals.
Roland McGrath [Tue, 7 Aug 2012 21:47:34 +0000 (14:47 -0700)]
Move common dirent implementation from sysdeps/unix to sysdeps/posix.
Roland McGrath [Tue, 7 Aug 2012 21:12:10 +0000 (14:12 -0700)]
Make the bsd4.4/bits/fcntl.h be the generic one.
Roland McGrath [Tue, 7 Aug 2012 21:10:37 +0000 (14:10 -0700)]
Update bsd4.4/bits/fcntl.h to match modern NetBSD bits.
Roland McGrath [Tue, 7 Aug 2012 20:17:26 +0000 (13:17 -0700)]
Make the bsd4.4/bits/dirent.h be the generic one.
Roland McGrath [Tue, 7 Aug 2012 20:15:18 +0000 (13:15 -0700)]
Define _DIRENT_MATCHES_DIRENT64 in bsd4.4/bits/dirent.h
Joseph Myers [Tue, 7 Aug 2012 16:40:32 +0000 (16:40 +0000)]
Remove pre-2.6.16 Linux kernel support.
Roland McGrath [Mon, 6 Aug 2012 23:47:58 +0000 (16:47 -0700)]
Clean up {alphasort,versionsort,scandir,scandirat}{,64} for struct dirent == struct dirent64.
Roland McGrath [Mon, 6 Aug 2012 23:48:14 +0000 (16:48 -0700)]
Clean up lockf64, fseeko64, ftello64, fgetpos64, fsetpos64 for off64_t == off_t.
H.J. Lu [Mon, 6 Aug 2012 21:47:35 +0000 (14:47 -0700)]
Remove __secure_getenv in 2.17 instead of 2.16
H.J. Lu [Mon, 6 Aug 2012 19:56:52 +0000 (12:56 -0700)]
Remove x32/iofopen.c and x32/iofopen64.c
Jim Meyering [Tue, 3 Jul 2012 09:55:19 +0000 (11:55 +0200)]
getXXbyYY_r.c: Fix comment typo: s/FUNCTION_NAME/FUNCTION2_NAME/
Chris Metcalf [Sat, 4 Aug 2012 13:57:37 +0000 (09:57 -0400)]
tile: fix typo in ASM_TYPE_DIRECTIVE fix
David S. Miller [Sat, 4 Aug 2012 03:39:26 +0000 (20:39 -0700)]
Update SPARC ULPs.
* sysdeps/sparc/fpu/libm-test-ulps: Update.
Joseph Myers [Fri, 3 Aug 2012 19:54:08 +0000 (19:54 +0000)]
Remove some pre-2.6.0 Linux kernel conditionals.
Roland McGrath [Wed, 1 Aug 2012 17:33:11 +0000 (10:33 -0700)]
Distinguish ELOOP diagnosis threshold from SYMLOOP_MAX.
Mike Frysinger [Thu, 2 Aug 2012 00:56:03 +0000 (20:56 -0400)]
ia64: fix byteswap conversion warning
Same fix as went in for other architectures.
URL: http://sourceware.org/bugzilla/show_bug.cgi?id=12194
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Joseph Myers [Fri, 3 Aug 2012 13:46:25 +0000 (13:46 +0000)]
Add more fixed bug numbers to NEWS.
Joseph Myers [Fri, 3 Aug 2012 13:42:47 +0000 (13:42 +0000)]
Remove pre-2.6.0 Linux kernel support (bug 13717).
Andreas Schwab [Fri, 3 Aug 2012 09:35:12 +0000 (11:35 +0200)]
m68k: remove ASM_{TYPE,SIZE}_DIRECTIVE and ALIGNARG
Joseph Myers [Thu, 2 Aug 2012 20:57:45 +0000 (20:57 +0000)]
Remove ASM_TYPE_DIRECTIVE for ARM.