platform/upstream/linaro-glibc.git
12 years agoFix check-local-headers.sh on multiarch systems.
David S. Miller [Fri, 6 Apr 2012 03:40:28 +0000 (23:40 -0400)]
Fix check-local-headers.sh on multiarch systems.

* scripts/check-local-headers.sh: Accept a host triplet in the
path matched by the exclude regexp.

12 years agoReduce down to one definition of _ELF_DYNAMIC_DO_RELOC.
David S. Miller [Thu, 5 Apr 2012 22:28:37 +0000 (15:28 -0700)]
Reduce down to one definition of _ELF_DYNAMIC_DO_RELOC.

* elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
definition.
* sysdeps/powerpc/powerpc32/dl-machine.h
(ELF_MACHINE_PLTREL_OVERLAP): Delete.
* sysdeps/s390/s390-32/dl-machine.h
(ELF_MACHINE_PLTREL_OVERLAP): Likewise.
* sysdeps/sparc/sparc32/dl-machine.h
(ELF_MACHINE_PLTREL_OVERLAP): Likewise.
* sysdeps/sparc/sparc64/dl-machine.h
(ELF_MACHINE_PLTREL_OVERLAP): Likewise.

12 years agoFix CL typos.
Marek Polacek [Thu, 5 Apr 2012 17:28:16 +0000 (19:28 +0200)]
Fix CL typos.

12 years ago[BZ #6770] Add first_weekday and first_workday to ca_ES.
Petr Baudis [Thu, 5 Apr 2012 09:47:44 +0000 (11:47 +0200)]
[BZ #6770] Add first_weekday and first_workday to ca_ES.

Patch from Fedora by Jeff Law.  Acknowledged by Jordi Mallach.

12 years agoLocale ca_ES is now maintained by Jordi Mallach
Petr Baudis [Thu, 5 Apr 2012 09:42:30 +0000 (11:42 +0200)]
Locale ca_ES is now maintained by Jordi Mallach

[BZ #6770]
It was impossible to contact the original maintainer by phone or email,
despite Jordi's multiple tries, either directly or via 3rd parties.

12 years agoFix DL_DEBUG_UNUSED to elide the VDSO and handle PLT references properly.
David S. Miller [Thu, 5 Apr 2012 09:20:37 +0000 (05:20 -0400)]
Fix DL_DEBUG_UNUSED to elide the VDSO and handle PLT references properly.

* elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
lazy binding.
* elf/dl-lookup (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
undefined symbol errors.

* elf/rtlc.c (dl_main): Skip VDSO when checking for unused
DT_NEEDED entries.

12 years agoFix size parameter comparisions.
Michael Matz [Thu, 5 Apr 2012 08:48:14 +0000 (10:48 +0200)]
Fix size parameter comparisions.

[BZ #13592]
There are several signed compares of the size argument, whereas
it really is unsigned.  Depending on situations e.g. a "memset(ptr, 0,
-1)" segfault (but for the wrong reasons, because jumping into nirvana)
or succeeds even.

In normal use this is harmless, as a size with signbit set indicates
more than half the address space which on x86_64 is impossible to
allocate, but as the size is used to index some jump tables this
potentially could have other unwanted side effects.

12 years agoDon't warn about unused result of mktemp
Andreas Jaeger [Thu, 5 Apr 2012 08:44:08 +0000 (10:44 +0200)]
Don't warn about unused result of mktemp

    [BZ #13908]
    mktemp always returns TEMPLATE, the caller should check TEMPLATE[0]
    instead of TEMPLATE, so do not warn about the unused result.
    Fix also the comment for mktemp

12 years ago[BZ #12340] Fix return code of the Hurd's ttyname_r.
Thomas Schwinge [Thu, 5 Apr 2012 07:16:48 +0000 (09:16 +0200)]
[BZ #12340] Fix return code of the Hurd's ttyname_r.

12 years agoFix return value of SH fesetround.
Kaz Kojima [Thu, 5 Apr 2012 02:58:30 +0000 (11:58 +0900)]
Fix return value of SH fesetround.

12 years agoSet SH fpcsr register which read again.
Kaz Kojima [Thu, 5 Apr 2012 02:57:03 +0000 (11:57 +0900)]
Set SH fpcsr register which read again.

12 years agoFix SH4 fraiseexcpt so to generate exceptions appropriately.
Kaz Kojima [Thu, 5 Apr 2012 02:53:49 +0000 (11:53 +0900)]
Fix SH4 fraiseexcpt so to generate exceptions appropriately.

12 years agoAdd support fedisableexcept, feenableexcept, fegetexcept and feupdateenv
Kaz Kojima [Thu, 5 Apr 2012 02:43:30 +0000 (11:43 +0900)]
Add support fedisableexcept, feenableexcept, fegetexcept and feupdateenv
for SH.

12 years ago[BZ #12340] Fix return code of the Hurd's ttyname_r.
Simon Josefsson [Wed, 4 Apr 2012 22:35:19 +0000 (00:35 +0200)]
[BZ #12340] Fix return code of the Hurd's ttyname_r.

12 years ago[BZ #13553] Remove pre-ISO C support
Thomas Schwinge [Wed, 4 Apr 2012 22:26:22 +0000 (00:26 +0200)]
[BZ #13553] Remove pre-ISO C support

The bits missing from a784e502472fb3a1afa4d01a47c66b52d23e00f6.

12 years ago2012-04-04 Dmitry V. Levin <ldv@altlinux.org>
Jeff Law [Wed, 4 Apr 2012 19:55:23 +0000 (13:55 -0600)]
2012-04-04  Dmitry V. Levin  <ldv@altlinux.org>

        [BZ #10346]
        * locales/ru_UA (LC_TIME): Add first_weekday and first_workday.

12 years agoFix typo in manual
Andreas Jaeger [Tue, 3 Apr 2012 07:43:38 +0000 (09:43 +0200)]
Fix typo in manual

[BZ # 13938]
* manual/setjmp.texi (System V contexts): Fix sentence.

12 years agoAdd __bswap_64 definition for non GCC compilers.
Andreas Jaeger [Wed, 28 Mar 2012 14:39:25 +0000 (16:39 +0200)]
Add __bswap_64 definition for non GCC compilers.

[BZ#13926]
Currently __bswap_64 is not defined at all for non-GCC compilers.
Define it but guard it with __GLIBC_HAVE_LONG_LONG.

endian.h uses __bswap_64, make the functions only available
if __GLIBC_HAVE_LONG_LONG is defined.

12 years agoFix bug in previous tcvn5712 commit e64d2de52.
Tulio Magno Quites Machado Filho [Mon, 2 Apr 2012 22:24:03 +0000 (15:24 -0700)]
Fix bug in previous tcvn5712 commit e64d2de52.

[BZ #13691]
* iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
inptr and inend, rather than using last_ch.

12 years agoTighten up vfprintf width, precision, and total length overflow handling.
David S. Miller [Mon, 2 Apr 2012 21:31:19 +0000 (14:31 -0700)]
Tighten up vfprintf width, precision, and total length overflow handling.

With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
* stdio-common/printf-parse.h (read_int): Change return type to
'int', return -1 on INT_MAX overflow.
* stdio-common/vfprintf.c (vfprintf): Validate width and precision
against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
overflows INT_MAX.  Check for overflow of in-format-string precision
values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
SIZE_MAX not INT_MAX for integer overflow test.
* stdio-common/printf-parsemb.c: If read_int signals an overflow,
skip the construct in the format string but do not record anything.
* stdio-common/bug22.c: Adjust to test both width/prevision
INT_MAX overflow as well as total length INT_MAX overflow.  Check
explicitly for proper errno values.

12 years agoTestsuite #include fixes.
Thomas Schwinge [Mon, 2 Apr 2012 20:31:32 +0000 (22:31 +0200)]
Testsuite #include fixes.

12 years agoCall __ctype_init in early glibc startup.
Thomas Schwinge [Mon, 2 Apr 2012 20:26:43 +0000 (22:26 +0200)]
Call __ctype_init in early glibc startup.

This adds the bits missing from fd5bdc0924e0cfd1688b632068c1b26f3b0c88da.

12 years agoUpdated Vietnamese translation
Ulrich Drepper [Sun, 1 Apr 2012 13:52:09 +0000 (09:52 -0400)]
Updated Vietnamese translation

12 years agoUpdated Russian translations
Ulrich Drepper [Sun, 1 Apr 2012 13:51:00 +0000 (09:51 -0400)]
Updated Russian translations

12 years agoMerge copyright years in resolv/nss_dns/dns-host.c
Siddhesh Poyarekar [Sat, 31 Mar 2012 04:31:43 +0000 (10:01 +0530)]
Merge copyright years in resolv/nss_dns/dns-host.c

12 years agooptimize the following memcpy: sysdeps/i386/i686/multiarch/memcpy-ssse3.S
Liubov Dmitrieva [Fri, 30 Mar 2012 20:45:27 +0000 (16:45 -0400)]
optimize the following memcpy: sysdeps/i386/i686/multiarch/memcpy-ssse3.S

I've improved the following implementation of memcpy:
"sysdeps/i386/i686/multiarch/memcpy-ssse3.S".

The patch includes some minor style fixes, but the important part is
just using prefetch loops for the case:

DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
src and dst pointers have unequal 16 byte alignments.

This gives from 6% - 50% performance boost on the atom machine, about
24,73% in geometric mean.

12 years agoConsider TTL of CNAME record and return minimum TTL in the chain
Siddhesh Poyarekar [Fri, 30 Mar 2012 15:28:14 +0000 (20:58 +0530)]
Consider TTL of CNAME record and return minimum TTL in the chain

[BZ #13928] A DNS request consists of multiple resources combined into
a single hostent, including multiple CNAME records that may have been
assigned different TTL values. In such a case, nscd should take the
least TTL among all of the resources as the timeout for the hostent
before it is reloaded in its cache so that the hostent remains stale
in the database for the least amount of time.

12 years ago * resolv/nss_dns/dns-host.c: Update copyright year.
Jeff Law [Fri, 30 Mar 2012 15:54:21 +0000 (09:54 -0600)]
    * resolv/nss_dns/dns-host.c: Update copyright year.

12 years ago2012-03-29 Jeff Law <law@redhat.com>
Jeff Law [Fri, 30 Mar 2012 15:45:44 +0000 (09:45 -0600)]
2012-03-29  Jeff Law  <law@redhat.com>

* crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
due to long keys.
* crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
* crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.

12 years agoBetter error handling for sendmmsg use in res_send
Ulrich Drepper [Fri, 30 Mar 2012 12:38:58 +0000 (08:38 -0400)]
Better error handling for sendmmsg use in res_send

12 years agoCorrect check for DNS request send success
Ulrich Drepper [Fri, 30 Mar 2012 12:27:11 +0000 (08:27 -0400)]
Correct check for DNS request send success

This predates the sendmmsg use.  The two requests can use different
request sizes but the check for successful transfer always only used
buflen.

12 years agoSpeed up DNS by avoiding a system call if possible
Ulrich Drepper [Fri, 30 Mar 2012 11:42:29 +0000 (07:42 -0400)]
Speed up DNS by avoiding a system call if possible

12 years agoComment fixes for mmsghdr
Ulrich Drepper [Fri, 30 Mar 2012 10:35:29 +0000 (06:35 -0400)]
Comment fixes for mmsghdr

12 years agoFix a bug when converting strings with 1 character using TCVN5712-1
Tulio Magno Quites Machado Filho [Fri, 30 Mar 2012 08:43:43 +0000 (10:43 +0200)]
Fix a bug when converting strings with 1 character using TCVN5712-1

It isn't necessary to buffer the last character of strings. This can cause a
bug with strings that have 1 character between 0x0041 and 0x01b0.

[BZ #13691]
* iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
with only 1 character between 0x0041 and 0x01b0.
* wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
* wcsmbs/tst-mbsnrtowcs.c: New file.

12 years agoRemove xsputn small copy optimization.
David S. Miller [Thu, 29 Mar 2012 21:38:27 +0000 (14:38 -0700)]
Remove xsputn small copy optimization.

* libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
small copies by hand.

12 years ago [BZ #13761]
Jeff Law [Thu, 29 Mar 2012 15:56:27 +0000 (09:56 -0600)]
[BZ #13761]
* nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
_nss_compat_initgroups_dyn): Fall back to malloc/free for
large group memberships.

12 years agoOptimize mempcpy on sparc.
David S. Miller [Thu, 29 Mar 2012 05:35:26 +0000 (22:35 -0700)]
Optimize mempcpy on sparc.

* sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
that branches into memcpy.
* sysdeps/sparc/sparc64/memcpy.S: Likewise.
* sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
* sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
* sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
* sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
bits.
* sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
implementation too.
* sysdeps/sparc/mempcpy.S: New file.

12 years agoDo not elide the libc hidden def of sparc's memset/memcpy when multiarching.
David S. Miller [Thu, 29 Mar 2012 05:26:38 +0000 (22:26 -0700)]
Do not elide the libc hidden def of sparc's memset/memcpy when multiarching.

* sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
the IFUNC routine in the libc case.
* sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.

12 years agoUse generic memset/memcpy in rtld on sparcv9/sparc64.
David S. Miller [Thu, 29 Mar 2012 05:22:15 +0000 (22:22 -0700)]
Use generic memset/memcpy in rtld on sparcv9/sparc64.

* sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
* sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
* sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
* sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
* sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
* sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
* sysdeps/sparc/sparc64/rtld-memset.c: New file.
* sysdeps/sparc/sparc64/rtld-memcpy.c: New file.

12 years agoFix bugs and improve performance of niagara memset/bzero.
David S. Miller [Thu, 29 Mar 2012 04:59:43 +0000 (21:59 -0700)]
Fix bugs and improve performance of niagara memset/bzero.

* sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
loop to 256 bytes instead of 64 bytes and fix test signedness.

12 years agoMake sparc's -fPIC addition to ASFLAGS-.os more robust.
David S. Miller [Wed, 28 Mar 2012 21:25:42 +0000 (14:25 -0700)]
Make sparc's -fPIC addition to ASFLAGS-.os more robust.

* sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
* sysdeps/sparc/sparc32/Makefile: rather than here...
* sysdeps/sparc/sparc64/Makefile: and here.

12 years agoMerge branch 'master' of ssh://sourceware.org/git/glibc
Ulrich Drepper [Wed, 28 Mar 2012 17:06:05 +0000 (13:06 -0400)]
Merge branch 'master' of ssh://sourceware.org/git/glibc

Conflicts:
ChangeLog

12 years agoAvoid warnings in test malloc program
Ulrich Drepper [Wed, 28 Mar 2012 17:05:11 +0000 (13:05 -0400)]
Avoid warnings in test malloc program

12 years ago [BZ #13760]
Jeff Law [Wed, 28 Mar 2012 16:09:29 +0000 (10:09 -0600)]
   [BZ #13760]
        * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
        in the right place. Discard and retry query if response is
        larger than input buffer size.

12 years agoFix pow of negative numbers to integer exponents (bugs 369, 2678, 3866).
Joseph Myers [Wed, 28 Mar 2012 14:57:58 +0000 (14:57 +0000)]
Fix pow of negative numbers to integer exponents (bugs 369, 2678, 3866).

12 years agoBug 3868 also fixed by __kernel_standard_l changes.
Joseph Myers [Wed, 28 Mar 2012 09:52:05 +0000 (09:52 +0000)]
Bug 3868 also fixed by __kernel_standard_l changes.

12 years agoAvoid overflows from long double functions using __kernel_standard.
Joseph Myers [Wed, 28 Mar 2012 09:32:12 +0000 (09:32 +0000)]
Avoid overflows from long double functions using __kernel_standard.

12 years agoFix whitespace
Andreas Jaeger [Wed, 28 Mar 2012 08:00:15 +0000 (10:00 +0200)]
Fix whitespace

12 years agoRegenerate configure files
Andreas Jaeger [Wed, 28 Mar 2012 07:37:36 +0000 (09:37 +0200)]
Regenerate configure files

12 years agoRemove sysdeps/elf support from configure.
Andreas Jaeger [Fri, 23 Mar 2012 16:37:33 +0000 (17:37 +0100)]
Remove sysdeps/elf support from configure.

* configure.in: Remove support for elf directories in sysdeps.

12 years agoMove sysdeps/s390/s390-64/elf files
Andreas Jaeger [Fri, 23 Mar 2012 16:37:32 +0000 (17:37 +0100)]
Move sysdeps/s390/s390-64/elf files

* sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
* sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
* sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
* sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
* sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
* sysdeps/s390/s390-64/setjmp.S: ... here.
* sysdeps/s390/s390-64/elf/configure.in: Moved to ...
* sysdeps/s390/s390-64/configure.in: ... here
* sysdeps/s390/s390-64/elf/configure: Delete file.
* sysdeps/s390/s390-64/elf/start.S: Moved to ...
* sysdeps/s390/s390-64/start.S: ... here.
* sysdeps/s390/s390-64/elf/configure: Delete.

12 years agoMove sysdeps/s390/s390-32/elf files
Andreas Jaeger [Fri, 23 Mar 2012 16:37:31 +0000 (17:37 +0100)]
Move sysdeps/s390/s390-32/elf files

* sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
* sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
* sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
* sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
* sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
* sysdeps/s390/s390-32/setjmp.S: ... here.
* sysdeps/s390/s390-32/elf/configure.in: Moved to ...
* sysdeps/s390/s390-32/configure.in: ... here.
* sysdeps/s390/s390-32/elf/configure: Delete file.
* sysdeps/s390/s390-32/elf/start.S: Moved to ...
* sysdeps/s390/s390-32/start.S: ... here.

12 years agoFix sparc64/elf merge
David S. Miller [Wed, 28 Mar 2012 07:29:20 +0000 (09:29 +0200)]
Fix sparc64/elf merge

* sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
have-as-vis3 check.

12 years agoMove sysdeps/sparc/{,sparc32,sparc64}/elf files
Andreas Jaeger [Fri, 23 Mar 2012 16:37:30 +0000 (17:37 +0100)]
Move sysdeps/sparc/{,sparc32,sparc64}/elf files

* sysdeps/sparc/elf/configure.in: Moved to ...
* sysdeps/sparc/configure.in: ... here.
* sysdeps/sparc/elf/configure: Delete file.
* sysdeps/sparc/sparc32/elf/start.S: Moved to ...
* sysdeps/sparc/sparc32/start.S: ... here.
* sysdeps/sparc/sparc64/elf/start.S: Moved to ...
* sysdeps/sparc/sparc64/start.S: ... here.
* sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
* sysdeps/sparc/sparc32/Makefile: ... this.
* sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
* sysdeps/sparc/sparc64/Makefile: ... this.

12 years agoMove sysdeps/powerpc/elf files
Andreas Jaeger [Wed, 28 Mar 2012 07:25:31 +0000 (09:25 +0200)]
Move sysdeps/powerpc/elf files

* sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
* sysdeps/powerpc/ifunc-sel.h: ... here.
* sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
* sysdeps/powerpc/rtld-global-offsets.sym: ... here.

12 years agoMove sysdeps/powerpc/powerpc32/elf files
Andreas Jaeger [Wed, 28 Mar 2012 07:23:52 +0000 (09:23 +0200)]
Move sysdeps/powerpc/powerpc32/elf files

* sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
* sysdeps/powerpc/powerpc32/bzero.S: ... here.
* sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
* sysdeps/powerpc/powerpc32/start.S: ... here.
* sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
* sysdeps/powerpc/powerpc32/configure.in: ... this.
* sysdeps/powerpc/powerpc32/elf/configure: Delete file.

12 years agoMove sysdeps/powerpc/powerpc64/elf files
Andreas Jaeger [Wed, 28 Mar 2012 07:22:05 +0000 (09:22 +0200)]
Move sysdeps/powerpc/powerpc64/elf files

* sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
* sysdeps/powerpc/powerpc64/bzero.S: ... here.
* sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
* sysdeps/powerpc/powerpc64/entry.h: ... here.
* sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
* sysdeps/powerpc/powerpc64/start.S: here.
* sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
* sysdeps/powerpc/powerpc64/Makefile: ... this.
* sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
* sysdeps/powerpc/powerpc64/configure.in: ... this.
* sysdeps/powerpc/powerpc64/elf/configure: Delete file.

12 years agoDelete sysdeps/sh/elf
Andreas Jaeger [Wed, 28 Mar 2012 07:19:38 +0000 (09:19 +0200)]
Delete sysdeps/sh/elf

* sysdeps/sh/elf/configure.in: Moved to ...
* sysdeps/sh/configure.in: ... here.
* sysdeps/sh/elf/start.S: Moved to ...
* sysdeps/sh/start.S: ... here.
* sysdeps/sh/elf/configure: Delete file.

12 years agoFix last commit
Andreas Jaeger [Wed, 28 Mar 2012 07:18:28 +0000 (09:18 +0200)]
Fix last commit

Merge the current i386 version of sysdeps/i386/configure.in
Regenerate configure

12 years agoDefine MAP_STACK and MAP_HUGETLB on powerpc, s390, sh and sparc.
Anton Blanchard [Wed, 28 Mar 2012 01:37:16 +0000 (18:37 -0700)]
Define MAP_STACK and MAP_HUGETLB on powerpc, s390, sh and sparc.

* sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
MAP_HUGETLB.
* sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.

12 years agoRun conformtest script explicitly using BASH.
David S. Miller [Tue, 27 Mar 2012 22:02:19 +0000 (15:02 -0700)]
Run conformtest script explicitly using BASH.

* conform/Makefile: Run run-conformtest.sh using $(BASH).

12 years agoFix nptl/tst-cond1{6,7,8}.c on 32-bit with many cpus.
David S. Miller [Tue, 27 Mar 2012 21:25:55 +0000 (14:25 -0700)]
Fix nptl/tst-cond1{6,7,8}.c on 32-bit with many cpus.

* tst-cond16.c (do_test): Use a thread stack size which is either
PTHREAD_STACK_MIN or the page size, whichever is larger.
* tst-cond18.c (do_test): Likewise.

12 years agoRegenerate
Andreas Jaeger [Tue, 27 Mar 2012 19:37:02 +0000 (21:37 +0200)]
Regenerate

12 years agoMerge branch 'elf-move'
Andreas Jaeger [Tue, 27 Mar 2012 19:35:36 +0000 (21:35 +0200)]
Merge branch 'elf-move'

Conflicts:
debug/backtracesymsfd.c
sysdeps/generic/elf/backtracesymsfd.c
sysdeps/i386/configure.in

12 years agoUpdate powerpc libm test ULPs
Andreas Schwab [Fri, 23 Mar 2012 22:53:53 +0000 (23:53 +0100)]
Update powerpc libm test ULPs

12 years agoFix undue underflow in ldbl-128ibm version of expl
Andreas Schwab [Fri, 23 Mar 2012 22:24:23 +0000 (23:24 +0100)]
Fix undue underflow in ldbl-128ibm version of expl

12 years agoFix last change.
Roland McGrath [Sun, 25 Mar 2012 19:01:29 +0000 (12:01 -0700)]
Fix last change.

12 years agoFix confstr use of local buffer outside its extent.
Roland McGrath [Sun, 25 Mar 2012 18:36:35 +0000 (11:36 -0700)]
Fix confstr use of local buffer outside its extent.

12 years ago2012-03-23 Jeff Law <law@redhat.com>
Jeff Law [Fri, 23 Mar 2012 20:56:42 +0000 (14:56 -0600)]
2012-03-23  Jeff Law  <law@redhat.com>

        * nss/getnssent.c (__nss_getent): Fix typo.

12 years agoUpdate sparc ULPs for recently added tests and bug fixes.
David S. Miller [Fri, 23 Mar 2012 02:00:07 +0000 (19:00 -0700)]
Update sparc ULPs for recently added tests and bug fixes.

* sysdeps/sparc/fpu/libm-test-ulps: Update.

12 years agoMake sure x86_64 GOT entry slot is always 8 bytes
H.J. Lu [Fri, 23 Mar 2012 18:06:57 +0000 (11:06 -0700)]
Make sure x86_64 GOT entry slot is always 8 bytes

12 years ago2012-03-23 Daniel Jacobowitz <dmj@google.com>
Paul Pluzhnikov [Fri, 23 Mar 2012 16:47:03 +0000 (09:47 -0700)]
2012-03-23  Daniel Jacobowitz  <dmj@google.com>
Paul Pluzhnikov  <ppluzhnikov@google.com>

[BZ #6528]
* grp/Makefile (otherlibs): Don't set it.
* inet/Makefile (otherlibs): Likewise.
* login/Makefile (otherlibs): Likewise.
* nscd/Makefile (otherlibs): Likewise.
* posix/Makefile (otherlibs): Likewise.
* pwd/Makefile (otherlibs): Likewise.
* rt/Makefile (otherlibs): Likewise.
* sunrpc/Makefile (otherlibs): Likewise.
* nss/Makefile (otherlibs): Likewise.
Add libnss_files to routines and static-only-routines.
($(objpfx)getent): Remove rule.
* resolv/Makefile: Add libnss_dns and libresolv to routines and
static-only-routines.

12 years agoFix cexp overflow (bug 13892).
Joseph Myers [Thu, 22 Mar 2012 19:38:09 +0000 (19:38 +0000)]
Fix cexp overflow (bug 13892).

12 years agoReplace Elf64_XXX with ElfW(XXX) in dl-irel.h
H.J. Lu [Thu, 22 Mar 2012 17:17:05 +0000 (10:17 -0700)]
Replace Elf64_XXX with ElfW(XXX) in dl-irel.h

12 years agoReplace unsigned long with uint64_t
H.J. Lu [Thu, 22 Mar 2012 17:02:57 +0000 (10:02 -0700)]
Replace unsigned long with uint64_t

12 years agoAdd forward declaration for La_x32_regs/La_x32_retval
H.J. Lu [Thu, 22 Mar 2012 16:01:16 +0000 (09:01 -0700)]
Add forward declaration for La_x32_regs/La_x32_retval

12 years agoAdd sysdeps/x86_64/preconfigure
H.J. Lu [Thu, 22 Mar 2012 15:28:39 +0000 (08:28 -0700)]
Add sysdeps/x86_64/preconfigure

12 years agoFix exp2l inaccuracy (bug 13824).
Joseph Myers [Thu, 22 Mar 2012 12:55:19 +0000 (12:55 +0000)]
Fix exp2l inaccuracy (bug 13824).

12 years agoFix low-part sign handling in sin/cos for ldbl-128 and ldbl-128ibm.
Joseph Myers [Thu, 22 Mar 2012 12:52:50 +0000 (12:52 +0000)]
Fix low-part sign handling in sin/cos for ldbl-128 and ldbl-128ibm.

12 years agoAdd 6730 to NEWS.
Carlos O'Donell [Thu, 22 Mar 2012 04:07:37 +0000 (00:07 -0400)]
Add 6730 to NEWS.

12 years agoAdd x32 support to dynamic linker audit
H.J. Lu [Thu, 22 Mar 2012 00:14:49 +0000 (17:14 -0700)]
Add x32 support to dynamic linker audit

12 years agoFix missing overflow/underflow exception in ldbl-128ibm version of powl
Andreas Schwab [Wed, 21 Mar 2012 10:51:17 +0000 (11:51 +0100)]
Fix missing overflow/underflow exception in ldbl-128ibm version of powl

12 years agoUpdate powerpc libm-test ULPs
Andreas Schwab [Tue, 20 Mar 2012 00:02:29 +0000 (01:02 +0100)]
Update powerpc libm-test ULPs

12 years agoDisable use of FMA instructions in branred
Andreas Schwab [Fri, 16 Mar 2012 15:07:57 +0000 (16:07 +0100)]
Disable use of FMA instructions in branred

12 years agoAdd _ITOA_NEEDED and _ITOA_WORD_TYPE
H.J. Lu [Wed, 21 Mar 2012 21:38:47 +0000 (14:38 -0700)]
Add _ITOA_NEEDED and _ITOA_WORD_TYPE

Add _ITOA_NEEDED and _ITOA_WORD_TYPE to override _itoa and _itowa.

12 years agoUpdate sparc ULPs for recently added tests.
David S. Miller [Wed, 21 Mar 2012 21:20:46 +0000 (14:20 -0700)]
Update sparc ULPs for recently added tests.

* sysdeps/sparc/fpu/libm-test-ulps: Update.

12 years agoCheck x86_64* instead of x86_64
H.J. Lu [Wed, 21 Mar 2012 19:37:38 +0000 (12:37 -0700)]
Check x86_64* instead of x86_64

12 years agoDon't document varargs.h.
Joseph Myers [Wed, 21 Mar 2012 17:52:19 +0000 (17:52 +0000)]
Don't document varargs.h.

12 years agoWeaken -fstack-protector configure test to a compile test.
Thomas Schwinge [Wed, 21 Mar 2012 17:51:08 +0000 (17:51 +0000)]
Weaken -fstack-protector configure test to a compile test.

12 years agoDon't tamper with $HOME.
Thomas Schwinge [Wed, 21 Mar 2012 17:10:03 +0000 (18:10 +0100)]
Don't tamper with $HOME.

12 years agoRemove NOTES.
Joseph Myers [Wed, 21 Mar 2012 16:56:28 +0000 (16:56 +0000)]
Remove NOTES.

12 years agoUse autoconf macro for testing compiler options with empty input.
Joseph Myers [Wed, 21 Mar 2012 16:33:57 +0000 (16:33 +0000)]
Use autoconf macro for testing compiler options with empty input.

12 years agoRemove inaccurate x86 cexp implementations (bug 13883).
Joseph Myers [Wed, 21 Mar 2012 15:28:05 +0000 (15:28 +0000)]
Remove inaccurate x86 cexp implementations (bug 13883).

12 years agoDo not install iso3166.tab and zone.tab
Allan McRae [Wed, 21 Mar 2012 15:13:21 +0000 (16:13 +0100)]
Do not install iso3166.tab and zone.tab

2012-03-21  Allan McRae  <allan@archlinux.org>

* timezone/Makefile: Do not install iso3166.tab and zone.tab

12 years agoFix missing exp2 overflow exception (bug 13871).
Joseph Myers [Wed, 21 Mar 2012 12:17:26 +0000 (12:17 +0000)]
Fix missing exp2 overflow exception (bug 13871).

12 years agoFix pow of zero and infinity to large powers.
Joseph Myers [Wed, 21 Mar 2012 12:14:57 +0000 (12:14 +0000)]
Fix pow of zero and infinity to large powers.

12 years agoMove stdio-common/_itoa.h to sysdeps/generic
H.J. Lu [Tue, 20 Mar 2012 23:00:23 +0000 (16:00 -0700)]
Move stdio-common/_itoa.h to sysdeps/generic

12 years agoMerge branch 'master' into elf-move
Andreas Jaeger [Tue, 20 Mar 2012 19:40:16 +0000 (20:40 +0100)]
Merge branch 'master' into elf-move

12 years agoCheck __x86_64__ instead of __WORDSIZE in mathinline.h
H.J. Lu [Tue, 20 Mar 2012 15:54:58 +0000 (08:54 -0700)]
Check __x86_64__ instead of __WORDSIZE in mathinline.h

12 years agoSupport x86-64 __jmp_buf with __WORDSIZE != 64
H.J. Lu [Tue, 20 Mar 2012 15:53:42 +0000 (08:53 -0700)]
Support x86-64 __jmp_buf with __WORDSIZE != 64