Commit Graph

24237 Commits

Author SHA1 Message Date
Richard Henderson
d8cbc13ab6 alpha: Fix end-of-count checks in strncmp
This routine suffered a similar problem as stxncpy in needing to
bias a potentially very large unsigned number with wraparound.
This exposed a secondary problem where we didn't properly handle
end-of-count condition for the second string input resulting in
stratcliff failures.
2012-06-06 14:51:05 -07:00
Richard Henderson
8e2f4e971f alpha: Fix [BZ #13718]
The routines expect to be able to bias the count by a small number.
If the count is near -1ull, the count will overflow.  Since we cannot
use the whole 64-bit address space, bound the count to LONG_MAX.
2012-06-06 14:45:45 -07:00
Richard Henderson
43ac6d2665 alpha: Fix ev4 build with ev6 compiler 2012-06-06 14:39:23 -07:00
Richard Henderson
b2afe910fb alpha: Use cfi_startproc instead of dual procedure descriptors 2012-06-06 14:35:00 -07:00
Richard Henderson
a683563255 alpha: put mcount prologue at correct location 2012-06-06 14:23:21 -07:00
H.J. Lu
c08010c7cd Use x86_64 fpu/bits/fenv.h for i386 and x86_64 2012-06-06 10:13:19 -07:00
H.J. Lu
a728a38fb6 Check __SSE_MATH__ in x86_64 feraiseexcept 2012-06-06 10:11:14 -07:00
Siddhesh Poyarekar
6e230d1183 Fix validation check when converting from ibm930 to utf
[BZ #14134]

When converting IBM930 code with iconv(), if IBM930 code which
includes invalid multibyte character "0xffff" is specified, then
iconv() segfaults. This is easy to see using the following command:

echo '0x0e 0x43 0x8c 0xff 0xff 0x43 0xbd 0x43 0xbd' | xxd -r |
	iconv -f IBM930 -t UTF-8
2012-06-06 18:41:55 +05:30
Adhemerval Zanella
1b671feb61 Fix for wrong ldbl128-ibm fmodl commit 2012-06-05 21:33:23 -03:00
Richard Henderson
7d1feb5693 alpha: Use .cfi_signal_frame in rt_sigaction 2012-06-05 08:12:03 -07:00
Richard Henderson
0ff73bfcb0 alpha: Resurrect getppid, getegid, geteuid.
The sysdeps/unix files deleted in the main tree weren't unused.
Resurrect them in sysdeps/unix/alpha, and using the real syscall names.
2012-06-05 08:08:25 -07:00
Adhemerval Zanella
6043738b36 Fix spurious undeflow for ldbl-128ibm erfl
For values higher than 25.6283 erflc underflow, so adjust erfl
to return a constant value based argument sign.
2012-06-05 10:42:49 -03:00
Adhemerval Zanella
34ae0b3270 Fix ldbl128ibm fmodl for subnormals. 2012-06-05 10:16:49 -03:00
Mike Frysinger
1214ec8f4c 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>
2012-06-04 22:22:02 -04:00
H.J. Lu
3cc0cd4c5b Fix a typo in comment 2012-06-04 13:47:07 -07:00
H.J. Lu
0e4a3cd708 Use i486 bits/string.h for i386 and x86_64 2012-06-04 13:45:43 -07:00
H.J. Lu
6704c645b0 Provide 32-bit inline string functions for >= i486 2012-06-04 13:44:46 -07:00
H.J. Lu
48495318fa Use x86_64 bits/sigcontext.h for i386 and x86_64 2012-06-04 12:41:38 -07:00
H.J. Lu
14adcbfc36 Update x86_64 bits/sigcontext.h from kernel 3.4.0 2012-06-04 12:40:46 -07:00
H.J. Lu
68e408ab5d Use x86_64 bits/{debugreg,reg}.h for i386 and x86-64 2012-06-04 12:32:07 -07:00
H.J. Lu
f3d1f93cfb Use x86_64 bits/{io,perm}.h for i386 and x86_64 2012-06-04 12:29:49 -07:00
Tulio Magno Quites Machado Filho
d9dc34cd56 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.
2012-06-04 13:46:37 -05:00
Petr Baudis
06775cb82b 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>.
2012-06-04 18:48:44 +02:00
Serkan Kaba
961e3f9a33 locales/tr_TR: Fix first_weekday and first_workday [BZ#13223] 2012-06-04 18:35:35 +02:00
Jeff Law
03b6242320 [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.
2012-06-04 18:15:08 +02:00
Siddhesh Poyarekar
b17347ecff Updated NEWS for the last change 2012-06-04 11:55:06 +05:30
Siddhesh Poyarekar
4af3879c26 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.
2012-06-04 11:53:57 +05:30
David S. Miller
2fd6ff133b Sync longlong.h with GCC to fix a sparc regression.
* stdlib/longlong.h: Updated from GCC.
2012-06-03 18:51:43 -07:00
Andreas Schwab
173f722045 Move __mcount_internal from GLIBC_PRIVATE to GLIBC_2.16 2012-06-02 21:21:15 +02:00
H.J. Lu
f34a1c6f5e Fix a typo in x86_64 sys/io.h 2012-06-01 17:43:26 -07:00
Joseph Myers
ea32bcdd3d Add default-abi definitions for powerpc, s390 and sparc. 2012-06-01 21:19:28 +00:00
Joseph Myers
88a4576f50 Remove unused default-abi definition in Makeconfig. 2012-06-01 21:17:36 +00:00
David S. Miller
402fe938f6 Update longlong.h from GCC to get some sparc improvements.
* stdlib/longlong.h: Updated from GCC.
2012-06-01 13:33:28 -07:00
H.J. Lu
3bd872c4c4 Use i386 sys/elf.h and sys/vm86.h for i386 and x86-64 2012-06-01 13:22:46 -07:00
H.J. Lu
3553723f3c Define DR_LEN_8 only if __x86_64__ is defined 2012-06-01 13:06:37 -07:00
Joseph Myers
d97b8a3d21 Use dbl-64 fma for MIPS64. 2012-06-01 19:57:06 +00:00
Joseph Myers
bf50fc70f5 Add 14048 to list of fixed bugs in NEWS. 2012-06-01 19:07:47 +00:00
Joseph Myers
c5bfe3d5ba Fix fmod for subnormals (bug 14048). 2012-06-01 19:05:46 +00:00
Joseph Myers
4842e4fe5f Ensure additions are not scheduled after fetestexcept in fmaf and fmal. 2012-06-01 19:02:21 +00:00
Aurelien Jarno
efb734887e Add a barrier in the double fma implementation. 2012-06-01 19:01:17 +00:00
H.J. Lu
29bcce7ce4 Use i386 bits/wchar.h for i386 and x86-64 2012-06-01 11:16:15 -07:00
Richard Henderson
f93d7902de alpha: Use -mieee-with-inexact with math/test-misc 2012-06-01 10:46:08 -07:00
Richard Henderson
4b32777daa alpha: Update libm-test-ulps 2012-06-01 09:47:24 -07:00
Joseph Myers
12139ca306 Fix typo in MIPS abi-n32-condition. 2012-06-01 14:42:11 +00:00
Adhemerval Zanella
73a68f94d6 PowerPC: Fix for POWER7 sinf/cosf
This patch fixes some sinf/cosf calculations that generated unexpected
underflows exceptions.
2012-06-01 10:10:18 -03:00
H.J. Lu
ebc64a18c0 Support __WORDSIZE == 64 in i386 bits/wchar.h 2012-05-31 20:35:10 -07:00
H.J. Lu
edf2933a37 Use x86_64 bits/typesizes.h for i386 and x86-64 2012-05-31 19:37:43 -07:00
H.J. Lu
57c6cf4038 Use __SWORD_TYPE for __FSWORD_T_TYPE with -m32 2012-05-31 19:33:55 -07:00
H.J. Lu
8eb6281eaa Use x86_64 bits/siginfo.h for i386 and x86_64 2012-05-31 17:14:35 -07:00
H.J. Lu
aac639f42c Use x86_64 bits/stat.h for i386 and x86-64 2012-05-31 16:49:38 -07:00