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.
Roland McGrath [Thu, 2 Aug 2012 20:10:29 +0000 (13:10 -0700)]
Wrap overlong ChangeLog lines.
Chris Metcalf [Thu, 2 Aug 2012 19:48:14 +0000 (15:48 -0400)]
tile: Get rid of ASM_TYPE_DIRECTIVE
Marek Polacek [Thu, 2 Aug 2012 19:04:29 +0000 (21:04 +0200)]
Get rid of ASM_TYPE_DIRECTIVE{,_PREFIX}.
Roland McGrath [Wed, 1 Aug 2012 23:30:47 +0000 (16:30 -0700)]
Clean up fopen64 for O_LARGEFILE==0.
Marek Polacek [Wed, 1 Aug 2012 22:11:39 +0000 (00:11 +0200)]
Small cleanup in Makeconfig.
Joseph Myers [Wed, 1 Aug 2012 21:27:58 +0000 (21:27 +0000)]
Remove __ASSUME_FCNTL64.
Joseph Myers [Wed, 1 Aug 2012 20:49:45 +0000 (20:49 +0000)]
Remove __ASSUME_VFORK_SYSCALL (and some __NR_vfork conditionals).
Roland McGrath [Wed, 1 Aug 2012 18:39:08 +0000 (11:39 -0700)]
Move Linuxism out of sysdeps/arm/dl-machine.h.
Roland McGrath [Wed, 1 Aug 2012 18:13:37 +0000 (11:13 -0700)]
Clean up mkostemps64 definition for O_LARGEFILE==0.
Roland McGrath [Wed, 1 Aug 2012 18:09:48 +0000 (11:09 -0700)]
Clean up mkstemps64 definition for O_LARGEFILE==0.
Roland McGrath [Wed, 1 Aug 2012 17:48:17 +0000 (10:48 -0700)]
Generic sys/param.h fixes for missing SYMLOOP_MAX or NGROUPS_MAX.
Roland McGrath [Wed, 1 Aug 2012 17:31:27 +0000 (10:31 -0700)]
foo
Roland McGrath [Wed, 1 Aug 2012 17:42:38 +0000 (10:42 -0700)]
Clean up mkstemp64/mkostemp64 for O_LARGEFILE==0.
Roland McGrath [Wed, 1 Aug 2012 17:25:11 +0000 (10:25 -0700)]
BZ#14138: Move getrlimit (ugetrlimit) syscall to syscalls.list.
Florian Weimer [Tue, 24 Jul 2012 11:45:59 +0000 (13:45 +0200)]
* 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.
Steve Ellcey [Wed, 1 Aug 2012 15:11:43 +0000 (15:11 +0000)]
Fix MIPS PREF/PREFX macro definitions in empty case.
Andreas Schwab [Tue, 31 Jul 2012 22:53:49 +0000 (00:53 +0200)]
m68k: update libm test ULPs
Joseph Myers [Tue, 31 Jul 2012 23:17:24 +0000 (23:17 +0000)]
Improve MIPS n64 handling of 64-bit fcntl.
Pino Toscano [Tue, 31 Jul 2012 17:59:03 +0000 (19:59 +0200)]
Hurd: implement renameat
Provide an implementation of renameat, mostly based on rename.
Roland McGrath [Tue, 31 Jul 2012 16:43:14 +0000 (09:43 -0700)]
Clean up stub accept4 definition.
Roland McGrath [Tue, 31 Jul 2012 16:42:06 +0000 (09:42 -0700)]
Conditionalize use of PTR_MANGLE.
Roland McGrath [Tue, 31 Jul 2012 16:39:14 +0000 (09:39 -0700)]
Don't assume SIGWINCH is defined.
Roland McGrath [Tue, 31 Jul 2012 16:33:08 +0000 (09:33 -0700)]
Missing ChangeLog.arm entry.
David S. Miller [Tue, 31 Jul 2012 14:22:42 +0000 (14:22 +0000)]
Update sparc ULPs.
Joseph Myers [Tue, 31 Jul 2012 14:21:19 +0000 (14:21 +0000)]
Improve clog, clog10 handling of values with real or imaginary part slightly above 1 (bug 13629).
Florian Weimer [Tue, 31 Jul 2012 07:55:38 +0000 (09:55 +0200)]
secure_getenv test should write errors to standard output
This way, they end up in the log file. Also skip the test if no GID can
be found.
Roland McGrath [Mon, 30 Jul 2012 23:09:11 +0000 (16:09 -0700)]
Fix lots of bitrot for stub configurations.
Siddhesh Poyarekar [Sat, 28 Jul 2012 07:55:00 +0000 (13:25 +0530)]
Fix tst-pthread-getattr test case
Get the tst-pthread-getattr fix back with further improvements so that
it does not fail on targets that use the user stack to save
context.
David S. Miller [Sat, 28 Jul 2012 04:14:41 +0000 (21:14 -0700)]
Update sparc ULPs.
* sysdeps/sparc/fpu/libm-test-ulps: Update.
Joseph Myers [Fri, 27 Jul 2012 13:43:46 +0000 (13:43 +0000)]
Make mmap64 an alias of mmap on MIPS.
Gary Benson [Thu, 26 Jul 2012 10:03:35 +0000 (11:03 +0100)]
Add SystemTap static probes to the runtime linker. [BZ #14298]
Roland McGrath [Thu, 26 Jul 2012 21:33:52 +0000 (14:33 -0700)]
Fix some -Wformat warnings in rpcgen.
Pino Toscano [Thu, 26 Jul 2012 19:41:52 +0000 (21:41 +0200)]
Provide a generic empty version of __check_native.
Add an empty implementation of __check_native, as used in the posix version of getaddrinfo.
This allows non-Linux GNU-based OSes to compile.
Andreas Schwab [Thu, 26 Jul 2012 13:42:15 +0000 (15:42 +0200)]
m68k: update libm test ULPs
Joseph Myers [Thu, 26 Jul 2012 11:31:35 +0000 (11:31 +0000)]
Improve clog, clog10 handling of values with real or imaginary part 1 (bug 13629).
Joseph Myers [Thu, 26 Jul 2012 11:29:07 +0000 (11:29 +0000)]
Move testsuite audit definitions to sysdeps tst-audit.h files.
Andreas Jaeger [Thu, 26 Jul 2012 11:13:26 +0000 (13:13 +0200)]
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.
Andreas Jaeger [Thu, 26 Jul 2012 11:11:33 +0000 (13:11 +0200)]
Merge Linux 3.5 epoll changes
Add EPOLLWAKEUP.
Andreas Jaeger [Thu, 26 Jul 2012 11:09:25 +0000 (13:09 +0200)]
Merge _sigsys changes from Linux 3.5
Joseph Myers [Wed, 25 Jul 2012 21:19:13 +0000 (21:19 +0000)]
Remove pre-2.4.21 Linux kernel support.
Andreas Schwab [Mon, 16 Jul 2012 14:12:47 +0000 (16:12 +0200)]
Remove unused pseudo_end label
Florian Weimer [Wed, 25 Jul 2012 18:46:19 +0000 (20:46 +0200)]
Fix up ChangeLog entries
Florian Weimer [Wed, 25 Jul 2012 17:46:22 +0000 (19:46 +0200)]
Rename __secure_getenv to secure_getenv
Joseph Myers [Wed, 25 Jul 2012 16:03:02 +0000 (16:03 +0000)]
Move ldsodefs.h audit definitions to sysdeps directories.
Siddhesh Poyarekar [Wed, 25 Jul 2012 15:11:32 +0000 (20:41 +0530)]
Revert fix to tst-pthread-getattr since it fails on sparc
Marek Polacek [Wed, 25 Jul 2012 10:59:36 +0000 (12:59 +0200)]
Set up errno properly for yn.
Joseph Myers [Tue, 24 Jul 2012 19:43:38 +0000 (19:43 +0000)]
conformtest: Update expectations for time.h.
Thomas Schwinge [Mon, 23 Jul 2012 10:27:12 +0000 (12:27 +0200)]
configure.in <sysdeps resolving>: Correct printing Implies_before.
Thomas Schwinge [Sun, 22 Jul 2012 20:25:14 +0000 (22:25 +0200)]
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.