Commit Graph

749 Commits

Author SHA1 Message Date
Andreas Schwab
c68257729d Fix LOG_MAKEPRI to agree with BSD 2012-07-10 22:39:30 +02:00
Marek Polacek
7b8e0d49cb Get rid of ASM_GLOBAL_DIRECTIVE. 2012-07-10 14:30:24 +02:00
Joseph Myers
638a572eb0 Fix clog, clog10 spurious underflow exceptions (bug 14337). 2012-07-09 11:06:34 +00:00
Andreas Schwab
ad41a87fe0 Update NEWS 2012-07-07 00:07:13 +02:00
Joseph Myers
9ad63c23ea Fix tanf underflow close to pi/4 (bug 14154). 2012-07-06 21:19:38 +00:00
Joseph Myers
f17ac40d7c Fix expm1 spurious underflow exceptions (bug 6778). 2012-07-06 11:17:41 +00:00
Joseph Myers
cdfe2c5eb3 Fix csqrt underflow (bugs 14157, 14331). 2012-07-05 11:02:13 +00:00
Joseph Myers
ca61cf32d9 Fix ctan, ctanh of subnormals in round-upwards mode (bug 14328). 2012-07-04 09:55:26 +00:00
Joseph Myers
7a845b2c23 Fix float range reduction problems (bug 14283). 2012-07-03 17:11:41 +00:00
Joseph Myers
370ca3d2ad Open development for 2.17. 2012-07-03 16:36:22 +00:00
Carlos O'Donell
ee9247c38a Update NEWS and README.
Final update for 2.16 release.
2012-06-30 08:27:06 -07:00
Andreas Schwab
0479b305c5 Fix invalid memory access in do_lookup_x.
[BZ #13579] Do not free l_initfini and allow it to be reused
on subsequent dl_open calls for the same library. This fixes
the invalid memory access in do_lookup_x when the previously
free'd l_initfini was accessed through l_searchlist when a
library had been opened for the second time.
2012-06-22 11:10:31 -07:00
Jeff Law
006dd86111 [BZ #14277]
* intl/dcigettext.c (_nl_find_msg): Avoid use after potential
        free.  Simplify list management for _LIBC case.
2012-06-21 17:15:38 -06:00
Joseph Myers
b7abb4bf78 Fix wordsize-64 cosh regression (bug 14273). 2012-06-21 19:26:09 +00:00
H.J. Lu
56526b14bb Mention BZ #14278 in NEWS 2012-06-21 10:30:14 -07:00
Jeff Law
28363bbf70 2012-06-21 Jeff Law <law@redhat.com>
[BZ #13882]
        * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
        uint16_t for elements in the "seen" array to avoid char overflows.
        * elf/dl-fini.c (_dl_sort_fini): Likewise.
        * elf/dl-open.c (dl_open_worker): Likewise.
2012-06-21 09:26:41 -06:00
Andreas Jaeger
2174c6dd85 Avoid -Wconversion warning for htons 2012-06-21 15:49:33 +02:00
Richard Henderson
62c8cc6dbe Update news for fixed alpha bz 2012-06-15 14:42:57 -07:00
H.J. Lu
1fb6e570ab Mention BZ 14050/14117 in NEWS 2012-06-15 14:33:57 -07:00
Andreas Jaeger
929cc14e20 Mention ix86 shared headers 2012-06-15 21:13:21 +02:00
H.J. Lu
f8308a72ea Mention BZ #14229 in NEWS 2012-06-15 05:38:30 -07:00
Joseph Myers
10285c2113 Fix pow (0.0, -Inf) (bug 14241). 2012-06-15 11:27:51 +00:00
Paul Eggert
8e0933bb47 Mention 14210 in NEWS. 2012-06-13 10:46:52 -07:00
Roland McGrath
eb55f5c21f BZ#14218: Reword argp_parse description slightly. 2012-06-11 16:21:44 -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
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
Joseph Myers
bf50fc70f5 Add 14048 to list of fixed bugs in NEWS. 2012-06-01 19:07:47 +00:00
H.J. Lu
35c166e492 Mention BZ #14183 in NEWS 2012-05-30 11:36:48 -07:00
H.J. Lu
a086b4d663 Mention x32 in NEWS 2012-05-30 10:34:33 -07:00
H.J. Lu
f456e08c23 Mention BZ 14075 and 14112 2012-05-30 08:33:26 -07:00
Joseph Myers
47e452cf7c Add more NEWS items for 2.16. 2012-05-27 18:37:42 +00:00
Siddhesh Poyarekar
9c6ea9facb 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.
2012-05-26 09:48:26 +05:30
Roland McGrath
7b44a2df27 NEWS item for --enable-systemtap 2012-05-25 13:49:31 -07:00
Joseph Myers
21708942c9 Remove pre-2.4 Linux kernel support. 2012-05-25 19:19:30 +00:00
H.J. Lu
db5013c654 Mention BZ 12495 and 13576 in NEWS 2012-05-25 04:42:46 -07:00
Joseph Myers
cff78a1ce9 Add missing comma in list of fixed bugs. 2012-05-25 11:14:43 +00:00
Joseph Myers
b65504975c Fix acosf underflow (bug 14153). 2012-05-25 11:07:07 +00:00
Joseph Myers
7a25eb06bf Add tests for underflow exception bugs 10846, 14036. 2012-05-24 15:36:54 +00:00
Richard Henderson
edb00e4d73 Add getauxval news entry. 2012-05-24 07:45:49 -07:00
Paul Pluzhnikov
e2d6cea0a1 Mention 14122 in NEWS. 2012-05-22 13:14:44 -07:00
Chandan Kumar
83678f764b Add new locale mag_IN.
[BZ#13968]
	* locales/mag_IN: New file.
	* SUPPORTED (SUPPORTED-LOCALES): Add appropriate entry.
2012-05-22 18:53:56 +02:00
Andreas Jaeger
d990b2820a Fix spelling of Steven Munroe 2012-05-21 14:50:42 +02:00
Joseph Myers
e0b16cc25c Fix ccos, csin, ccosh, csinh overflows (bug 14123). 2012-05-19 15:35:29 +00:00
Carlos O'Donell
1a0994f535 BZ#14059: Fix AVX and FMA4 detection.
Fix AVX and FMA4 detection by following the guidelines
set out by Intel and AMD for detecting these features.
2012-05-17 06:59:28 -07:00
Paul Pluzhnikov
bedee953d8 For [BZ #208], accumulate malloc stats over all arenas. 2012-05-16 16:46:10 -07:00
Roland McGrath
30b99d798f BZ#10375: Configure magic to use -fno-stack-protector if needed. 2012-05-16 16:22:50 -07:00
Joseph Myers
cc03b29695 Avoid plain "aligned" attributes in installed headers. 2012-05-15 21:26:40 +00:00
Andreas Jaeger
509072a0f7 Avoid race in nscd
2012-05-15  Jeff Law  <law@redhat.com>
            Andreas Jaeger  <aj@suse.de>

        [BZ #13594]
        * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
        out from...
        * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
        * nscd/nscd-client.h: Add __nscd_acquire_maplock.
        * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
        code changing __hst_map_handle.map.
2012-05-15 20:37:05 +02:00
Joseph Myers
62f9bae743 Add fixed ports bugs to list in NEWS. 2012-05-15 10:37:04 +00:00
Siddhesh Poyarekar
439bf404b8 Allow a single-threaded program to cancel itself
There is nothing in the POSIX specification to disallow a
single-threaded program from cancelling itself, so we forcibly enable
multiple_threads to allow the next available cancellation point in the
thread to run.

Also added additional tests to cover various cancellation scenarios.
2012-05-15 09:41:57 +05:30
H.J. Lu
144c546772 Mention BZ #14103/#14104 in News and ChangeLog 2012-05-14 15:34:37 -07:00
Andreas Jaeger
6a4888ffd6 Do not build manual in source dir
[BZ #13750]
Do not build manual anymore in the source dir. Also clean up the
Makefile and remove rules that have been used previously
when we had a stand-alone Makefile which was obsoleted recently.
2012-05-14 22:01:08 +02:00
Joseph Myers
ffb7875d03 Remove pre-2.2 Linux kernel support. 2012-05-14 14:11:02 +00:00
Mike Frysinger
9dc4e1fbfc NEWS: update ia64 info
Mention that ia64 has moved into ports/, and drop the old build/install
details that don't belong in the NEWS file in the first place.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-05-14 01:02:35 -04:00
Andreas Schwab
60cc4a18e6 Complete GB18030 charmap 2012-05-11 19:24:00 +02:00
Joseph Myers
08773b3c1d 14012 fixed by cross-rpcgen changes. 2012-05-11 09:24:15 +00:00
Thomas Schwinge
9086b2957a Hurd bugs fixed: #766, #3748, #3906. 2012-05-11 14:20:11 +08:00
Adhemerval Zanella
89c9aa491a Fix for logb/logbf/logbl (bugs 13954/13955/13956)
POSIX 2008 states that if the input for 'logb[f|l]' is a subnormal number
it should be treated as if it were normalized.  This means the
implementation should calculate the log2 of the mantissa and add it to the
subnormal exponent (-126 for float and -1022 for double and IBM long
double).  This patch takes care of that.
2012-05-10 15:11:55 -05:00
Andreas Jaeger
021db4be6f Make sunrpc code usable again
New configure option --enable-obsolete-rpc makes the deprecated RPC
  headers and functions available at compile time as they were before
  version 2.14.  This option will be removed at some time in the future
  after the TI-RPC library becomes fully sufficient for the needs of
  existing applications.
2012-05-10 20:19:53 +02:00
Paul Eggert
02467e1ca1 [PATCH] [BZ #3440] Make LC_ALL etc. useful in #if expressions. 2012-05-10 12:38:09 +00:00
Andreas Jaeger
bdd74070cc Add volatiles for x86-64 bits/mathinline.h
[BZ #14053]
GCC 4.7 might remove consecutive calls to e.g. lrintf since
the assembler instructions are the same and GCC does not know
that the result is different depending on the rounding mode.  For
SSE instructions, the control register is not available so there
is no way to inform GCC about this. Therefore the asms are marked
as volatile.
2012-05-09 20:17:21 +02:00
Andreas Jaeger
1a4b75a190 Fix strspn warning with -Wconversion
[BZ #14083]
Fix warning when using strspn with -Wconversion:
$ gcc -Wconversion -O t.c
t.c: In function ‘main’:
t.c:8:7: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
2012-05-09 16:47:57 +02:00
Ian Wienand
b9f1922d7e Fix daylight time change for the US
[BZ #14080]
	* time/tzset.c (__tzset_parse_tz): Update default rules for
	daylight time changes in the Energy Policy Act of 2005.
2012-05-09 06:15:56 +02:00
Andreas Jaeger
1db86e8845 Make ldconfig message clearer
[BZ #13983]
Let not confuse the user and think there's an error instead of
a warning.
2012-05-09 06:08:28 +02:00
Roland Mc Grath
05c2c9618f Warn if user requests __FORTIFY_SOURCE but it is disabled
[BZ #13979]
        * include/features.h: Warn if user requests __FORTIFY_SOURCE
        checking but the checks are disabled for any reason.
2012-05-08 19:44:57 +02:00
Joseph Myers
495fd99f3a Fix x86/x86_64 expm1l inaccuracy and exceptions (bugs 13885, 13923). 2012-05-07 19:13:08 +00:00
Joseph Myers
d8b82cad1b Fix exp10 inaccuracy and exceptions (bugs 13884, 13914). 2012-05-06 18:23:44 +00:00
Joseph Myers
6c23e11c4d Fix libm-test.inc ulps calculation for subnormals (bug 14064). 2012-05-06 18:20:21 +00:00
Andreas Jaeger
62881be42d Patch 31dc8730af fixes BZ#13563
Update NEWS and ChangeLog with BZ #13563
2012-05-06 19:51:46 +02:00
Joseph Myers
41498f4db1 Fix missing exceptions from exp (bugs 13787, 13922, 14036). 2012-05-05 19:37:39 +00:00
Andreas Jaeger
110c96ff29 Revert "Do not build manual in the source directory"
This reverts commit e3945c47bd.

reverting since it breaks building.
2012-05-04 17:09:56 +02:00
Andreas Jaeger
e3945c47bd Do not build manual in the source directory
[BZ #13750]

Build the manual in the build directory and
not anymore in the source directory.
2012-05-04 13:13:57 +02:00
Joseph Myers
8f203e6cb6 Fix strtod rounding of hex values (bug 14049). 2012-05-04 10:44:39 +00:00
Joseph Myers
54b71e0283 Fix conditions on checking versions of dprintf (bug 13775). 2012-05-03 18:42:37 +00:00
Paul Pluzhnikov
171a70b4c0 For PR 14055, add bounds check to _dl_show_auxv(). 2012-05-02 14:35:30 -07:00
Joseph Myers
3b7c4e740e Note bug 6959 also fixed for 2.16. 2012-05-01 16:18:56 +00:00
Joseph Myers
7cb029ee6e Fix nexttoward bugs (bugs 2550, 2570). 2012-05-01 15:37:43 +00:00
Andreas Schwab
412bd96612 Fix missing nearbyintl@GLIBC_2.1 on powerpc 2012-05-01 12:40:59 +02:00
Joseph Myers
adfbc8ac9e Fix x86 acos near 1 (bug 13942). 2012-04-30 18:56:39 +00:00
Joseph Myers
5ba3cc691c Fix acos (-1) in round-downwards mode on x86 (bug 14034). 2012-04-30 09:38:06 +00:00
Joseph Myers
9568c0c225 Fix exp10 spurious overflows (bug 13924). 2012-04-30 09:37:01 +00:00
Aurelien Jarno
6c1ff08cf8 Fix February month name in de_AT locale
The current de_AT locale defines "Feber" for the month of February,
which is correct in some parts of Austria, but is not the standards.
This patch fixes the problem by changing it to the standards version
"Februar".

2012-04-29  Aurelien Jarno  <aurelien@aurel32.net>

        * locales/de_AT: Change month name from "Feber" to "Februar".
2012-04-30 09:22:56 +02:00
Joseph Myers
24c5d07ec3 List bug 14033 as fixed on mainline. 2012-04-29 16:21:42 +00:00
Andreas Schwab
7e0d315da8 Fix formatting of denormal IBM long double numbers 2012-04-28 22:21:27 +02:00
Ryan S. Arnold
468f7a8084 Correct incorrect bug number ordering in resolved bug list. 2012-04-27 14:05:23 -05:00
Ryan S. Arnold
a462cb6332 New test to expose erroneous negative sign on logb(1) (bug 887). 2012-04-27 10:47:39 -05:00
Joseph Myers
6ad3493e22 Fix fenv.h fallback returns (bug 14027). 2012-04-27 13:54:09 +00:00
Adhemerval Zanella
94e02fc410 Correct powerpc64 s_floorl edge cases (bug 13886).
[BZ #13886]
Remove powerpc64/fpu/s_floorl.  Use fully correct ldbl-128bim/s_floorl.c.
2012-04-24 14:21:45 -05:00
Paul Eggert
e9a0a51253 * NEWS: Add bug 13970. 2012-04-23 12:55:16 -07:00
Andreas Jaeger
eba6f5133a Add BZ number 2012-04-23 21:39:30 +02:00
Markus Trippelsdorf
8280f22d30 Update sysdeps/x86_64/fpu/libm-test-ulps
[BZ #13927]
	* sysdeps/x86_64/fpu/libm-test-ulps: Update.
2012-04-21 14:14:27 +02:00
Nix
b8e3372811 Put vm86 into libc.a
[BZ #7064]
vm86 was not included in libc.a at all due to the default symbol
explicitely added to the weak symbol.
2012-04-21 07:12:50 +02:00
Adhemerval Zanella
76da726532 Fix ilogb exception and errno (bug 6794)
[BZ #6794]
Following Joseph comments about bug 6794, here is a proposed fix. It turned out
to be a large fix mainly because I had to move some file along to follow libm
files/names conventions.

Basically I have added wrappers (w_ilogb.c, w_ilogbf.c, w_ilogbl.c) that now calls
the symbol '__ieee754_ilogb'. The wrappers checks for '__ieee754_ilogb' output and
set the errno and raise exceptions as expected.

The '__ieee754_ilogb' is implemented in sysdeps. I have moved the 's_ilogb[f|l]' files
to e_ilogb[f|l] and renamed the '__ilogb[f|l]' to '__ieee754_ilogb[f|l]'.

I also found out a bug in i386 and x86-64 assembly coded ilogb implementation where
it raises a FE_DIVBYZERO when argument is '0.0'. I corrected this issue as well.

Finally I added the errno and FE_INVALID tests for 0.0, NaN and +-InF argument. Tested
on i386, x86-64, ppc32 and ppc64.
2012-04-17 22:12:53 +02:00
Chris Leonard
a9e8e0e0f3 "Gallegan" should be "Galician"
[BZ #13973]
	* locale/iso-639.def: Fix gl language name. Spotted by
	Yaron Shahrabani.
2012-04-13 19:09:44 +02:00
Mike Frysinger
ea32912bbc cy_GB/en_GB: set am/pm in times
The British people apparently use am/pm in time, so make it available to
them.  While we're here, sync the date_fmt field from en_GB to cy_GB.

Fedora has been carrying this for the better part of a decade, and Debian
has had it, and now that I've gotten a request from some British people
to add it to Gentoo, I'd rather get it merged into mainline.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>

2012-04-12  Mike Frysinger  <vapier@gentoo.org>

	[BZ #3768]
	* locales/en_GB: Set am_pm and t_fmt_ampm fields.
	* locales/cy_GB: Likewise.  Also copy date_fmt from en_GB.
2012-04-13 10:55:25 +02:00
Andreas Jaeger
3507ac6af6 Update for BZ # 2541 2012-04-12 21:02:34 +02:00