H.J. Lu [Fri, 1 Jun 2012 20:22:46 +0000 (13:22 -0700)]
Use i386 sys/elf.h and sys/vm86.h for i386 and x86-64
H.J. Lu [Fri, 1 Jun 2012 20:06:37 +0000 (13:06 -0700)]
Define DR_LEN_8 only if __x86_64__ is defined
Joseph Myers [Fri, 1 Jun 2012 19:07:47 +0000 (19:07 +0000)]
Add 14048 to list of fixed bugs in NEWS.
Joseph Myers [Fri, 1 Jun 2012 19:05:46 +0000 (19:05 +0000)]
Fix fmod for subnormals (bug 14048).
Joseph Myers [Fri, 1 Jun 2012 19:02:21 +0000 (19:02 +0000)]
Ensure additions are not scheduled after fetestexcept in fmaf and fmal.
Aurelien Jarno [Fri, 1 Jun 2012 19:01:17 +0000 (19:01 +0000)]
Add a barrier in the double fma implementation.
H.J. Lu [Fri, 1 Jun 2012 18:16:15 +0000 (11:16 -0700)]
Use i386 bits/wchar.h for i386 and x86-64
Adhemerval Zanella [Fri, 1 Jun 2012 13:10:18 +0000 (10:10 -0300)]
PowerPC: Fix for POWER7 sinf/cosf
This patch fixes some sinf/cosf calculations that generated unexpected
underflows exceptions.
H.J. Lu [Fri, 1 Jun 2012 03:35:10 +0000 (20:35 -0700)]
Support __WORDSIZE == 64 in i386 bits/wchar.h
H.J. Lu [Fri, 1 Jun 2012 02:37:43 +0000 (19:37 -0700)]
Use x86_64 bits/typesizes.h for i386 and x86-64
H.J. Lu [Fri, 1 Jun 2012 02:33:55 +0000 (19:33 -0700)]
Use __SWORD_TYPE for __FSWORD_T_TYPE with -m32
H.J. Lu [Fri, 1 Jun 2012 00:14:35 +0000 (17:14 -0700)]
Use x86_64 bits/siginfo.h for i386 and x86_64
H.J. Lu [Thu, 31 May 2012 23:49:38 +0000 (16:49 -0700)]
Use x86_64 bits/stat.h for i386 and x86-64
H.J. Lu [Thu, 31 May 2012 23:47:45 +0000 (16:47 -0700)]
Update x86_64 bits/stat.h
David S. Miller [Thu, 31 May 2012 23:23:39 +0000 (16:23 -0700)]
Update sparc ulps after Joseph's math.h fixes.
* sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
entries.
Andreas Schwab [Thu, 31 May 2012 22:51:03 +0000 (00:51 +0200)]
Sort sysdeps/powerpc/fpu/libm-test-ulps
Andreas Schwab [Tue, 29 May 2012 21:55:13 +0000 (23:55 +0200)]
Remove use of INTDEF/INTUSE in stdio-common
H.J. Lu [Thu, 31 May 2012 23:17:21 +0000 (16:17 -0700)]
Remove space before tab in indent
Markus Trippelsdorf [Thu, 31 May 2012 23:16:23 +0000 (16:16 -0700)]
Add bits/sysctl.h to sysdep_headers
H.J. Lu [Thu, 31 May 2012 23:12:40 +0000 (16:12 -0700)]
Use x86_64 bits/sysctl.h for x86-64 and i386
H.J. Lu [Thu, 31 May 2012 23:11:11 +0000 (16:11 -0700)]
Use x86_64 sys/{ucontext,user}.h for i386 and x86_64
H.J. Lu [Thu, 31 May 2012 23:09:40 +0000 (16:09 -0700)]
Use x86_64 sys/procfs.h for both i386 and x86_64
H.J. Lu [Thu, 31 May 2012 23:06:54 +0000 (16:06 -0700)]
Replace addr with __addr in x86_64 sys/io.h
H.J. Lu [Thu, 31 May 2012 23:05:51 +0000 (16:05 -0700)]
Use x86_64 bits/mman.h for both i386 and x86_64
H.J. Lu [Thu, 31 May 2012 23:04:12 +0000 (16:04 -0700)]
Use x86-64 bits/{msq,sem,shm}.h for i386 and x86-64
H.J. Lu [Thu, 31 May 2012 23:03:09 +0000 (16:03 -0700)]
Use x86_64 bits/ipctypes.h for both i386 and x86-64
H.J. Lu [Thu, 31 May 2012 23:02:21 +0000 (16:02 -0700)]
Use x86_64 bits/epoll.h for both i386 and x86_64
H.J. Lu [Thu, 31 May 2012 23:01:24 +0000 (16:01 -0700)]
Use x86_64 bits/fcntl.h for both i386 and x86_64
H.J. Lu [Thu, 31 May 2012 23:00:18 +0000 (16:00 -0700)]
Use x86_64 bits/environments.h for i386 and x86_64
H.J. Lu [Thu, 31 May 2012 22:57:54 +0000 (15:57 -0700)]
Use x86_64 bits/a.out.h for both i386 and x86_64
H.J. Lu [Thu, 31 May 2012 22:55:37 +0000 (15:55 -0700)]
Add x86-64 support to i386 sys/elf.h and sys/vm86.h
Joseph Myers [Thu, 31 May 2012 21:25:48 +0000 (21:25 +0000)]
Use more decimal places for long double constants in math.h.
David S. Miller [Thu, 31 May 2012 21:19:30 +0000 (14:19 -0700)]
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.
Mike Frysinger [Sun, 6 May 2012 22:37:57 +0000 (18:37 -0400)]
tests: move -D_FORTIFY_SOURCE to CPPFLAGS
The -D_FORTIFY_SOURCE flags are being added to the test-specific CFLAGS
values when they should be the test-specific CPPFLAGS values. Otherwise
the values don't override the user-specified CPPFLAGS and might end up
breaking the tests.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Marek Polacek [Thu, 31 May 2012 11:10:02 +0000 (13:10 +0200)]
Remove use of INTUSE/INTDEF in misc.
David S. Miller [Thu, 31 May 2012 06:09:25 +0000 (23:09 -0700)]
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.
H.J. Lu [Thu, 31 May 2012 00:29:22 +0000 (17:29 -0700)]
Use x86-64 bits/pthreadtypes.h/semaphore.h for i386/x86-64
H.J. Lu [Thu, 31 May 2012 00:26:11 +0000 (17:26 -0700)]
Use x86_64/bits/xtitypes.h for i386/x86-64
H.J. Lu [Thu, 31 May 2012 00:25:23 +0000 (17:25 -0700)]
Use x86_64 bits/wordsize.h for both i386/x86_64
H.J. Lu [Wed, 30 May 2012 22:51:32 +0000 (15:51 -0700)]
Use i386 bits/huge_vall.h for i386/x86-64
H.J. Lu [Wed, 30 May 2012 22:49:31 +0000 (15:49 -0700)]
Use x86_64 bits/select.h for i386/x86_64
H.J. Lu [Wed, 30 May 2012 22:43:34 +0000 (15:43 -0700)]
Use x86_64 bits/setjmp.h for i386/x86_64
H.J. Lu [Wed, 30 May 2012 22:42:28 +0000 (15:42 -0700)]
Use x86_64 bits/mathdef.h for i386/x86_64
Andreas Schwab [Tue, 29 May 2012 20:40:00 +0000 (22:40 +0200)]
Remove use of INTDEF/INTUSE in socket
H.J. Lu [Wed, 30 May 2012 22:21:55 +0000 (15:21 -0700)]
Use x86_64 bits/{link.h,linkmap.h} for i386/x86_64
H.J. Lu [Wed, 30 May 2012 21:50:32 +0000 (14:50 -0700)]
Use the same bits/endian.h for i386/x86_64
H.J. Lu [Wed, 30 May 2012 21:13:18 +0000 (14:13 -0700)]
Use x86-64 bits/byteswap.h for both i386 and x86_64
David S. Miller [Wed, 30 May 2012 20:41:01 +0000 (13:41 -0700)]
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.
H.J. Lu [Wed, 30 May 2012 18:36:48 +0000 (11:36 -0700)]
Mention BZ #14183 in NEWS
H.J. Lu [Wed, 30 May 2012 18:35:47 +0000 (11:35 -0700)]
Use __UWORD_TYPE for __NLINK_T_TYPE with -m32
Richard Henderson [Wed, 30 May 2012 18:05:13 +0000 (11:05 -0700)]
alpha: Don't symbol_version syscalls outside libc
* sysdeps/unix/make-syscalls.sh: Protect symbol_version output
with #ifndef NOT_IN_libc.
Richard Henderson [Wed, 30 May 2012 18:02:44 +0000 (11:02 -0700)]
alpha: Handle ST_OTHER in objdump output
* scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
marked to avoid plt entry.
H.J. Lu [Wed, 30 May 2012 17:34:33 +0000 (10:34 -0700)]
Mention x32 in NEWS
H.J. Lu [Sat, 26 May 2012 19:56:19 +0000 (12:56 -0700)]
Mention BZ 14075 and 14112
H.J. Lu [Sat, 26 May 2012 17:46:59 +0000 (10:46 -0700)]
Convert WORDSIZE[32|64]/ld entries to abi-variants
Joseph Myers [Wed, 30 May 2012 14:52:34 +0000 (14:52 +0000)]
Remove __ASSUME_TRUNCATE64_SYSCALL.
Joseph Myers [Wed, 30 May 2012 09:50:40 +0000 (09:50 +0000)]
Weaken PIE configure test to a compile test.
Andreas Schwab [Wed, 30 May 2012 06:49:59 +0000 (08:49 +0200)]
Move CL entry
Andreas Schwab [Sat, 26 May 2012 20:16:19 +0000 (22:16 +0200)]
Remove use of INTDEF/INTUSE in nptl
Andreas Krebbel [Tue, 29 May 2012 11:04:22 +0000 (11:04 +0000)]
S/390: ABI baseline update.
David S. Miller [Mon, 28 May 2012 04:02:14 +0000 (21:02 -0700)]
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.
Thomas Schwinge [Sun, 27 May 2012 23:03:18 +0000 (01:03 +0200)]
SH: Use fpu_control_t for the temporary FPU control word.
Kaz Kojima [Sun, 27 May 2012 23:02:34 +0000 (01:02 +0200)]
SH: feraiseexcept: Restore fpscr flag fields.
Chung-Lin Tang [Sun, 27 May 2012 22:47:07 +0000 (00:47 +0200)]
SH: Add CFI directives.
Chung-Lin Tang [Sun, 27 May 2012 22:06:57 +0000 (00:06 +0200)]
SH: Add CFI directives.
Joseph Myers [Sun, 27 May 2012 18:37:42 +0000 (18:37 +0000)]
Add more NEWS items for 2.16.
Ulrich Drepper [Sun, 27 May 2012 07:00:50 +0000 (03:00 -0400)]
New Croatian translation
Andreas Schwab [Sat, 26 May 2012 20:20:56 +0000 (22:20 +0200)]
Fix missing declaration
Marek Polacek [Sat, 26 May 2012 12:41:28 +0000 (14:41 +0200)]
Fix CL date.
Andreas Schwab [Fri, 25 May 2012 09:57:33 +0000 (11:57 +0200)]
Optimize handling of denormals in logb/logbf/logbl
Marek Polacek [Sat, 26 May 2012 11:49:49 +0000 (13:49 +0200)]
Fix fma test for underflow.
Siddhesh Poyarekar [Sat, 26 May 2012 04:18:25 +0000 (09:48 +0530)]
Fix stack size and address inconsistency due to executable stack
When a stack is marked executable due to loading a DSO that requires
an executable stack, the logic tends to leave out a portion of stack
after the first frame, thus causing a difference in the value returned
by pthread_getattr_np before and after the stack is marked
executable. It ought to be possible to fix this by marking the rest of
the stack as executable too, but in the interest of marking as less of
the stack as executable as possible, the path this fix takes is to
make pthread_getattr_np also look at the first frame as the underflow
end of the stack and compute size and stack top accordingly.
The above happens only for the main process stack. NPTL thread stacks
are not affected by this change.
Joseph Myers [Fri, 25 May 2012 22:30:06 +0000 (22:30 +0000)]
Remove __ASSUME_NEW_GETRLIMIT_SYSCALL.
H.J. Lu [Fri, 25 May 2012 21:16:19 +0000 (14:16 -0700)]
Don't use header files in glibc configure
Roland McGrath [Fri, 25 May 2012 20:49:31 +0000 (13:49 -0700)]
NEWS item for --enable-systemtap
Rayson Ho [Wed, 23 Feb 2011 19:30:55 +0000 (11:30 -0800)]
i386 port of the pthread SystemTap probes
Roland McGrath [Fri, 25 May 2012 20:35:08 +0000 (13:35 -0700)]
Add systemtap static probe points in generic and x86_64 pthread code.
Roland McGrath [Fri, 25 May 2012 20:31:57 +0000 (13:31 -0700)]
Add systemtap static probe points in setjmp/longjmp on x86.
Roland McGrath [Fri, 25 May 2012 20:40:20 +0000 (13:40 -0700)]
Add --enable-systemtap configuration to define static probe points.
Joseph Myers [Fri, 25 May 2012 19:19:30 +0000 (19:19 +0000)]
Remove pre-2.4 Linux kernel support.
Richard Henderson [Fri, 25 May 2012 17:30:42 +0000 (10:30 -0700)]
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.
H.J. Lu [Fri, 25 May 2012 11:42:46 +0000 (04:42 -0700)]
Mention BZ 12495 and 13576 in NEWS
Joseph Myers [Fri, 25 May 2012 11:14:43 +0000 (11:14 +0000)]
Add missing comma in list of fixed bugs.
Joseph Myers [Fri, 25 May 2012 11:07:07 +0000 (11:07 +0000)]
Fix acosf underflow (bug 14153).
Jeff Law [Fri, 25 May 2012 03:30:43 +0000 (21:30 -0600)]
2012-05-24 Jeff Law <law@redhat.com>
* stdio-common/Makefile (tests): Add bug25.
* stdio-common/bug25.c: New test.
H.J. Lu [Fri, 25 May 2012 00:50:28 +0000 (17:50 -0700)]
Make free chunk size a multiple of MALLOC_ALIGNMENT
Joseph Myers [Thu, 24 May 2012 21:58:04 +0000 (21:58 +0000)]
conformtest: Update expectations for stdio.h and stdlib.h.
Andreas Schwab [Wed, 23 May 2012 20:38:10 +0000 (22:38 +0200)]
Remove use of INTDEF/INTUSE in intl
Andreas Schwab [Wed, 23 May 2012 11:33:15 +0000 (13:33 +0200)]
Remove use of INTDEF/INTUSE in libio
Roland McGrath [Tue, 22 May 2012 23:00:50 +0000 (16:00 -0700)]
syscalls.list support for vDSO IFUNCs, use it for x32 gettimeofday and time.
Roland McGrath [Thu, 24 May 2012 18:37:30 +0000 (11:37 -0700)]
Switch gettimeofday from INTUSE to libc_hidden_proto.
H.J. Lu [Thu, 24 May 2012 18:57:23 +0000 (11:57 -0700)]
Properly handle MALLOC_ALIGNMENT > 2 * SIZE_SZ
H.J. Lu [Thu, 24 May 2012 18:20:12 +0000 (11:20 -0700)]
Add x32 abilist files
H.J. Lu [Thu, 24 May 2012 18:18:30 +0000 (11:18 -0700)]
Add x32 C++ type data
Joseph Myers [Thu, 24 May 2012 15:36:54 +0000 (15:36 +0000)]
Add tests for underflow exception bugs 10846, 14036.
Richard Henderson [Thu, 24 May 2012 14:45:49 +0000 (07:45 -0700)]
Add getauxval news entry.
Joseph Myers [Thu, 24 May 2012 12:14:03 +0000 (12:14 +0000)]
Don't include exceptions in libm-test-ulps test names.
Joseph Myers [Thu, 24 May 2012 11:26:36 +0000 (11:26 +0000)]
Test underflow exceptions in libm-test.inc.
David S. Miller [Thu, 24 May 2012 04:52:38 +0000 (21:52 -0700)]
Forgot changelog in previous commit.
David S. Miller [Thu, 24 May 2012 04:47:03 +0000 (21:47 -0700)]
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.