platform/upstream/linaro-glibc.git
12 years agoUse $(run-program-prefix) in more shell script tests.
Joseph Myers [Fri, 19 Oct 2012 23:30:43 +0000 (23:30 +0000)]
Use $(run-program-prefix) in more shell script tests.

12 years agoRemove relics of support for configuring in the source directory.
Joseph Myers [Fri, 19 Oct 2012 20:03:12 +0000 (20:03 +0000)]
Remove relics of support for configuring in the source directory.

12 years agoUse working directory, not /tmp, in io/ftwtest-sh.
Joseph Myers [Fri, 19 Oct 2012 20:01:45 +0000 (20:01 +0000)]
Use working directory, not /tmp, in io/ftwtest-sh.

12 years agoUse $(built-program-cmd) in posix/tst-getconf.sh.
Joseph Myers [Fri, 19 Oct 2012 20:00:43 +0000 (20:00 +0000)]
Use $(built-program-cmd) in posix/tst-getconf.sh.

12 years agoClean up localedata/tst-wctype.sh to match how it is called.
Jim Blandy [Fri, 19 Oct 2012 19:59:34 +0000 (19:59 +0000)]
Clean up localedata/tst-wctype.sh to match how it is called.

12 years agoAdd a testcase for BZ #14716
H.J. Lu [Sun, 14 Oct 2012 07:05:10 +0000 (00:05 -0700)]
Add a testcase for BZ #14716

12 years agoFix case of February month name in de_AT locale.
Florian Pritz [Tue, 16 Oct 2012 15:06:42 +0000 (17:06 +0200)]
Fix case of February month name in de_AT locale.

12 years agomr_IN locale fixes
Pravin Satpute [Fri, 19 Oct 2012 02:52:00 +0000 (08:22 +0530)]
mr_IN locale fixes

[BZ #14694]
Fix Wednesday in DAY and August, September and October in ABMON and
MON.

12 years agoComment on slow compilation of math/test-tgmath2.c
Markus Trippelsdorf [Thu, 18 Oct 2012 20:03:49 +0000 (16:03 -0400)]
Comment on slow compilation of math/test-tgmath2.c

The math/test-tgmath2.c testcase uses very long lines
(>3 million), so it may take a while to compile it.

See: http://llvm.org/bugs/show_bug.cgi?id=14106 and
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54402

12 years agoRemove _G_OPEN64, _G_LSEEK64, _G_MMAP64, _G_FSTAT64 from _G_config.h.
Joseph Myers [Thu, 18 Oct 2012 18:50:43 +0000 (18:50 +0000)]
Remove _G_OPEN64, _G_LSEEK64, _G_MMAP64, _G_FSTAT64 from _G_config.h.

12 years agoAdd note on free list pointers overwriting M_PERTURB bytes
Siddhesh Poyarekar [Thu, 18 Oct 2012 02:55:03 +0000 (08:25 +0530)]
Add note on free list pointers overwriting M_PERTURB bytes

Fixes BZ #12140.

12 years agoDon't call feclearexcept in gamma function tests.
Joseph Myers [Wed, 17 Oct 2012 23:42:32 +0000 (23:42 +0000)]
Don't call feclearexcept in gamma function tests.

12 years agoFix typo in nptl/ChangeLog
Siddhesh Poyarekar [Wed, 17 Oct 2012 15:35:29 +0000 (21:05 +0530)]
Fix typo in nptl/ChangeLog

12 years agoDon't check error return for pthread_cancel in tst-cond25
Siddhesh Poyarekar [Wed, 17 Oct 2012 15:32:56 +0000 (21:02 +0530)]
Don't check error return for pthread_cancel in tst-cond25

12 years agoAdjust mutex lock in condvar_cleanup if we got it from requeue_pi
Siddhesh Poyarekar [Tue, 16 Oct 2012 08:53:01 +0000 (14:23 +0530)]
Adjust mutex lock in condvar_cleanup if we got it from requeue_pi

This completes the fix to bz #14652.

12 years ago__alloc_dir: avoid integer overflow in malloc argument
Florian Weimer [Tue, 16 Oct 2012 08:33:50 +0000 (10:33 +0200)]
__alloc_dir: avoid integer overflow in malloc argument

12 years agoFix BZ #14716: memmem crash
Maxim Kuvyrkov [Tue, 16 Oct 2012 00:22:41 +0000 (17:22 -0700)]
Fix BZ #14716: memmem crash

12 years agotilegx: add optimized sched_getcpu() using TILE_COORD SPR
Chris Metcalf [Thu, 11 Oct 2012 16:15:45 +0000 (12:15 -0400)]
tilegx: add optimized sched_getcpu() using TILE_COORD SPR

We can discover our x,y coordinate in the core mesh with an
mfspr instruction, multiply y by the core mesh width, and have
the core number without needing to ask the kernel.

12 years agoUse __uint64_t in x86 __bswap_64
H.J. Lu [Fri, 12 Oct 2012 16:21:47 +0000 (09:21 -0700)]
Use __uint64_t in x86 __bswap_64

12 years agoAvoid PLT references from __get_clockfreq on powerpc
Andreas Schwab [Thu, 11 Oct 2012 12:48:32 +0000 (14:48 +0200)]
Avoid PLT references from __get_clockfreq on powerpc

12 years agoAdd x86-64 __libc_ifunc_impl_list
H.J. Lu [Wed, 10 Oct 2012 14:49:12 +0000 (07:49 -0700)]
Add x86-64 __libc_ifunc_impl_list

12 years agoAdd i686 __libc_ifunc_impl_list
H.J. Lu [Wed, 10 Oct 2012 14:48:45 +0000 (07:48 -0700)]
Add i686 __libc_ifunc_impl_list

12 years agoFramework to test IFUNC implementations on target
H.J. Lu [Wed, 10 Oct 2012 14:47:59 +0000 (07:47 -0700)]
Framework to test IFUNC implementations on target

12 years agoUse IFUNC memmove/memset in x86-64 bcopy/bzero
H.J. Lu [Thu, 11 Oct 2012 20:58:16 +0000 (13:58 -0700)]
Use IFUNC memmove/memset in x86-64 bcopy/bzero

Also add separate tests for bcopy and bzero.

12 years agoFixup nptl/ChangeLog for last commit.
Carlos O'Donell [Thu, 11 Oct 2012 03:34:38 +0000 (23:34 -0400)]
Fixup nptl/ChangeLog for last commit.

12 years agoFix formatting in nptl/sysdeps/pthread/pthread.h.
Carlos O'Donell [Thu, 11 Oct 2012 03:28:52 +0000 (23:28 -0400)]
Fix formatting in nptl/sysdeps/pthread/pthread.h.

The macro pthread_cleanup_push_defer_np in pthread.h has a misaligned
line continuation marker. This marker was previously aligned, but
recent changes have moved it out of alignment. This change realigns
the marker. This also reduces the diff against the hppa version of
pthread.h where the marker is aligned.

12 years agohppa: Update pthread.h
Carlos O'Donell [Thu, 11 Oct 2012 03:00:00 +0000 (23:00 -0400)]
hppa: Update pthread.h

Updates the hppa-specific pthread.h from the generic version.
After this update the only difference between the generic
version and the hppa version is the footer protected by the
_PTHREAD_H_HPPA_ guard.

12 years agohppa: Remove pt-initfini.c
Carlos O'Donell [Thu, 11 Oct 2012 02:52:00 +0000 (22:52 -0400)]
hppa: Remove pt-initfini.c

Rmoves the unused pt-initfini.c

12 years agohppa: Restore nptl/shlib-versions.
Carlos O'Donell [Thu, 11 Oct 2012 02:42:52 +0000 (22:42 -0400)]
hppa: Restore nptl/shlib-versions.

On 2012-01-07 the nptl/shlib-versions file removed the hppa entry.
This restores that entry in the hppa ports tree.

12 years agoUse $CXX not cc1plus to locate C++ headers.
Joseph Myers [Wed, 10 Oct 2012 22:07:36 +0000 (22:07 +0000)]
Use $CXX not cc1plus to locate C++ headers.

12 years agoDon't include link-libc-static in +link-static-before-libc.
Joseph Myers [Wed, 10 Oct 2012 21:07:20 +0000 (21:07 +0000)]
Don't include link-libc-static in +link-static-before-libc.

12 years agoRemove _IO_pos_t.
Joseph Myers [Wed, 10 Oct 2012 16:05:36 +0000 (16:05 +0000)]
Remove _IO_pos_t.

12 years ago* NEWS: Add note about FIPS mode. Wording suggested by Roland
Alexandre Oliva [Wed, 10 Oct 2012 10:06:03 +0000 (07:06 -0300)]
* NEWS: Add note about FIPS mode.  Wording suggested by Roland
McGrath.

12 years ago* crypt/crypt-entry.c: Include fips-private.h.
Alexandre Oliva [Wed, 10 Oct 2012 10:05:46 +0000 (07:05 -0300)]
* crypt/crypt-entry.c: Include fips-private.h.
(__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
* crypt/md5c-test.c (main): Tolerate disabled MD5.
* sysdeps/unix/sysv/linux/fips-private.h: New file.
* sysdeps/generic/fips-private.h: New file, dummy fallback.

12 years ago* crypt/crypt-private.h: Include stdbool.h.
Alexandre Oliva [Wed, 10 Oct 2012 10:05:10 +0000 (07:05 -0300)]
* crypt/crypt-private.h: Include stdbool.h.
(_ufc_setup_salt_r): Return bool.
* crypt/crypt-entry.c: Include errno.h.
(__crypt_r): Return NULL with EINVAL for bad salt.
* crypt/crypt_util.c (bad_for_salt): New.
(_ufc_setup_salt_r): Check that salt is long enough and within
the specified alphabet.
* crypt/badsalttest.c: New file.
* crypt/Makefile (tests): Add it.
($(objpfx)badsalttest): New.

12 years agoTake lock in pthread_cond_wait cleanup handler only when needed
Siddhesh Poyarekar [Wed, 10 Oct 2012 06:47:27 +0000 (12:17 +0530)]
Take lock in pthread_cond_wait cleanup handler only when needed

[BZ #14652]
When a thread waiting in pthread_cond_wait with a PI mutex is
cancelled after it has returned successfully from the futex syscall
but just before async cancellation is disabled, it enters its
cancellation handler with the mutex held and simply calling a
mutex_lock again will result in a deadlock.  Hence, it is necessary to
see if the thread owns the lock and try to lock it only if it doesn't.

12 years agoAdd NEWS entry for BZ #14602.
Maxim Kuvyrkov [Wed, 10 Oct 2012 00:09:30 +0000 (17:09 -0700)]
Add NEWS entry for BZ #14602.

12 years agoMake libm-test.inc test comparison macros.
Joseph Myers [Tue, 9 Oct 2012 23:34:12 +0000 (23:34 +0000)]
Make libm-test.inc test comparison macros.

12 years agoAutomatically disable libidn add-on under --disable-shared.
Roland McGrath [Tue, 9 Oct 2012 22:48:55 +0000 (15:48 -0700)]
Automatically disable libidn add-on under --disable-shared.

12 years agoAdd missing magic to GLIBC_PROVIDES.
Roland McGrath [Tue, 9 Oct 2012 22:41:30 +0000 (15:41 -0700)]
Add missing magic to GLIBC_PROVIDES.

12 years agoFree errstring if _dl_addr doesn't returns 0
Roland McGrath [Tue, 9 Oct 2012 22:22:16 +0000 (15:22 -0700)]
Free errstring if _dl_addr doesn't returns 0

12 years agoRemove _G_off64_t and _G_stat64 from _G_config.h.
Joseph Myers [Tue, 9 Oct 2012 15:09:32 +0000 (15:09 +0000)]
Remove _G_off64_t and _G_stat64 from _G_config.h.

12 years agoFix BZ #14602: strstr and strcasestr return wrong result.
Maxim Kuvyrkov [Tue, 9 Oct 2012 03:52:53 +0000 (20:52 -0700)]
Fix BZ #14602: strstr and strcasestr return wrong result.

12 years agoImprove libm test coverage of classification macros / functions.
Joseph Myers [Mon, 8 Oct 2012 22:22:23 +0000 (22:22 +0000)]
Improve libm test coverage of classification macros / functions.

12 years agoAdd bugs 14660, 14661 to NEWS
Jonathan Nieder [Mon, 8 Oct 2012 21:17:02 +0000 (14:17 -0700)]
Add bugs 14660, 14661 to NEWS

12 years agonptl_db/Makefile: force C locale when running readelf
Jonathan Nieder [Mon, 8 Oct 2012 21:04:23 +0000 (14:04 -0700)]
nptl_db/Makefile: force C locale when running readelf

db-symbols.awk relies on English-language readelf output to find the
beginning of the symbol table, so force the locale.

Without this change, "make check" fails in non-English locales:

| diff -p -U 0 ../sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist [...]/nptl_db/libthread_db.symlist
| readelf -W -s [...]/nptl/libpthread.so | gawk -f [...]/nptl_db/db-symbols.v.i > [...]/nptl_db/db-symbols.out
| make[2]: *** [[...]/nptl_db/db-symbols.out] Erreur 1

12 years agoMakerules (check-abi-%): force C locale when running objdump
Jonathan Nieder [Mon, 8 Oct 2012 21:04:15 +0000 (14:04 -0700)]
Makerules (check-abi-%): force C locale when running objdump

abilist.awk relies on English-language output to find the "file
format" header line in "objdump --dynamic-syms" output, so force the
locale.

Without this change, "make check" fails in non-English locales:

| diff -p -U 0 ../sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist [...]/locale/libBrokenLocale.symlist
| --- ../sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist   2012-10-02 18:33:50.761863147 -0700
| +++ [...]/locale/libBrokenLocale.symlist    2012-10-03 00:11:22.877234252 -0700
| @@ -0,0 +1 @@
| +Don't grok this line: [...]/locale/libBrokenLocale.so:     format de fichier elf64-x86-64
| make[2]: *** [check-abi-libBrokenLocale] Erreur 1

12 years agoFix missing include in sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
Andreas Schwab [Mon, 8 Oct 2012 09:41:11 +0000 (11:41 +0200)]
Fix missing include in sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c

12 years agoFix Niagara-4 memcpy bug on 32-bit.
David S. Miller [Sun, 7 Oct 2012 01:36:40 +0000 (18:36 -0700)]
Fix Niagara-4 memcpy bug on 32-bit.

* sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
upper 32-bits of the length value in %o2 since we use branch-on-register
tests which consider the entire 64-bit register.

12 years agoAdd a strstr test for page boundary
H.J. Lu [Sat, 6 Oct 2012 23:04:56 +0000 (16:04 -0700)]
Add a strstr test for page boundary

12 years agoCorrect libthreadb register access for 64-bit sparc.
David S. Miller [Sat, 6 Oct 2012 04:22:41 +0000 (21:22 -0700)]
Correct libthreadb register access for 64-bit sparc.

[BZ #14568]
* sysdeps/sparc/tls.h (DB_THREAD_SELF_INCLUDE): Delete.
(DB_THREAD_SELF): Use constants for the register offsets.  Correct
the case of a 64-bit debugger with a 32-bit inferior.

12 years agoAdd Niagara-4 optimized memset/bzero implementation.
David S. Miller [Fri, 5 Oct 2012 21:46:47 +0000 (14:46 -0700)]
Add Niagara-4 optimized memset/bzero implementation.

* sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
* sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
file.
* sysdeps/sparc/sparc64/multiarch/Makefile: Add to
sysdep_routines.
* sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
* sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
and bzero when HWCAP_SPARC_CRYPTO is present.

12 years agoAdd a testase for BZ #14602
H.J. Lu [Fri, 5 Oct 2012 20:30:02 +0000 (13:30 -0700)]
Add a testase for BZ #14602

12 years agoTest strcasestr/strchr/strstr under all implementations
H.J. Lu [Fri, 5 Oct 2012 20:32:07 +0000 (13:32 -0700)]
Test strcasestr/strchr/strstr under all implementations

12 years agoClean up R_ARM_PC24 handling.
Roland McGrath [Fri, 5 Oct 2012 16:39:23 +0000 (09:39 -0700)]
Clean up R_ARM_PC24 handling.

12 years agoMove _dl_important_hwcaps to dl-hwcaps.c
H.J. Lu [Fri, 5 Oct 2012 17:26:29 +0000 (10:26 -0700)]
Move _dl_important_hwcaps to dl-hwcaps.c

12 years agoAdd test cases for BZ #14557
H.J. Lu [Fri, 5 Oct 2012 17:23:58 +0000 (10:23 -0700)]
Add test cases for BZ #14557

12 years agoSet GL(dl_nns) to 1 for vDSO in libc.a
H.J. Lu [Fri, 5 Oct 2012 17:22:14 +0000 (10:22 -0700)]
Set GL(dl_nns) to 1 for vDSO in libc.a

12 years agoSet up the data structures for vDSO in libc.a
H.J. Lu [Fri, 5 Oct 2012 17:20:39 +0000 (10:20 -0700)]
Set up the data structures for vDSO in libc.a

12 years agoImprove libm-test.inc comment.
Joseph Myers [Fri, 5 Oct 2012 17:06:23 +0000 (17:06 +0000)]
Improve libm-test.inc comment.

12 years agoUpdate config.guess and config.sub.
Joseph Myers [Fri, 5 Oct 2012 16:00:07 +0000 (16:00 +0000)]
Update config.guess and config.sub.

12 years agoUnlock mutex before going back to waiting for PI mutexes
Siddhesh Poyarekar [Fri, 5 Oct 2012 13:22:35 +0000 (18:52 +0530)]
Unlock mutex before going back to waiting for PI mutexes

[BZ #14417]
A futex call with FUTEX_WAIT_REQUEUE_PI returns with the mutex locked
on success.  If such a successful thread is pipped to the cond_lock by
another spuriously woken waiter, it could be sent back to wait on the
futex with the mutex lock held, thus causing a deadlock.  So it is
necessary that the thread relinquishes the mutex before going back to
sleep.

12 years agopowerpc: add name_to_handle_at, open_by_handle etc. to bits/fcntl.h
Khem Raj [Sun, 9 Sep 2012 04:29:10 +0000 (21:29 -0700)]
powerpc: add name_to_handle_at, open_by_handle etc. to bits/fcntl.h

Fixes BZ #14251.

12 years agoName space hygeine for madvise.
Roland McGrath [Thu, 4 Oct 2012 23:31:43 +0000 (16:31 -0700)]
Name space hygeine for madvise.

12 years agoClean up conditionalize of ld.so.cache support.
Roland McGrath [Wed, 3 Oct 2012 23:13:14 +0000 (16:13 -0700)]
Clean up conditionalize of ld.so.cache support.

12 years ago2012-10-03 Steve Ellcey <sellcey@mips.com>
Steve Ellcey [Wed, 3 Oct 2012 21:32:26 +0000 (14:32 -0700)]
2012-10-03  Steve Ellcey  <sellcey@mips.com>

* sysdeps/mips/ieee754.h: Move to...
* sysdeps/mips/ieee754/ieee754.h: Here.
* sysdeps/mips/mips32/Implies: Add mips/ieee754.
* sysdeps/mips/mips64/Implies: Ditto.
* sysdeps/mips/mips64/n32/Implies: Ditto.
* sysdeps/mips/mips64/n64/Implies: Ditto.

12 years ago2012-10-03 Steve Ellcey <sellcey@mips.com>
Steve Ellcey [Wed, 3 Oct 2012 21:31:00 +0000 (14:31 -0700)]
2012-10-03  Steve Ellcey  <sellcey@mips.com>

* sysdeps/mips/ieee754.h: Move to...
* sysdeps/mips/ieee754/ieee754.h: Here.
* sysdeps/mips/mips32/Implies: Add mips/ieee754.
* sysdeps/mips/mips64/Implies: Ditto.
* sysdeps/mips/mips64/n32/Implies: Ditto.
* sysdeps/mips/mips64/n64/Implies: Ditto.

12 years agosysconf/posix: handle _SC_LEVEL4_CACHE_LINESIZE
Pino Toscano [Wed, 3 Oct 2012 20:57:38 +0000 (22:57 +0200)]
sysconf/posix: handle _SC_LEVEL4_CACHE_LINESIZE

12 years agoRemove sysdeps/unix/bsd/confstr.h file.
Roland McGrath [Wed, 3 Oct 2012 20:43:58 +0000 (13:43 -0700)]
Remove sysdeps/unix/bsd/confstr.h file.

12 years ago* scripts/check-local-headers.sh: Exclude sys/sdt.h and
Alexandre Oliva [Wed, 3 Oct 2012 02:40:52 +0000 (23:40 -0300)]
* scripts/check-local-headers.sh: Exclude sys/sdt.h and
sys/sdt-config.h.

12 years agoUpdate copyright years
H.J. Lu [Tue, 2 Oct 2012 23:50:47 +0000 (16:50 -0700)]
Update copyright years

12 years agoUse ElfW(Off) rather than off_t for offsets within ELF files.
Roland McGrath [Tue, 2 Oct 2012 22:56:15 +0000 (15:56 -0700)]
Use ElfW(Off) rather than off_t for offsets within ELF files.

12 years agonscd: fix compilation flags
Dmitry V. Levin [Thu, 23 Aug 2012 14:29:43 +0000 (14:29 +0000)]
nscd: fix compilation flags

Commit 61653dfb81b776bb72ce4304175b861d77c357a8 added support for
compilers predefining _FORTIFY_SOURCE by adding -U_FORTIFY_SOURCE to
CPPFLAGS for these compilers, but that change doesn't work quite well in
case of nscd: its Makefile sets _FORTIFY_SOURCE using CFLAGS instead of
CPPFLAGS and, thanks to compilation rules defined in Makerules, CPPFLAGS
are passed to compiler after CFLAGS, resulting to a build with
_FORTIFY_SOURCE turned off.

This change implements a more safe method of passing preprocessor and
compiler flags so that no nscd modules could be accidentally forgotten.

12 years agoClarify memory allocation error diagnostics to avoid confusion
Dmitry V. Levin [Sun, 13 Sep 2009 19:45:27 +0000 (19:45 +0000)]
Clarify memory allocation error diagnostics to avoid confusion

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

12 years agoSplit my last ChangeLog entry into respective arch-specific files
Siddhesh Poyarekar [Tue, 2 Oct 2012 03:55:42 +0000 (09:25 +0530)]
Split my last ChangeLog entry into respective arch-specific files

12 years agoFix clone flag name in comment to CLONE_CHILD_CLEARTID.
Siddhesh Poyarekar [Tue, 2 Oct 2012 03:22:55 +0000 (08:52 +0530)]
Fix clone flag name in comment to CLONE_CHILD_CLEARTID.

12 years agoGet rid of unused __swblk_t type.
Roland McGrath [Mon, 1 Oct 2012 21:39:29 +0000 (14:39 -0700)]
Get rid of unused __swblk_t type.

12 years ago2012-10-01 Patsy Franklin <pfrankli@redhat.com>
Jeff Law [Mon, 1 Oct 2012 21:32:39 +0000 (15:32 -0600)]
2012-10-01  Patsy Franklin <pfrankli@redhat.com>
            Honza Horak <hhorak@redhat.com>

        * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
        (xdr_mapname): Use YPMAXMAP as maxsize.
        (xdr_peername): Use YPMAXPEER as maxsize.
        (xdr_keydat): Use YPAXRECORD as maxsize.
        (xdr_valdat): Use YPMAXRECORD as maxsize.

12 years agoDefine __have_atfcts global in stub openat implementation.
Roland McGrath [Mon, 1 Oct 2012 20:07:58 +0000 (13:07 -0700)]
Define __have_atfcts global in stub openat implementation.

12 years agoClean up init-first.c files.
Roland McGrath [Mon, 1 Oct 2012 19:55:34 +0000 (12:55 -0700)]
Clean up init-first.c files.

12 years agoFix exception table for i386 pthread_cond_wait
Siddhesh Poyarekar [Mon, 1 Oct 2012 17:50:42 +0000 (23:20 +0530)]
Fix exception table for i386 pthread_cond_wait

[BZ #14477]
Add an additional entry in the exception table to jump to
__condvar_w_cleanup2 instead of __condvar_w_cleanup for PI mutexes
when %ebx contains the address of the futex instead of the condition
variable.

12 years agoFix sign of inexact zero return from fma (bug 14645).
Joseph Myers [Mon, 1 Oct 2012 08:30:06 +0000 (08:30 +0000)]
Fix sign of inexact zero return from fma (bug 14645).

12 years agoFix sign of exact zero return from fma (bug 14638).
Joseph Myers [Sat, 29 Sep 2012 18:31:54 +0000 (18:31 +0000)]
Fix sign of exact zero return from fma (bug 14638).

12 years agoUncorrupt Sparc ULPS file.
David S. Miller [Fri, 28 Sep 2012 23:36:35 +0000 (16:36 -0700)]
Uncorrupt Sparc ULPS file.

* sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.

12 years agoImplement POSIX-generic sleep via nanosleep rather than SIGARLM.
Roland McGrath [Fri, 28 Sep 2012 23:22:51 +0000 (16:22 -0700)]
Implement POSIX-generic sleep via nanosleep rather than SIGARLM.

12 years agoFix the ChangeLog entry
H.J. Lu [Fri, 28 Sep 2012 23:14:32 +0000 (16:14 -0700)]
Fix the ChangeLog entry

12 years agoMove _G_config.h with Linuxism to linux/ directory.
Roland McGrath [Fri, 28 Sep 2012 22:45:07 +0000 (15:45 -0700)]
Move _G_config.h with Linuxism to linux/ directory.

12 years agoFix stub open.c to define __libc_open.
Roland McGrath [Fri, 28 Sep 2012 22:04:26 +0000 (15:04 -0700)]
Fix stub open.c to define __libc_open.

12 years agoAdd a missing $(make-target-directory).
Roland McGrath [Fri, 28 Sep 2012 21:48:17 +0000 (14:48 -0700)]
Add a missing $(make-target-directory).

12 years agoQuiet make warning under --disable-shared.
Roland McGrath [Fri, 28 Sep 2012 21:33:40 +0000 (14:33 -0700)]
Quiet make warning under --disable-shared.

12 years agoConditionalize elf/dl-sysdep.c contents on [SHARED].
Roland McGrath [Fri, 28 Sep 2012 21:29:14 +0000 (14:29 -0700)]
Conditionalize elf/dl-sysdep.c contents on [SHARED].

12 years agoClean up *objdir variables.
Roland McGrath [Fri, 28 Sep 2012 20:58:55 +0000 (13:58 -0700)]
Clean up *objdir variables.

12 years agoAvoid more warnings in nsswitch.c
Roland McGrath [Fri, 28 Sep 2012 20:48:14 +0000 (13:48 -0700)]
Avoid more warnings in nsswitch.c

12 years agoRevert "Add missed ildouble case in yesterday's sparc ULPs update for clog/clog10."
David S. Miller [Fri, 28 Sep 2012 20:19:13 +0000 (13:19 -0700)]
Revert "Add missed ildouble case in yesterday's sparc ULPs update for clog/clog10."

This reverts commit 084b8fabd28ab541efbe5ce7ef6008107a4b86ea.

Sorry something put garbage into the string, will debug this.

12 years agoAvoid unused static function warning in nsswitch.c.
Roland McGrath [Fri, 28 Sep 2012 20:21:08 +0000 (13:21 -0700)]
Avoid unused static function warning in nsswitch.c.

12 years agoAdd missed ildouble case in yesterday's sparc ULPs update for clog/clog10.
David S. Miller [Fri, 28 Sep 2012 20:15:51 +0000 (13:15 -0700)]
Add missed ildouble case in yesterday's sparc ULPs update for clog/clog10.

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

12 years agoAdd Niagara-4 optimized memcpy and mempcpy.
David S. Miller [Fri, 28 Sep 2012 20:02:42 +0000 (13:02 -0700)]
Add Niagara-4 optimized memcpy and mempcpy.

* sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
* sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
file.
* sysdeps/sparc/sparc64/multiarch/Makefile: Add to
sysdep_routines.
* sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
* sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
and mempcpy when HWCAP_SPARC_CRYPTO is set.

12 years agotst-mknodat: create a FIFO instead of a socket
Pino Toscano [Fri, 28 Sep 2012 19:33:52 +0000 (21:33 +0200)]
tst-mknodat: create a FIFO instead of a socket

A FIFO is the only special file which is guaranteed to be created with mknod/mknodat.

12 years ago2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
Jeff Law [Fri, 28 Sep 2012 18:48:42 +0000 (12:48 -0600)]
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.