]> git.ipfire.org Git - thirdparty/glibc.git/log
thirdparty/glibc.git
11 years agoFixed pthread_spin_lock on sparc32/64 (bug 16882) release/2.16/master
Guo Yixuan [Tue, 3 Jun 2014 23:19:11 +0000 (16:19 -0700)] 
Fixed pthread_spin_lock on sparc32/64 (bug 16882)

[BZ #16882]
* nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
(pthread_spin_lock): Branch out of spin loop to proper location.
* nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
(pthread_spin_lock): Likewise.

* nptl/tst-spin4.c: New test.
* nptl/Makefile (tests): Add tst-spin4.

11 years agoSPARC: add prlimit and prlimit64 in <bits/resource.h> (BZ #16943)
Aurelien Jarno [Thu, 15 May 2014 22:04:41 +0000 (00:04 +0200)] 
SPARC: add prlimit and prlimit64 in <bits/resource.h> (BZ #16943)

prlimit and prlimit64 have been added in the main <bits/resource.h>, but
not in the SPARC specific version. Fix that.

Note: this is Debian bug#703559, reported by Emilio Pozuelo Monfort
<pochu@debian.org>

(cherry picked from commit d16e6ec7ca2c861ba681e3a2fbd431725774292e)

11 years agoSPARC: add EFD_SEMAPHORE in <bits/eventfd.h> (BZ #16916)
Aurelien Jarno [Tue, 6 May 2014 21:31:44 +0000 (23:31 +0200)] 
SPARC: add EFD_SEMAPHORE in <bits/eventfd.h> (BZ #16916)

EFD_SEMAPHORE has been added in the main <bits/eventfd.h>, but not in
the SPARC specific version. Fix that.

(cherry picked from commit 83df9ad0cc861ef24f08a88c5a4c055e2516d33c)

11 years agoNEWS: Add 16885 to fixed bug list.
David S. Miller [Thu, 1 May 2014 20:43:05 +0000 (16:43 -0400)] 
NEWS: Add 16885 to fixed bug list.

11 years agoFix v9/64-bit strcmp when string ends in multiple zero bytes.
David S. Miller [Wed, 30 Apr 2014 19:57:51 +0000 (12:57 -0700)] 
Fix v9/64-bit strcmp when string ends in multiple zero bytes.

[BZ #16885]
* sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
multiple zero bytes exist at the end of a string.
Reported by Aurelien Jarno <aurelien@aurel32.net>

* string/test-strcmp.c (check): Add explicit test for situations where
there are multiple zero bytes after the first.

11 years agoDisable x87 inline functions for SSE2 math
H.J. Lu [Wed, 29 Jan 2014 15:51:41 +0000 (07:51 -0800)] 
Disable x87 inline functions for SSE2 math

When i386 and x86-64 mathinline.h was merged into a single mathinline.h,
"gcc -m32" enables x87 inline functions on x86-64 even when -mfpmath=sse
and SSE2 is enabled.  It is a regression on x86-64.  We should check
__SSE2_MATH__ instead of __x86_64__ when disabling x87 inline functions.

(cherry picked from commit 409e00bd69b8d8dd74d7327085351d26769ea6fc)

Conflicts:
ChangeLog
NEWS
sysdeps/x86/fpu/bits/mathinline.h

11 years agoFix race in free() of fastbin chunk: BZ #15073
Maxim Kuvyrkov [Mon, 23 Dec 2013 20:44:50 +0000 (09:44 +1300)] 
Fix race in free() of fastbin chunk: BZ #15073

Perform sanity check only if we have_lock.  Due to lockless nature of fastbins
we need to be careful derefencing pointers to fastbin entries (chunksize(old)
in this case) in multithreaded environments.

The fix is to add have_lock to the if-condition checks.  The rest of the patch
only makes code more readable.

* malloc/malloc.c (_int_free): Perform sanity check only if we
have_lock.

Conflicts:

ChangeLog
NEWS

12 years agoAdd BZ#11261 to 2.16 fixed bug list.
Carlos O'Donell [Sun, 17 Mar 2013 23:10:54 +0000 (19:10 -0400)] 
Add BZ#11261 to 2.16 fixed bug list.

12 years agoRevert "2012-11-07 Andreas Jaeger <aj@suse.de>"
Andreas Schwab [Tue, 27 Nov 2012 15:45:36 +0000 (16:45 +0100)] 
Revert "2012-11-07  Andreas Jaeger  <aj@suse.de>"

This reverts commit 68b6636fdc3d5b940d9be060e1f429b6eaa93709.

The issue has been fixed in the kernel.

12 years agosysdeps/sh/dl-machine.h: Define ELF_MACHINE_RUNTIME_FIXUP_PARAMS.
Thomas Schwinge [Tue, 20 Nov 2012 18:29:23 +0000 (19:29 +0100)] 
sysdeps/sh/dl-machine.h: Define ELF_MACHINE_RUNTIME_FIXUP_PARAMS.

Cherry-pick commit d072f3f7724d85ceaf230806660235f0cf2f9c3b

Conflicts:
ChangeLog

12 years agoSkip audit if l_reloc_result is NULL
H.J. Lu [Wed, 14 Nov 2012 23:44:40 +0000 (15:44 -0800)] 
Skip audit if l_reloc_result is NULL

Cherry-pick commit 2e64d2659d3edaebc792ac596a9863f1626e5c25

Conflicts:
ChangeLog
NEWS

12 years ago2012-11-07 Andreas Jaeger <aj@suse.de>
Jeff Law [Wed, 7 Nov 2012 18:58:37 +0000 (11:58 -0700)] 
2012-11-07  Andreas Jaeger  <aj@suse.de>

        [BZ #14809]
        * sysdeps/unix/sysv/linux/sys/sysctl.h (_UAPI_LINUX_KERNEL_H)
        (_UAPI_LINUX_TYPES_H): Starting with Linux 3.7, the include header
        guards are changed.  Only define if not yet defined, #undef back
        after including linux/sysctl.h if defined here.
(cherry picked from commit 01f34a3bd8c087ca4be0bd24857e454c8d29f20b)

Conflicts:
NEWS

12 years agoFix missing _mcount@GLIBC_2.0 on powerpc32
Andreas Schwab [Tue, 1 May 2012 15:10:10 +0000 (17:10 +0200)] 
Fix missing _mcount@GLIBC_2.0 on powerpc32

(cherry picked from commit 261f485936b283f4327fc1f2fc8fd1705d805c12)

12 years agoDefine HAS_FMA with bit_FMA_Usable
H.J. Lu [Tue, 2 Oct 2012 12:05:17 +0000 (05:05 -0700)] 
Define HAS_FMA with bit_FMA_Usable

cherry-pick 0569936773c861c791f10bba5e2f4cac5fbb4e78

Conflicts:
ChangeLog
NEWS

12 years agoDon't parse %s format argument as multibyte string
Jeff Law [Fri, 28 Sep 2012 18:48:42 +0000 (12:48 -0600)] 
Don't parse %s format argument as multibyte string

(cherry picked from commit 715a900c9085907fa749589bf738b192b1a2bda5)

2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>

[BZ #6530]
* stdio-common/vfprintf.c (process_string_arg): Revert
2000-07-22 change.

2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>

* stdio-common/Makefile (tst-sprintf-ENV): Set environment
for testcase.
* stdio-common/tst-sprintf.c: Include <locale.h>
(main): Test sprintf's handling of incomplete multibyte
characters.

12 years agoUse size_t instead of int for internal variables in glob (bug 14621).
Joseph Myers [Tue, 25 Sep 2012 19:38:15 +0000 (19:38 +0000)] 
Use size_t instead of int for internal variables in glob (bug 14621).
(cherry picked from commit b87c4b24d97321ef2f2da357f8fcf11f1f61e3dc)

Conflicts:

ChangeLog

12 years agoProperly handle fencepost with MALLOC_ALIGN_MASK
H.J. Lu [Mon, 24 Sep 2012 15:58:04 +0000 (08:58 -0700)] 
Properly handle fencepost with MALLOC_ALIGN_MASK

Cherry-pick commit ced6f16ee919d12725840d43d007f1cfd67118df.

Conflicts:
ChangeLog
NEWS

12 years agoUse LD_SO to set $ld_so_name/$ld_so_version
H.J. Lu [Wed, 29 Aug 2012 13:45:37 +0000 (06:45 -0700)] 
Use LD_SO to set $ld_so_name/$ld_so_version

cherry-pick d22e28b070d3d1572d39a463d711c6f223078552

Conflicts:
ChangeLog
NEWS

12 years agoFix strtod integer/buffer overflow (bug 14459).
Joseph Myers [Mon, 27 Aug 2012 15:59:24 +0000 (15:59 +0000)] 
Fix strtod integer/buffer overflow (bug 14459).
(cherry picked from commit d6e70f4368533224e66d10b7f2126b899a3fd5e4)

Conflicts:

ChangeLog
NEWS
stdlib/Makefile

12 years agoFix segmentation fault in strncasecmp for i686
Liubov Dmitrieva [Wed, 15 Aug 2012 19:06:55 +0000 (21:06 +0200)] 
Fix segmentation fault in strncasecmp for i686

2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>

[BZ #14195]
        * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
        segmentation fault for a case of two empty input strings.
* string/test-strncasecmp.c (check1): Renamed to...
(bz12205): ...this.
(bz14195): Add new testcase for two empty input strings and N > 0.
(test_main): Call new testcase, adapt for renamed function.
(cherry picked from commit b3f479a85a3e191befbe821d787d7f71c0f64e79)

12 years agosunrpc: fix rpc bootstrap builds
Mike Frysinger [Tue, 3 Jul 2012 19:22:05 +0000 (15:22 -0400)] 
sunrpc: fix rpc bootstrap builds

If you build & install glibc w/rpc disabled, you no longer have headers in
/usr/include/rpc/ (this is expected).  But if you try to build glibc w/rpc
enabled, this gets into a bad state due to the new rpc helpers that get
cross-compiled:

$ make
...
x86_64-pc-linux-gnu-gcc -m32   -D_RPC_THREAD_SAFE_ -D_GNU_SOURCE -DIS_IN_build \
-include $objdir/config.h rpc_clntout.c -o $objdir/sunrpc/cross-rpc_clntout.o \
-MMD -MP -MF $objdir/sunrpc/cross-rpc_clntout.o.dt -MT $objdir/sunrpc/cross-rpc_clntout.o -c
rpc_clntout.c:34:23: fatal error: rpc/types.h: No such file or directory
compilation terminated.
make: *** [$objdir/sunrpc/cross-rpc_clntout.o] Error 1

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
(cherry picked from commit fb21f89b75d0152aa42efb6b620843799a4cd76b)

13 years agoUpdate from translation team
Andreas Jaeger [Mon, 16 Jul 2012 07:38:55 +0000 (09:38 +0200)] 
Update from translation team
(cherry picked from commit dd31893430a76e81cbd8b5412c5894f27bab39c7)

13 years agoUpdate from french translation team
Andreas Jaeger [Fri, 13 Jul 2012 15:50:05 +0000 (17:50 +0200)] 
Update from french translation team
(cherry picked from commit b637d46e7a900f516849487a5c4de734d4b3020d)

13 years agoTranslation team update for fr.po/sv.po
Andreas Jaeger [Wed, 11 Jul 2012 18:41:25 +0000 (20:41 +0200)] 
Translation team update for fr.po/sv.po
(cherry picked from commit 71220acad5c72ecae8679e48502ab706bd908cc5)

13 years agoUpdate from translation team: fr.po
Andreas Jaeger [Wed, 11 Jul 2012 14:18:17 +0000 (16:18 +0200)] 
Update from translation team: fr.po
(cherry picked from commit 608404ebf64fa02c8aaf2778b1bf00d5a0292d1a)

13 years agoAdapt tst-catgets to changes in tst-gettext
Andreas Schwab [Wed, 4 Jul 2012 13:57:51 +0000 (15:57 +0200)] 
Adapt tst-catgets to changes in tst-gettext
(cherry picked from commit 704bc4594dc1fad46831823627749fa10924b41d)

13 years agoFix tst-gettext test
Andreas Schwab [Wed, 4 Jul 2012 12:16:05 +0000 (14:16 +0200)] 
Fix tst-gettext test
(cherry picked from commit 70d35b6769c1739719101957de77387e48192f74)

13 years agoUpdate from translation teams
Andreas Jaeger [Tue, 3 Jul 2012 19:43:55 +0000 (21:43 +0200)] 
Update from translation teams
(cherry picked from commit 9d63d37d08b9fea0b664c80829bd8f9e3e0edc48)

13 years agoRelease 2.16 glibc-2.16.0
Carlos O'Donell [Sat, 30 Jun 2012 19:12:34 +0000 (12:12 -0700)] 
Release 2.16

Update version.h and include/features.h for 2.16 release.

13 years agoUpdate NEWS and README. glibc-2.16
Carlos O'Donell [Sat, 30 Jun 2012 15:27:06 +0000 (08:27 -0700)] 
Update NEWS and README.

Final update for 2.16 release.

13 years agomanual/contrib.texi (Contributors): Sort alphabetically by last name.
Thomas Schwinge [Thu, 28 Jun 2012 08:50:08 +0000 (10:50 +0200)] 
manual/contrib.texi (Contributors): Sort alphabetically by last name.

13 years agoAdd Samuel Thibault to manual/contrib.texi
Andreas Jaeger [Wed, 27 Jun 2012 17:50:07 +0000 (19:50 +0200)] 
Add Samuel Thibault to manual/contrib.texi

13 years agoUpdate s390 ULPs file
Andreas Jaeger [Mon, 25 Jun 2012 08:28:03 +0000 (10:28 +0200)] 
Update s390 ULPs file

13 years agoSH can do fanotify_mark, too. glibc-2.16-tps
Andreas Schwab [Sat, 9 Jun 2012 17:08:54 +0000 (19:08 +0200)] 
SH can do fanotify_mark, too.

13 years agoSome missing bits from sysdeps/*/elf dismissal.
Thomas Schwinge [Sat, 23 Jun 2012 10:27:58 +0000 (12:27 +0200)] 
Some missing bits from sysdeps/*/elf dismissal.

This fixes up commits 735095ae9566b2b14e8210e5ed44b3d5b51495f1,
09ae94c11b4309b425fbbfaa095e64cac2ae8cb8, and
ff962fb6a10c46052535d482c889b3a9e5236637.

13 years agoSH: __lll_robust_timedlock_wait: Simplify CFI directives.
Thomas Schwinge [Sat, 23 Jun 2012 10:17:44 +0000 (12:17 +0200)] 
SH: __lll_robust_timedlock_wait: Simplify CFI directives.

13 years agoSH: Preserve more registers for frame unwinding purposes, add CFI directives.
Thomas Schwinge [Sat, 23 Jun 2012 10:11:13 +0000 (12:11 +0200)] 
SH: Preserve more registers for frame unwinding purposes, add CFI directives.

13 years agoSH: Optimize assembler code in context of call to __fortify_fail.
Thomas Schwinge [Sat, 23 Jun 2012 10:07:04 +0000 (12:07 +0200)] 
SH: Optimize assembler code in context of call to __fortify_fail.

__fortify_fail has »__attribute__ ((__noreturn__))«.

13 years agoSH: ____longjmp_chk for GNU/Linux with sigaltstack support.
Thomas Schwinge [Sat, 23 Jun 2012 09:56:02 +0000 (11:56 +0200)] 
SH: ____longjmp_chk for GNU/Linux with sigaltstack support.

debug/tst-longjmp_chk2 now passes.

13 years agoSH: ABORT_INSTRUCTION.
Thomas Schwinge [Sat, 23 Jun 2012 09:47:39 +0000 (11:47 +0200)] 
SH: ABORT_INSTRUCTION.

13 years agoSH: makecontext/.Lexitcode: Always initialize the GOT register before use.
Thomas Schwinge [Sat, 23 Jun 2012 09:42:29 +0000 (11:42 +0200)] 
SH: makecontext/.Lexitcode: Always initialize the GOT register before use.

This is only relevant when returning from a context with »uc_link == NULL«,
which is not exercised in the testsuite.

13 years agoSH: makecontext: Fix calculation of ARGC > 4.
Thomas Schwinge [Sat, 23 Jun 2012 09:28:23 +0000 (11:28 +0200)] 
SH: makecontext: Fix calculation of ARGC > 4.

stdlib/tst-setcontext and stdlib/tst-makecontext3 now pass.

13 years agoSH: makecontext: Improve understandability.
Thomas Schwinge [Sat, 23 Jun 2012 09:22:47 +0000 (11:22 +0200)] 
SH: makecontext: Improve understandability.

13 years agoFix gUSA sequence in SH atomic functions in
Kaz Kojima [Fri, 22 Jun 2012 22:29:05 +0000 (07:29 +0900)] 
Fix gUSA sequence in SH atomic functions in
sysdeps/unix/sysv/linux/sh/bits/atomic.h.

13 years agoFix invalid memory access in do_lookup_x.
Andreas Schwab [Fri, 22 Jun 2012 18:10:31 +0000 (11:10 -0700)] 
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.

13 years agoUse AC_LANG_SOURCE to fix autoconf warnings.
Carlos O'Donell [Fri, 22 Jun 2012 14:58:19 +0000 (14:58 +0000)] 
Use AC_LANG_SOURCE to fix autoconf warnings.

13 years agoUse tab not spaces.
Carlos O'Donell [Fri, 22 Jun 2012 14:52:50 +0000 (14:52 +0000)] 
Use tab not spaces.

13 years agoRespect --localstatedir for /var/db parent directory.
Roland McGrath [Fri, 22 Jun 2012 17:11:07 +0000 (10:11 -0700)] 
Respect --localstatedir for /var/db parent directory.

13 years agoUpdate copyright years
Jeff Law [Thu, 21 Jun 2012 23:16:15 +0000 (17:16 -0600)] 
Update copyright years

13 years ago [BZ #14277]
Jeff Law [Thu, 21 Jun 2012 23:15:38 +0000 (17:15 -0600)] 
    [BZ #14277]
        * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
        free.  Simplify list management for _LIBC case.

13 years agoFix wordsize-64 cosh regression (bug 14273).
Joseph Myers [Thu, 21 Jun 2012 19:26:09 +0000 (19:26 +0000)] 
Fix wordsize-64 cosh regression (bug 14273).

13 years agoRegenerate sysdeps/mach/configure.
Joseph Myers [Thu, 21 Jun 2012 19:20:33 +0000 (19:20 +0000)] 
Regenerate sysdeps/mach/configure.

13 years agoMention BZ #14278 in NEWS
H.J. Lu [Thu, 21 Jun 2012 17:30:14 +0000 (10:30 -0700)] 
Mention BZ #14278 in NEWS

13 years agoFix a typo in i386 SYSCALL_PIC_SETUP
H.J. Lu [Thu, 21 Jun 2012 17:17:07 +0000 (10:17 -0700)] 
Fix a typo in i386 SYSCALL_PIC_SETUP

13 years ago2012-06-21 Jeff Law <law@redhat.com>
Jeff Law [Thu, 21 Jun 2012 15:26:41 +0000 (09:26 -0600)] 
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.

13 years agoAdd ChangeLog ...
Carlos O'Donell [Thu, 21 Jun 2012 15:04:35 +0000 (08:04 -0700)] 
Add ChangeLog ...

... for feca660a796e5782498bd6d6673999d9e26b5f4d.

13 years agoRegenerate libc.pot.
Carlos O'Donell [Thu, 21 Jun 2012 14:58:27 +0000 (07:58 -0700)] 
Regenerate libc.pot.

Enhance scripts/list-sources.sh to search glibc-ports
for translatable strings.

13 years agoFix typo in name
Andreas Jaeger [Thu, 21 Jun 2012 14:45:27 +0000 (16:45 +0200)] 
Fix typo in name

13 years agoAvoid -Wconversion warning for htons
Andreas Jaeger [Thu, 21 Jun 2012 13:49:33 +0000 (15:49 +0200)] 
Avoid -Wconversion warning for htons

13 years agolocales/tr_CY: LC_TIME with copy cannot contain additional data
Petr Baudis [Wed, 20 Jun 2012 15:29:47 +0000 (17:29 +0200)] 
locales/tr_CY: LC_TIME with copy cannot contain additional data

Luckily, tr_TR also sets first_weekday and first_workday to Monday,
so this is just not necessary.

13 years agolocales/mag_IN: Fix syntax error
Petr Baudis [Wed, 20 Jun 2012 15:29:08 +0000 (17:29 +0200)] 
locales/mag_IN: Fix syntax error

13 years agoAccount for the extra stack size when rlimit is small enough
Siddhesh Poyarekar [Wed, 20 Jun 2012 07:33:13 +0000 (13:03 +0530)] 
Account for the extra stack size when rlimit is small enough

When rlimit is small enough to be used as the stacksize to be returned
in pthread_getattr_np, cases where a stack is made executable due to a
DSO load get stack size that is larger than what the kernel
allows. This is because in such a case the stack size does not account
for the pages that have auxv and program arguments.

Additionally, the stacksize for the process derived from this should
be truncated to align to page size to avoid going beyond rlimit.

13 years agoUse x86-64 fpu_control.h for i386 and x86_64
H.J. Lu [Mon, 18 Jun 2012 18:43:51 +0000 (11:43 -0700)] 
Use x86-64 fpu_control.h for i386 and x86_64

13 years agoUse __volatile__ to access fpu control word
H.J. Lu [Mon, 18 Jun 2012 18:09:58 +0000 (11:09 -0700)] 
Use __volatile__ to access fpu control word

13 years agoUpdate news for fixed alpha bz
Richard Henderson [Fri, 15 Jun 2012 21:42:57 +0000 (14:42 -0700)] 
Update news for fixed alpha bz

13 years agoMention BZ 14050/14117 in NEWS
H.J. Lu [Fri, 15 Jun 2012 21:33:57 +0000 (14:33 -0700)] 
Mention BZ 14050/14117 in NEWS

13 years agoUse i386 bits/mathinline.h for i386 and x86_64
H.J. Lu [Fri, 15 Jun 2012 20:56:26 +0000 (13:56 -0700)] 
Use i386 bits/mathinline.h for i386 and x86_64

13 years agoDisable x87 inline functions for x86-64
H.J. Lu [Fri, 15 Jun 2012 13:52:47 +0000 (06:52 -0700)] 
Disable x87 inline functions for x86-64

13 years agoMake endian.h usable for assembler
Chung-Lin Tang [Fri, 15 Jun 2012 19:19:12 +0000 (21:19 +0200)] 
Make endian.h usable for assembler

13 years agoMention ix86 shared headers
Andreas Jaeger [Fri, 15 Jun 2012 19:13:21 +0000 (21:13 +0200)] 
Mention ix86 shared headers

13 years agoMention BZ #14229 in NEWS
H.J. Lu [Fri, 15 Jun 2012 12:38:30 +0000 (05:38 -0700)] 
Mention BZ #14229 in NEWS

13 years agoFix pow (0.0, -Inf) (bug 14241).
Joseph Myers [Fri, 15 Jun 2012 11:27:51 +0000 (11:27 +0000)] 
Fix pow (0.0, -Inf) (bug 14241).

13 years agoUpdate manual/contrib.texi
Andreas Jaeger [Fri, 15 Jun 2012 07:14:17 +0000 (09:14 +0200)] 
Update manual/contrib.texi

Update entry of Liubov Dmitrieva and add entries for Will Schmidt and Tulio Magno
Quites Machado Filho.

13 years agoAdd __wur to GNU version of strerror_r.
Cyril Hrubis [Fri, 15 Jun 2012 07:09:05 +0000 (09:09 +0200)] 
Add __wur to GNU version of strerror_r.

Not using the result of the GNU strerror_r() is always a mistake.

Moreover this would generate warning if XSI version was expected but GNU
version was used instead (because some random used header defined
_GNU_SOURCE which was Python.h in this case).

13 years agoUse RAX_LP/RDX_LP on SAVE_PTR in x86_64 strtok.S
H.J. Lu [Thu, 14 Jun 2012 16:58:43 +0000 (09:58 -0700)] 
Use RAX_LP/RDX_LP on SAVE_PTR in x86_64 strtok.S

13 years agoMake sure <build-dir>/manual directory gets created.
Roland McGrath [Thu, 14 Jun 2012 16:44:27 +0000 (09:44 -0700)] 
Make sure <build-dir>/manual directory gets created.

13 years agoAllow more spurious underflow exceptions from csqrt and Bessel functions.
Joseph Myers [Thu, 14 Jun 2012 14:35:24 +0000 (14:35 +0000)] 
Allow more spurious underflow exceptions from csqrt and Bessel functions.

13 years agoSet default charset to UTF-8 for libc.pot.
Carlos O'Donell [Wed, 13 Jun 2012 23:50:29 +0000 (16:50 -0700)] 
Set default charset to UTF-8 for libc.pot.

13 years agoMention 14210 in NEWS.
Paul Eggert [Wed, 13 Jun 2012 17:46:52 +0000 (10:46 -0700)] 
Mention 14210 in NEWS.

13 years agoSuppress sign-conversion warning from FD_SET.
Paul Pluzhnikov [Wed, 13 Jun 2012 16:57:18 +0000 (09:57 -0700)] 
Suppress sign-conversion warning from FD_SET.

[BZ #14210] See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
* debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
not unsigned long int.
* misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.

13 years agoAdd SSE math and C++ namespace to i386 bits/mathinline.h
H.J. Lu [Tue, 12 Jun 2012 18:10:40 +0000 (11:10 -0700)] 
Add SSE math and C++ namespace to i386 bits/mathinline.h

13 years agoFix a typo in sysdeps/unix/Makefile.
Thomas Schwinge [Tue, 12 Jun 2012 08:27:01 +0000 (10:27 +0200)] 
Fix a typo in sysdeps/unix/Makefile.

13 years agoBZ#14218: Reword argp_parse description slightly.
Roland McGrath [Mon, 11 Jun 2012 23:20:09 +0000 (16:20 -0700)] 
BZ#14218: Reword argp_parse description slightly.

13 years agoSH: No FE_UPWARD, FE_DOWNWARD.
Thomas Schwinge [Sat, 9 Jun 2012 16:46:01 +0000 (18:46 +0200)] 
SH: No FE_UPWARD, FE_DOWNWARD.

13 years agoSH: Do not re-write fpscr after reading it.
Thomas Schwinge [Sat, 9 Jun 2012 16:36:52 +0000 (18:36 +0200)] 
SH: Do not re-write fpscr after reading it.

13 years agoSH: refresh *.abilist files.
Kaz Kojima [Sat, 9 Jun 2012 16:06:52 +0000 (18:06 +0200)] 
SH: refresh *.abilist files.

13 years agoFix build on non-v9 sparc32.
Carlos Sánchez de La Lama [Thu, 7 Jun 2012 18:35:59 +0000 (11:35 -0700)] 
Fix build on non-v9 sparc32.

nptl/

[BZ #14205]
* sysdeps/sparc/sparc32/pthread_spin_lock.S: Do not use v9
branches.

13 years agoUse x86_64 fpu/bits/fenv.h for i386 and x86_64
H.J. Lu [Wed, 6 Jun 2012 17:13:19 +0000 (10:13 -0700)] 
Use x86_64 fpu/bits/fenv.h for i386 and x86_64

13 years agoCheck __SSE_MATH__ in x86_64 feraiseexcept
H.J. Lu [Wed, 6 Jun 2012 17:11:14 +0000 (10:11 -0700)] 
Check __SSE_MATH__ in x86_64 feraiseexcept

13 years agoFix validation check when converting from ibm930 to utf
Siddhesh Poyarekar [Wed, 6 Jun 2012 13:09:10 +0000 (18:39 +0530)] 
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

13 years agoFix for wrong ldbl128-ibm fmodl commit
Adhemerval Zanella [Wed, 6 Jun 2012 00:31:24 +0000 (21:31 -0300)] 
Fix for wrong ldbl128-ibm fmodl commit

13 years agoFix spurious undeflow for ldbl-128ibm erfl
Adhemerval Zanella [Tue, 5 Jun 2012 13:42:49 +0000 (10:42 -0300)] 
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.

13 years agoFix ldbl128ibm fmodl for subnormals.
Adhemerval Zanella [Tue, 5 Jun 2012 13:13:41 +0000 (10:13 -0300)] 
Fix ldbl128ibm fmodl for subnormals.

13 years agotst-getcpu: decode errno when sched_getcpu fails
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>
13 years agoFix a typo in comment
H.J. Lu [Mon, 4 Jun 2012 20:47:07 +0000 (13:47 -0700)] 
Fix a typo in comment

13 years agoUse i486 bits/string.h for i386 and x86_64
H.J. Lu [Mon, 4 Jun 2012 20:45:43 +0000 (13:45 -0700)] 
Use i486 bits/string.h for i386 and x86_64

13 years agoProvide 32-bit inline string functions for >= i486
H.J. Lu [Mon, 4 Jun 2012 20:44:46 +0000 (13:44 -0700)] 
Provide 32-bit inline string functions for >= i486

13 years agoUse x86_64 bits/sigcontext.h for i386 and x86_64
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

13 years agoUpdate x86_64 bits/sigcontext.h from kernel 3.4.0
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

13 years agoUse x86_64 bits/{debugreg,reg}.h for i386 and x86-64
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