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.
H.J. Lu [Thu, 24 May 2012 03:03:20 +0000 (20:03 -0700)]
Add sysdeps/unix/sysv/linux/x86_64/x32/configure
Paul Eggert [Fri, 16 Mar 2012 10:18:12 +0000 (03:18 -0700)]
mktime: avoid signed integer overflow
* time/mktime.c (__mktime_internal): Do not mishandle the case
where diff == INT_MIN.
Paul Eggert [Fri, 16 Mar 2012 10:15:57 +0000 (03:15 -0700)]
mktime: simplify computation of average
* time/mktime.c (ranged_convert): Use new time_t_avg function
instead of rolling our own (probably-slower) code.
Paul Eggert [Fri, 16 Mar 2012 10:14:03 +0000 (03:14 -0700)]
mktime: do not assume signed right shift propagates sign bit
* time/mktime.c (isdst_differ): New static function.
(__mktime_internal): No need to normalize tm_isdst now.
(__mktime_internal, not_equal_tm): Use isdst_differ to compare
tm_isdst values.
Paul Eggert [Fri, 16 Mar 2012 10:04:42 +0000 (03:04 -0700)]
mktime: merge another wrapv change from gnulib
* time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
from some compilers.
Paul Eggert [Fri, 16 Mar 2012 10:00:48 +0000 (03:00 -0700)]
mktime: remove incorrect attempt at unusual arithmetics
* time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
The code didn't really work on such machines anyway.
(TYPE_MINIMUM): Assume two's complement.
(twos_complement_arithmetic): Verify that long_int and time_t
are two's complement (or unsigned, in the latter case).
Paul Eggert [Fri, 16 Mar 2012 09:57:35 +0000 (02:57 -0700)]
mktime: check signed shifts on long_int and time_t, too
* time/mktime.c (SHR): Check that shifts work as desired
on the types long_int and time_t too, as SHR is used on
such types.
Paul Eggert [Fri, 16 Mar 2012 09:48:38 +0000 (02:48 -0700)]
mktime: do not assume 'long' is wide enough
* time/mktime.c (verify): Move decl up.
(long_int): New type.
(leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
to remove assumption in the code that 'long' is wide enough to
store year values. This assumption is not true on x32 and on
some non-glibc platforms.
Paul Eggert [Fri, 16 Mar 2012 09:36:14 +0000 (02:36 -0700)]
mktime: merge wrapv change from gnulib
* time/mktime.c (WRAPV): New macro.
(time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
(guess_time_tm, __mktime_internal): Do not assume that signed
integer overflow wraps around; modern compilers generate code
where this assumption is no longer valid.
H.J. Lu [Wed, 23 May 2012 18:35:38 +0000 (11:35 -0700)]
Replace "jmp L(pseudo_end)" with "ret"
Andreas Jaeger [Wed, 23 May 2012 18:23:49 +0000 (20:23 +0200)]
Add ChangeLog for last change
Andreas Jaeger [Wed, 23 May 2012 06:53:36 +0000 (08:53 +0200)]
Move poll to syscalls.list
Andreas Jaeger [Wed, 23 May 2012 18:16:00 +0000 (20:16 +0200)]
Add more constants to Linux <sys/reboot.h>
2012-05-23 Andreas Jaeger <aj@suse.de>
Maximilian Attems <max@stro.at>
* sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND,
RB_KEXEC):
New macros.
H.J. Lu [Wed, 23 May 2012 13:48:05 +0000 (06:48 -0700)]
Fix x32 sched_getcpu.S error code
Joseph Myers [Wed, 23 May 2012 12:52:56 +0000 (12:52 +0000)]
Add comments suggesting moving some functions to syscalls.list.
Joseph Myers [Wed, 23 May 2012 12:48:01 +0000 (12:48 +0000)]
Do not mention old Linux kernel versions in installation documentation.
Andreas Jaeger [Wed, 23 May 2012 07:27:39 +0000 (09:27 +0200)]
Update from Linux 3.4
Roland McGrath [Tue, 22 May 2012 21:24:54 +0000 (14:24 -0700)]
Simplify dl-vdso.h use of assert.
H.J. Lu [Tue, 22 May 2012 20:58:43 +0000 (13:58 -0700)]
Remove $(sysctl) from sysdep_routines
H.J. Lu [Tue, 22 May 2012 20:46:29 +0000 (13:46 -0700)]
Add sysctl.mk and bits/sysctl.h
Andreas Jaeger [Tue, 22 May 2012 20:35:04 +0000 (22:35 +0200)]
Fix x86_64/sched_getcpu.S error code
Rearrange code so that pseudo_end is just ret and the stack pointer
is correct also for static library in error case.
Paul Pluzhnikov [Tue, 22 May 2012 20:14:44 +0000 (13:14 -0700)]
Mention 14122 in NEWS.
Paul Pluzhnikov [Tue, 22 May 2012 20:09:27 +0000 (13:09 -0700)]
For [BZ#14122], plug memory leaks in nsswitch.c.
H.J. Lu [Tue, 22 May 2012 19:43:46 +0000 (12:43 -0700)]
Add x32 arch_prctl
H.J. Lu [Tue, 22 May 2012 19:42:36 +0000 (12:42 -0700)]
Add INTERNAL_SYSCALL_TYPES
Adhemerval Zanella [Tue, 22 May 2012 18:34:02 +0000 (15:34 -0300)]
PowerPC: libm ABI update
Update for libm abilist for POWER6 and POWER7.
Chandan Kumar [Tue, 22 May 2012 16:52:55 +0000 (18:52 +0200)]
Add new locale mag_IN.
[BZ#13968]
* locales/mag_IN: New file.
* SUPPORTED (SUPPORTED-LOCALES): Add appropriate entry.
H.J. Lu [Tue, 22 May 2012 16:25:29 +0000 (09:25 -0700)]
Add x32 support to x86_64/bits/fcntl.h
H.J. Lu [Tue, 22 May 2012 16:24:24 +0000 (09:24 -0700)]
Use "neg %eax" in i386 SYSCALL_ERROR_HANDLER
H.J. Lu [Tue, 22 May 2012 13:31:00 +0000 (06:31 -0700)]
Update copyright years for time/mktime.c
Paul Eggert [Tue, 22 May 2012 13:14:01 +0000 (06:14 -0700)]
mktime: merge comment-quoting-style change from gnulib
Paul Eggert [Tue, 22 May 2012 13:13:01 +0000 (06:13 -0700)]
time/mktime.c (compile-command): Add "-I."
Paul Eggert [Tue, 22 May 2012 13:11:29 +0000 (06:11 -0700)]
mktime: merge mktime-internal.h change from gnulib
Paul Eggert [Tue, 22 May 2012 13:10:34 +0000 (06:10 -0700)]
mktime: merge time_r change from gnulib
Paul Eggert [Tue, 22 May 2012 13:09:01 +0000 (06:09 -0700)]
mktime: merge DEBUG change from gnulib
Paul Eggert [Tue, 22 May 2012 13:07:58 +0000 (06:07 -0700)]
mktime: merge <sys/types.h> change from gnulib
Paul Eggert [Tue, 22 May 2012 13:05:37 +0000 (06:05 -0700)]
mktime: merge HAVE_CONFIG_H change from gnulib
H.J. Lu [Tue, 22 May 2012 12:34:36 +0000 (05:34 -0700)]
Use "neg %eax" in x86_64 SYSCALL_SET_ERRNO