aboutsummaryrefslogtreecommitdiff
path: root/NEWS
AgeCommit message (Collapse)AuthorFilesLines
2013-06-28[BZ #15022] Correct global-scope dlopen issues in static executables.Maciej W. Rozycki1-8/+8
This change creates a link map in static executables to serve as the global search list for dlopen. It fixes a problem with the inability to access the global symbol object and a crash on an attempt to map a DSO into the global scope. Some code that has become dead after the addition of this link map is removed too and test cases are provided.
2013-06-26Mention BZ #15674H.J. Lu1-1/+1
2013-06-24[BZ #15666] alpha: Add __sqrt*_finite definitionsRichard Henderson1-1/+1
With compatibility for ev6 and non-ev6 builds, as the non-ev6 did manage to get definitions emitted for the float and double functions.
2013-06-24[BZ #10283] localedef: align fixed maps to SHMLBAMike Frysinger1-13/+13
Many Linux arches require fixed mmaps to be aligned higher than pagesize, so use the SHMLBA define as it represents this quantity exactly. This fixes spurious errors seen on those arches like: cannot map archive header: Invalid argument URL: http://sourceware.org/bugzilla/show_bug.cgi?id=10283 Reported-by: CHIKAMA Masaki <masaki.chikama@gmail.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-06-24BZ #12310: pthread_exit in static app. segfaultsVladimir Nikulichev1-12/+12
Static applications that call pthread_exit on the main thread segfault. This is because after a thread terminates __libc_start_main decrements __nptl_nthreads which is only defined in pthread_create. Therefore the right solution is to add a requirement to pthread_create from pthread_exit. ~~~ nptl/ 2013-06-24 Vladimir Nikulichev <v.nikulichev@gmail.com> [BZ #12310] * pthread_exit.c: Add reference to pthread_create.
2013-06-22Fix soft-fp shadowing between __FP_FRAC_ADD_3 and _FP_MUL_MEAT_2_wide_3mul ↵Joseph Myers1-1/+1
(bug 15667).
2013-06-22Add sh4 implementation of fegetexceptflag (bug 15655).Kaz Kojima1-1/+2
2013-06-21Fix bad shift in soft-fp (bug 7006).Joseph Myers1-12/+12
2013-06-20Avoid spurious failures from <fenv.h> fallback functions (bug 15654).Joseph Myers1-1/+1
2013-06-17Make ARM feenableexcept detect failure (bug 14907).Joseph Myers1-9/+9
2013-06-15Fix spurious "inexact" exceptions from dbl-64 sqrt (bug 15631).Joseph Myers1-1/+1
2013-06-15New API to set default thread attributesSiddhesh Poyarekar1-0/+4
This patch introduces two new convenience functions to set the default thread attributes used for creating threads. This allows a programmer to set the default thread attributes just once in a process and then run pthread_create without additional attributes.
2013-06-14Stop MIPS setjmp / longjmp saving / restoring floating-point flags (bug 14909).Joseph Myers1-9/+9
2013-06-14Update ARM _FPU_RESERVED value.Joseph Myers1-2/+2
2013-06-15Add rtld-memset.S for x86_64Siddhesh Poyarekar1-1/+1
Resolves: BZ #15627 Add an assembler version of rtld-memset to avoid using SSE registers.
2013-06-14Avoid access beyond memory bounds in pthread_attr_getaffinity_npSiddhesh Poyarekar1-1/+1
Resolves BZ #15618. pthread_attr_getaffinity_np may write beyond bounds of the input cpuset buffer if the size of the input buffer is smaller than the buffer present in the input pthread attributes. Fix is to copy to the extent of the minimum of the source and the destination.
2013-06-13Fix NEWS entry about clock precisionSiddhesh Poyarekar1-1/+2
Text by Roland McGrath.
2013-06-13Update sv_FI@euroJohan Heikkila1-3/+3
[BZ#15432] * locales/sv_FI@euro: Add LC_MEASUREMENT.
2013-06-13Update sv_FIJohan Heikkila1-2/+3
[BZ#15431] * locales/sv_FI: Add LC_MEASUREMENT, use copy in LC_TELEPHONE, update LC_ADDRESS with using postal_fmt from Finnish Post Office recommendations at http://www.posti.fi/hinnatjaohjeet/osoitejakuorimerkinnat/osoitemerkinnat.html and add missing entries.
2013-06-13Improve precision of clock() function on LinuxSiddhesh Poyarekar1-10/+12
Resolves #12515. Use CLOCK_PROCESS_CPUTIME_ID instead of times to get better precision in the value returned by clock.
2013-06-11Update BIG5-HKSCS charmap to HKSCS-2008Andreas Schwab1-8/+8
2013-06-11Fix handling of netgroup cache in nscdAndreas Schwab1-1/+1
2013-06-05BZ #15583: r7 uninitialized in strcpy.S when ARM_HAS_T2 undefinedRichard Henderson1-1/+1
2013-06-05Properly handle %W in strptimeAndreas Schwab1-6/+6
2013-06-03BZ #15536: Fix ulp for 128-bit IBM long double.Carlos O'Donell1-1/+1
In 128-bit IBM long double the precision of the type decreases as you approach subnormal numbers, equaling that of a double for subnormal numbers. Therefore adjust the computation in ulp to use 2^(MIN_EXP - MANT_DIG) which is correct for FP_SUBNORMAL for all types.
2013-05-30Set reasonable limits for xdr_requests.Patsy Franklin1-1/+1
[BZ #15553] Increased the current limits large enough to load large key and data values, but small enough to not pose a DoS threat.
2013-05-30 [BZ #14256]Jeff Law1-10/+10
* manual/errno.texi (ESTALE): Update to account for more than just NFS file systems. * sysdeps/gnu/errlist.c: Regenerated.
2013-05-29Avoid crashing in LD_DEBUG when program name is unavailableSiddhesh Poyarekar1-2/+2
Resolves: #15465 The program name may be unavailable if the user application tampers with argc and argv[]. Some parts of the dynamic linker caters for this while others don't, so this patch consolidates the check and fallback into a single macro and updates all users.
2013-05-24Fix ldbl-96 hypotl of subnormals (bug 15529).Joseph Myers1-1/+2
2013-05-24Add bug 14894 to NEWS.Joseph Myers1-8/+8
2013-05-24Initialize wide struct info.Ondrej Bilka1-3/+3
Fixes 15381. Using wide character function is on byte oriented memstream is undefined behaviour. This behaviour was masked by not initializing wide struct info. We now initialize it to cause a predictable crash.
2013-05-22Fix _nl_find_msg malloc failure case, and callers.Carlos O'Donell1-2/+2
This patch fixes two issues, and perhaps should be two distinct commits, but I present it here as one for the sake of completeness. Commit 006dd86111c44572dbd3b26e9c63dd0f834d7762 fails to check malloc's return in intl/dcigettext.c (_nl_find_msg): ~~~ freemem_size = INITIAL_BLOCK_SIZE; newmem = (transmem_block_t *) malloc (freemem_size); ... newmem->next = transmem_list; transmem_list = newmem; ~~~ If malloc fails then newmem is NULL then newmem->next results in a fault. The fix is easy enough, check for newmem != NULL, and fall through to the error condition below which returns (char *) -1 e.g. resource error. The problem is that returning (char *) -1 will break all sorts of other code, so while what we did is correct, the real failure case fix is slightly broader. There are 4 other places where _nl_find_msg is called, one is OK, the other three are fixed to handle -1 error return value. No regressions on x86-64 or x86. However, no regressions isn't really a useful metric for this code. The change was tested as documented here: http://sourceware.org/glibc/wiki/Testing/WhiteBox using SystemTap for fault injection to simulate malloc failure. --- 2013-05-03 Carlos O'Donell <carlos at redhat.com> [BZ #15441] * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg returns -1. (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is null return -1. * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort loading the domain.
2013-05-21Fix MIPS n32 cancellation in static libc (bug 15506).Joseph Myers1-1/+1
2013-05-21Set EAI_SYSTEM only when h_errno is NETDB_INTERNALSiddhesh Poyarekar1-4/+4
Fixes BZ #15339. NSS_STATUS_UNAVAIL may mean that a necessary input resource is not available. This could occur in a number of cases including when the network is down, system runs out of file descriptors, etc. The correct differentiator in such a case is the h_errno, which gives the nature of failure. In case of failures other than a simple 'not found', we set h_errno as NETDB_INTERNAL and let errno be the identifier for the exact error.
2013-05-21Fix parsing of numeric hosts in gethostbyname_rAndreas Schwab1-6/+6
2013-05-21AArch64: Don't clobber argument for tail call to __sigjmp_save in sigsetjmpAndreas Schwab1-1/+1
2013-05-20PowerPC: update missing CL/NEWS bug referenceAdhemerval Zanella1-1/+1
Update ChangLog bugzilla number and NEWS for commit 13d3b41a36c4f28d171a144f8a9baad3a8835981 (PowerPC: fix hypot/hypotf check for -INF).
2013-05-19Fix nearbyint scheduling of arithmetic past fesetenv (bug 15490).Joseph Myers1-1/+1
2013-05-18Don't disable CMPLXL macro for __NO_LONG_DOUBLE_MATH (bug 15488).Joseph Myers1-1/+2
2013-05-17Fix remainder exceptions and directed-rounding results (bugs 15480, 15485).Joseph Myers1-1/+1
2013-05-17Prevent optimizing out of benchmark function callSiddhesh Poyarekar1-1/+1
Resolves: #15424 The compiler would optimize the benchmark function call out of the loop and call it only once, resulting in blazingly fast times for some benchmarks (notably atan, sin and cos). Mark the inputs as volatile so that the code is forced to read again from the input for each iteration.
2013-05-16MIPS: soft-fp NaN representation correctionsMaciej W. Rozycki1-1/+1
[BZ #15442] This adds support for the inverse interpretation of the quiet bit of IEEE 754 floating-point NaN data that some processors use. This includes in particular MIPS architecture processors; the payload used for the canonical qNaN encoding is updated accordingly so as not to interfere with the quiet bit.
2013-05-15Reserve new TLS field for x86 and x86_64Andreas Jaeger1-9/+9
[BZ #10686] * sysdeps/x86_64/tls.h (struct tcbhead_t): Add __private_ss field. * sysdeps/i386/tls.h (struct tcbhead_t): Likewise.
2013-05-15hppa: Fix _FPU_GETCW and _FPU_SETCW.Carlos O'Donell1-6/+6
The following patch fixes both _FPU_GETCW and _FPU_SETCW for hppa. The initial implementation was flawed and not well tested. We failed to set cw, and passed in the value of a register to fldd. This patch fixes both of those errors and allows the libm tests to pass without failure. Signed-off-by: Guy Martin <gmsoft@tuxicoman.be> Signed-off-by: Carlos O'Donell <carlos@redhat.com> --- 2013-05-15 Guy Martin <gmsoft@tuxicoman.be> Carlos O'Donell <carlos@redhat.com> [BZ# 15000] * ports/sysdeps/hppa/fpu/fpu_control.h (_FPU_GETCW): Set cw. (_FPU_SETCW): Pass address to fldd.
2013-05-14Stop ARM setjmp/longjmp saving/restoring fpscr (bug 14908).Joseph Myers1-7/+7
2013-05-13Make _LIB_VERSION a weak symbolSiddhesh Poyarekar1-7/+7
That way it can live alongside _LIB_VERSION in libieee.a for statically compiled programs. Resolves #14582.
2013-05-11Add BZ #10191 to ChangeLog/NEWSAndreas Jaeger1-14/+14
BZ #10191 was fixed some time ago without noticing at that time.
2013-05-10Add getgid.c for SHChristian Grönke1-9/+9
[BZ #12387] * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
2013-05-10Fix integer overflow in sysdeps/unix/sysv/linux/bits/sched.hAndreas Jaeger1-1/+2
[BZ #15448] * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S) (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
2013-05-10Fix tgamma errno setting on domain error (bug 6809).Joseph Myers1-8/+8