Mike Frysinger [Sun, 6 May 2012 22:30:15 +0000 (18:30 -0400)]
tst-getcpu: decode errno when sched_getcpu fails
The tst-getcpu test is failing on ia64 platforms due to sched_getcpu
returning an error. But the current test only considers -1 when it's
also ENOSYS. Tweak the logic a bit to make the output clearer.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
H.J. Lu [Mon, 4 Jun 2012 20:47:07 +0000 (13:47 -0700)]
Fix a typo in comment
H.J. Lu [Mon, 4 Jun 2012 20:45:43 +0000 (13:45 -0700)]
Use i486 bits/string.h for i386 and x86_64
H.J. Lu [Mon, 4 Jun 2012 20:44:46 +0000 (13:44 -0700)]
Provide 32-bit inline string functions for >= i486
H.J. Lu [Mon, 4 Jun 2012 19:41:38 +0000 (12:41 -0700)]
Use x86_64 bits/sigcontext.h for i386 and x86_64
H.J. Lu [Mon, 4 Jun 2012 19:40:46 +0000 (12:40 -0700)]
Update x86_64 bits/sigcontext.h from kernel 3.4.0
H.J. Lu [Mon, 4 Jun 2012 19:32:07 +0000 (12:32 -0700)]
Use x86_64 bits/{debugreg,reg}.h for i386 and x86-64
H.J. Lu [Mon, 4 Jun 2012 19:29:49 +0000 (12:29 -0700)]
Use x86_64 bits/{io,perm}.h for i386 and x86_64
Tulio Magno Quites Machado Filho [Mon, 4 Jun 2012 18:46:37 +0000 (13:46 -0500)]
Manual for platform-specific features and new __ppc_get_timebase inline.
[BZ #13743]
A new class of installed headers has been documented for low-level
platform-specific functionality. PowerPC added the first instance with a
function to provide time base register access (__ppc_get_timebase). This
is required for applications that measure time at high frequencies with
high precision that can't afford a syscall.
Petr Baudis [Mon, 4 Jun 2012 16:48:44 +0000 (18:48 +0200)]
locales/tr_TR: Change currency from YTL to TL. [BZ#13996]
As of January 1st 2009, the "new" prefix was removed from the New
Turkish lira, its official name becoming "Turkish lira" again,
abbreviated "TL".
Patch by <gokcen@pardus.org.tr>.
Serkan Kaba [Mon, 4 Jun 2012 16:35:09 +0000 (18:35 +0200)]
locales/tr_TR: Fix first_weekday and first_workday [BZ#13223]
Jeff Law [Mon, 4 Jun 2012 16:15:08 +0000 (18:15 +0200)]
[PATCH] Fix first_weekday/first_workday for EU locales
The following URL shows an official response to a question about
locale dates within the EU. Basically they adopted ISO 8601:
http://eur-lex.europa.eu/LexUriServ/LexUriServ.do?uri=OJ:C:2004:78E:0447:0447:EN:PDF
ISO 8601:
http://dotat.at/tmp/ISO_8601-2004_E.pdf
2.2.8 calendar week
time interval of seven calendar days starting with a Monday
The pt_PT locale change has been removed from the patch by
Petr Baudis since Sunday seems to be the first day there
in daily usage.
Siddhesh Poyarekar [Mon, 4 Jun 2012 06:25:06 +0000 (11:55 +0530)]
Updated NEWS for the last change
Siddhesh Poyarekar [Mon, 4 Jun 2012 06:11:24 +0000 (11:41 +0530)]
Wrap __builtin_expect in pthread.h
[BZ #14188]
This fixes compilation of programs using pthread_cleanup_push built
with non-gcc compilers and older gcc compilers.
David S. Miller [Mon, 4 Jun 2012 01:51:43 +0000 (18:51 -0700)]
Sync longlong.h with GCC to fix a sparc regression.
* stdlib/longlong.h: Updated from GCC.
Andreas Schwab [Wed, 2 May 2012 08:24:39 +0000 (10:24 +0200)]
Move __mcount_internal from GLIBC_PRIVATE to GLIBC_2.16
H.J. Lu [Sat, 2 Jun 2012 00:43:26 +0000 (17:43 -0700)]
Fix a typo in x86_64 sys/io.h
Joseph Myers [Fri, 1 Jun 2012 21:19:28 +0000 (21:19 +0000)]
Add default-abi definitions for powerpc, s390 and sparc.
Joseph Myers [Fri, 1 Jun 2012 21:17:36 +0000 (21:17 +0000)]
Remove unused default-abi definition in Makeconfig.
David S. Miller [Fri, 1 Jun 2012 20:32:04 +0000 (13:32 -0700)]
Update longlong.h from GCC to get some sparc improvements.
* stdlib/longlong.h: Updated from GCC.
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.