platform/upstream/glibc.git
12 years agoMake printf respect the rounding mode for hex output (bug 5044).
Joseph Myers [Mon, 24 Sep 2012 15:38:21 +0000 (15:38 +0000)]
Make printf respect the rounding mode for hex output (bug 5044).

12 years agoCorrect order of arguments of __arm_assisted_compare_and_exchange_val_32_acq.
Joseph Myers [Fri, 21 Sep 2012 23:42:16 +0000 (23:42 +0000)]
Correct order of arguments of __arm_assisted_compare_and_exchange_val_32_acq.

12 years agoRemove _G_HAVE_SYS_WAIT and _IO_HAVE_SYS_WAIT.
Joseph Myers [Fri, 21 Sep 2012 10:02:03 +0000 (10:02 +0000)]
Remove _G_HAVE_SYS_WAIT and _IO_HAVE_SYS_WAIT.

12 years agoRemove _G_NEED_STDARG_H.
Joseph Myers [Thu, 20 Sep 2012 14:41:02 +0000 (14:41 +0000)]
Remove _G_NEED_STDARG_H.

12 years agohppa: Use __prlimit64 as the internal name.
Carlos O'Donell [Thu, 20 Sep 2012 14:39:27 +0000 (10:39 -0400)]
hppa: Use __prlimit64 as the internal name.

Fix a build failure by using __prlimit64 as the internal
function name for the versioned symbol prlimit64. Without
this patch the build system attempts to alias prlimit64
to itself and that is invalid.

12 years agohppa: Add EHWPOISON and bump errlist-compat to 260
Carlos O'Donell [Thu, 20 Sep 2012 07:18:47 +0000 (03:18 -0400)]
hppa: Add EHWPOISON and bump errlist-compat to 260

Add errno EHWPOISON and bump the errlist-compat table to 260,
providing 2 padding entries for future use before bumping is
again required.

12 years agortld: limit self loading check to normal mode only
Dmitry V. Levin [Wed, 22 Aug 2012 00:43:21 +0000 (00:43 +0000)]
rtld: limit self loading check to normal mode only

Commit glibc-2.14~10 disallowed rtld self loading to avoid a segfault
that used to happen when rtld was loading itself in normal mode.
Unfortunately, that commit disallowed all modes of self loading,
including those that used to work before.  This change limits the check
for self loading to normal mode only, so that instruments like ldd could
handle rtld properly.

12 years agoCast to uint64_t for 64-bit store
H.J. Lu [Wed, 19 Sep 2012 13:12:37 +0000 (06:12 -0700)]
Cast to uint64_t for 64-bit store

12 years agoDon't set TIMEOUTFACTOR in sysdeps/wordsize-64/Makefile.
Joseph Myers [Tue, 18 Sep 2012 15:45:57 +0000 (15:45 +0000)]
Don't set TIMEOUTFACTOR in sysdeps/wordsize-64/Makefile.

12 years agocrypt: bump up md5test-giant timeout from 180s to 480s
Chris Metcalf [Mon, 17 Sep 2012 19:58:51 +0000 (15:58 -0400)]
crypt: bump up md5test-giant timeout from 180s to 480s

12 years agotile: update libm-test-ulps for new tests
Chris Metcalf [Mon, 17 Sep 2012 18:57:49 +0000 (14:57 -0400)]
tile: update libm-test-ulps for new tests

12 years agoRemove _G_HAVE_IO_GETLINE_INFO.
Joseph Myers [Mon, 17 Sep 2012 11:43:06 +0000 (11:43 +0000)]
Remove _G_HAVE_IO_GETLINE_INFO.

12 years agoRemove $(have-cpp-asm-debuginfo) check
H.J. Lu [Sat, 15 Sep 2012 20:08:45 +0000 (13:08 -0700)]
Remove $(have-cpp-asm-debuginfo) check

12 years ago [BZ #14583]
Jeff Law [Fri, 14 Sep 2012 20:31:29 +0000 (14:31 -0600)]
   [BZ #14583]
        * sysdeps/pthread/pthread.h: Fix prototype of __sigsetjmp.

12 years agoMake printf respect the rounding mode for decimal output (bug 5044).
Joseph Myers [Fri, 14 Sep 2012 20:18:49 +0000 (20:18 +0000)]
Make printf respect the rounding mode for decimal output (bug 5044).

12 years agoalpha: Streamline __setfpucw
Richard Henderson [Thu, 13 Sep 2012 19:54:03 +0000 (12:54 -0700)]
alpha: Streamline __setfpucw

The convert_bit macro allows the compiler to translate the bit
positions more efficiently.  The assumption of only running at
program startup allows eliding the __ieee_get_fp_control call.

12 years agoalpha: Update localplt.data
Richard Henderson [Thu, 13 Sep 2012 19:45:26 +0000 (12:45 -0700)]
alpha: Update localplt.data

12 years agoalpha: Update ulps
Richard Henderson [Thu, 13 Sep 2012 19:43:42 +0000 (12:43 -0700)]
alpha: Update ulps

12 years agoRemove unused __rtld_lock_init_recursive macro
H.J. Lu [Thu, 13 Sep 2012 16:58:58 +0000 (09:58 -0700)]
Remove unused __rtld_lock_init_recursive macro

12 years agoRemove _G_HAVE_PRINTF_FP.
Joseph Myers [Thu, 13 Sep 2012 16:13:09 +0000 (16:13 +0000)]
Remove _G_HAVE_PRINTF_FP.

12 years agoalpha: Add get-rounding-mode.h
Richard Henderson [Thu, 13 Sep 2012 14:35:26 +0000 (07:35 -0700)]
alpha: Add get-rounding-mode.h

12 years agoalpha: Work around gcc 4.8 aliasing difference/bug
Richard Henderson [Thu, 30 Aug 2012 19:02:50 +0000 (12:02 -0700)]
alpha: Work around gcc 4.8 aliasing difference/bug

12 years agoMake strtod respect the rounding mode (bug 14518).
Joseph Myers [Wed, 12 Sep 2012 23:36:19 +0000 (23:36 +0000)]
Make strtod respect the rounding mode (bug 14518).

12 years agoUpdate i386 ULPs for recently added math tests
Allan McRae [Wed, 12 Sep 2012 03:58:53 +0000 (13:58 +1000)]
Update i386 ULPs for recently added math tests

12 years agoRemove unused typedefs and macros from _G_config.h.
Joseph Myers [Tue, 11 Sep 2012 20:32:13 +0000 (20:32 +0000)]
Remove unused typedefs and macros from _G_config.h.

12 years agoUpdate copyright years in csu/libc-tls.c
H.J. Lu [Tue, 11 Sep 2012 13:27:51 +0000 (06:27 -0700)]
Update copyright years in csu/libc-tls.c

12 years agoRemove _G_USING_THUNKS.
Joseph Myers [Mon, 10 Sep 2012 22:05:49 +0000 (22:05 +0000)]
Remove _G_USING_THUNKS.

12 years agoRemove libio C++ vtable definitions.
Joseph Myers [Mon, 10 Sep 2012 21:22:42 +0000 (21:22 +0000)]
Remove libio C++ vtable definitions.

12 years agoUpdate ChangeLog
H.J. Lu [Mon, 10 Sep 2012 19:18:01 +0000 (12:18 -0700)]
Update ChangeLog

12 years agoRun tst-fopenloc if $(build-shared) is yes
H.J. Lu [Mon, 10 Sep 2012 18:13:54 +0000 (11:13 -0700)]
Run tst-fopenloc if $(build-shared) is yes

12 years agoUpdate copyright years
H.J. Lu [Mon, 10 Sep 2012 12:20:22 +0000 (05:20 -0700)]
Update copyright years

12 years agoFix a typo in ChangeLog
H.J. Lu [Mon, 10 Sep 2012 12:18:44 +0000 (05:18 -0700)]
Fix a typo in ChangeLog

12 years agoFix x86 SSE cosf, sinf issues
Liubov Dmitrieva [Mon, 10 Sep 2012 09:44:49 +0000 (11:44 +0200)]
Fix x86 SSE cosf, sinf issues

* sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
unwind info if defined PIC. Fix special cases description.
* sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.

* sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
DP_HI_MASK entry.
* sysdeps/x86_64/fpu/s_cosf.S: Likewise.

12 years agoAdd "shopt -s nullglob" to check-local-headers.sh
H.J. Lu [Fri, 7 Sep 2012 21:41:14 +0000 (14:41 -0700)]
Add "shopt -s nullglob" to check-local-headers.sh

12 years agoCheck if deriv->steps is NULL before freeing it
H.J. Lu [Fri, 7 Sep 2012 21:14:08 +0000 (14:14 -0700)]
Check if deriv->steps is NULL before freeing it

12 years agoRename LDFLAGS-XXX to LDLIBS-XXX for -lstdc++
H.J. Lu [Fri, 7 Sep 2012 21:12:12 +0000 (14:12 -0700)]
Rename LDFLAGS-XXX to LDLIBS-XXX for -lstdc++

12 years agoRename LDFLAGS-XXX to LDLIBS-XXX for -lstdc++
H.J. Lu [Fri, 7 Sep 2012 21:11:47 +0000 (14:11 -0700)]
Rename LDFLAGS-XXX to LDLIBS-XXX for -lstdc++

12 years agoRemove gnu/stubs.h dependency on soversions.mk
H.J. Lu [Fri, 7 Sep 2012 21:09:34 +0000 (14:09 -0700)]
Remove gnu/stubs.h dependency on soversions.mk

12 years agoUse www.gnu.org as example hostname in manual/examples/inetcli.c.
Joseph Myers [Fri, 7 Sep 2012 14:39:11 +0000 (14:39 +0000)]
Use gnu.org as example hostname in manual/examples/inetcli.c.

12 years agoCleanup code duplication in malloc on fallback to use another arena
Siddhesh Poyarekar [Fri, 7 Sep 2012 09:09:52 +0000 (14:39 +0530)]
Cleanup code duplication in malloc on fallback to use another arena

Break the fallback code to try another arena into a separate function
for readability.

12 years agoFix description of carg branch cut (bug 13542)
John Tobey [Fri, 7 Sep 2012 02:52:20 +0000 (12:52 +1000)]
Fix description of carg branch cut (bug 13542)

12 years agoUse www.gnu.org as example hostname in manual (bug 10014).
Joseph Myers [Fri, 7 Sep 2012 00:25:42 +0000 (00:25 +0000)]
Use gnu.org as example hostname in manual (bug 10014).

12 years agoFix pointers between nodes in manual (bug 10038).
Joseph Myers [Fri, 7 Sep 2012 00:06:07 +0000 (00:06 +0000)]
Fix pointers between nodes in manual (bug 10038).

12 years agoRestore GL(dl_initial_dtv)
H.J. Lu [Thu, 6 Sep 2012 23:29:10 +0000 (16:29 -0700)]
Restore GL(dl_initial_dtv)

12 years agoRemove _dl_initial_dtv
H.J. Lu [Thu, 6 Sep 2012 23:03:32 +0000 (16:03 -0700)]
Remove _dl_initial_dtv

* csu/libc-tls.c (static_dtv): Renamed to ...
(_dl_static_dtv): This.  Make it global.
(_dl_initial_dtv): Removed.
(__libc_setup_tls): Updated.
* elf/dl-tls.c (DL_INITIAL_DTV): New macro.
(_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
DL_INITIAL_DTV.

12 years agoSynchronize with linux/elf.h.
Petr Machata [Thu, 6 Sep 2012 19:41:14 +0000 (12:41 -0700)]
Synchronize with linux/elf.h.

Add new ARM and s390 note constants e.g. NT_*.

12 years agoMention BZ #14545 in NEWS
H.J. Lu [Thu, 6 Sep 2012 19:20:16 +0000 (12:20 -0700)]
Mention BZ #14545 in NEWS

12 years agoAlways check dtv before freeing dtv[-1]
H.J. Lu [Wed, 5 Sep 2012 19:24:37 +0000 (12:24 -0700)]
Always check dtv before freeing dtv[-1]

12 years agoAdd tst-cancel21-static.c
H.J. Lu [Thu, 6 Sep 2012 12:44:57 +0000 (05:44 -0700)]
Add tst-cancel21-static.c

12 years agoUse crtbeginT.o to statically link programs
H.J. Lu [Wed, 5 Sep 2012 02:53:24 +0000 (19:53 -0700)]
Use crtbeginT.o to statically link programs

12 years agotile: fix type of prfpregset_t in <sys/procfs.h>
Chris Metcalf [Thu, 6 Sep 2012 15:43:56 +0000 (11:43 -0400)]
tile: fix type of prfpregset_t in <sys/procfs.h>

The previous dummy definition (as type int) was fine in general, since
tile doesn't have floating-point registers, but it confused gdb's
configure, leading to later compile errors.  This change also makes
prfpregset_t parallel to prgregset_t, which seems like generally the
right thing regardless of the non-existence of the actual registers :-)

12 years agotile: Add BZ to Changelog and update NEWS
Chris Metcalf [Thu, 6 Sep 2012 15:32:55 +0000 (11:32 -0400)]
tile: Add BZ to Changelog and update NEWS

12 years agoFix strtod test for values above maximum for IBM long double.
Joseph Myers [Thu, 6 Sep 2012 15:33:06 +0000 (15:33 +0000)]
Fix strtod test for values above maximum for IBM long double.

12 years agotile: BZ#14237: fix __tls_get_addr bug initializing new modules
Chris Metcalf [Thu, 6 Sep 2012 15:25:04 +0000 (11:25 -0400)]
tile: BZ#14237: fix __tls_get_addr bug initializing new modules

We were missing a check for TLS_DTV_UNALLOCATED; if set, we need
to go to the slow path.

12 years agoS/390: Fix optimized mem* running on 31 bit kernels.
Andreas Krebbel [Thu, 6 Sep 2012 08:28:52 +0000 (10:28 +0200)]
S/390: Fix optimized mem* running on 31 bit kernels.

12 years agoFix botched NEWS
Jeff Law [Thu, 6 Sep 2012 04:45:10 +0000 (22:45 -0600)]
Fix botched NEWS

12 years ago [BZ#14510]
Jeff Law [Thu, 6 Sep 2012 04:14:32 +0000 (22:14 -0600)]
   [BZ#14510]
        * locales/es_DO: Fix LC_NUMERIC decimal_point and thousands_sep.
        * locales/es_GT: Likewise.
        * locales/es_HN: Likewise.
        * locales/es_MX: Likewise.
        * locales/es_NI: Likewise.
        * locales/es_PA: Likewise.
        * locales/es_PR: Likewise.
        * locales/es_SV: Likewise.

12 years agoRecognize new sparc hwcap bits.
David S. Miller [Thu, 6 Sep 2012 00:59:16 +0000 (17:59 -0700)]
Recognize new sparc hwcap bits.

* sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
* sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
* sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
entries.

12 years agoUpdate sparc ULPs for recently added math tests.
David S. Miller [Thu, 6 Sep 2012 00:54:52 +0000 (17:54 -0700)]
Update sparc ULPs for recently added math tests.

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

12 years ago* malloc/arena.c: Fold copyright years.
Alexandre Oliva [Wed, 5 Sep 2012 23:47:16 +0000 (20:47 -0300)]
* malloc/arena.c: Fold copyright years.
* malloc/mcheck.c, malloc/memusage.c: Likewise.

12 years ago* malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
Alexandre Oliva [Wed, 5 Sep 2012 23:37:37 +0000 (20:37 -0300)]
* malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.

12 years ago* manual/contrib.texi (Contributors): Fix typo. Complete entry.
Alexandre Oliva [Wed, 5 Sep 2012 19:20:45 +0000 (16:20 -0300)]
* manual/contrib.texi (Contributors): Fix typo.  Complete entry.

12 years agoDon't change no_dyn_threshold on mallopt failure
Alexandre Oliva [Wed, 5 Sep 2012 18:43:04 +0000 (15:43 -0300)]
Don't change no_dyn_threshold on mallopt failure

* malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
change internal state upon failure.

12 years agoFix typos in malloc/.
Alexandre Oliva [Wed, 5 Sep 2012 18:19:44 +0000 (15:19 -0300)]
Fix typos in malloc/.

* malloc/mcheck.c (mcheck_check_all): Fix typo.
* malloc/memusage.c (mmap): Likewise.
(mmap64, mremap): Likewise.  Adjust name in comment.

12 years agoFix typos in comments
Siddhesh Poyarekar [Wed, 5 Sep 2012 16:34:10 +0000 (22:04 +0530)]
Fix typos in comments

        * libio/fileops.c: Fix typos in comments.
        * libio/oldfileops.c: Likewise.
        * libio/wfileops.c: Likewise.

12 years agoFixed minor typo in ChangeLog
Siddhesh Poyarekar [Wed, 5 Sep 2012 16:24:24 +0000 (21:54 +0530)]
Fixed minor typo in ChangeLog

12 years agoReturn requested size for malloc_usable_size when MALLOC_CHECK_ > 0
Siddhesh Poyarekar [Wed, 5 Sep 2012 16:19:00 +0000 (21:49 +0530)]
Return requested size for malloc_usable_size when MALLOC_CHECK_ > 0

[BZ #1349]

malloc_usable_size returns the usable size in an allocated chunk,
which may be >= the requested size. In the case of MALLOC_CHECK_ being
exported to > 0 however, only the requested size is usable, since a
magic value is written at the end of the request size to trap writes
beyond request bounds. Hence, when MALLOC_CHECK_ is exported to > 0,
malloc_usable_size() should return the request size.

12 years agoIncrease timeout for stdlib/tst-strtod-overflow
Andreas Schwab [Wed, 5 Sep 2012 15:35:14 +0000 (17:35 +0200)]
Increase timeout for stdlib/tst-strtod-overflow

12 years agoImprove C++ header location detection (bug 13966)
Allan McRae [Wed, 5 Sep 2012 14:16:24 +0000 (00:16 +1000)]
Improve C++ header location detection (bug 13966)

12 years agoUse LDBL_MIN_EXP to distinguish Intel and Motorola extended float format
Andreas Schwab [Wed, 5 Sep 2012 11:45:10 +0000 (13:45 +0200)]
Use LDBL_MIN_EXP to distinguish Intel and Motorola extended float format

12 years agoCorrectly handle Motorola extended float format in tst-strtod-round
Andreas Schwab [Wed, 5 Sep 2012 10:37:16 +0000 (12:37 +0200)]
Correctly handle Motorola extended float format in tst-strtod-round

12 years agoUse sparcv8 GMP routines when building 32-bit sparcv9.
David S. Miller [Wed, 5 Sep 2012 02:20:03 +0000 (19:20 -0700)]
Use sparcv8 GMP routines when building 32-bit sparcv9.

* sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
* sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
* sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.

12 years agostdlib/tst-secure-getenv.c: whitespace-only changes in comments
Florian Weimer [Tue, 4 Sep 2012 13:01:18 +0000 (15:01 +0200)]
stdlib/tst-secure-getenv.c: whitespace-only changes in comments

12 years agostdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID failures
Florian Weimer [Tue, 4 Sep 2012 07:25:18 +0000 (09:25 +0200)]
stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID failures

12 years agoFix iogetdelim.c (latent) integer overflow (bug 9914).
Joseph Myers [Tue, 4 Sep 2012 11:24:43 +0000 (11:24 +0000)]
Fix iogetdelim.c (latent) integer overflow (bug 9914).

12 years agoUpdate libm-test-ulps
Andreas Jaeger [Mon, 3 Sep 2012 13:43:56 +0000 (15:43 +0200)]
Update libm-test-ulps

12 years agoAdd optimized sinf and cosf routines for x86 and x86-64
Liubov Dmitrieva [Mon, 3 Sep 2012 13:32:13 +0000 (15:32 +0200)]
Add optimized sinf and cosf routines for x86 and x86-64

* sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
Add s_sinf-sse2, s_conf-sse2.

* sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
* sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
* sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
* sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.

* sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
for using routine as __sinf_ia32.
Use macro for function declaration and weak_alias.
* sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
for using routine as __cosf_ia32.
Use macro for function declaration and weak_alias.

* sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
* sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.

* sysdeps/x86_64/fpu/s_sinf.S: New file.
* sysdeps/x86_64/fpu/s_cosf.S: New file.
* sysdeps/x86_64/fpu/libm-test-ulps: Update.

* math/libm-test.inc (cos_test): Add more test cases.
(sin_test): Likewise.
(sincos_test): Likewise.

12 years agoS/390: Make IFUNC optimized mem* functions hidden.
Andreas Krebbel [Mon, 3 Sep 2012 12:06:27 +0000 (14:06 +0200)]
S/390: Make IFUNC optimized mem* functions hidden.

12 years agoUse the first element of GOT for ld.so addresses
H.J. Lu [Sun, 2 Sep 2012 12:22:24 +0000 (05:22 -0700)]
Use the first element of GOT for ld.so addresses

[BZ #14538]
* sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
first element of the GOT.
(elf_machine_load_address): Return the difference between
the runtime address of _DYNAMIC and elf_machine_dynamic ().

12 years agoCheck for gawk >= 3.0 (bug 13412)
Allan McRae [Sat, 1 Sep 2012 23:30:18 +0000 (09:30 +1000)]
Check for gawk >= 3.0 (bug 13412)

12 years agoRemove __ASSUME_POSIX_CPU_TIMERS.
Joseph Myers [Sat, 1 Sep 2012 21:32:04 +0000 (21:32 +0000)]
Remove __ASSUME_POSIX_CPU_TIMERS.

12 years agoFix sem_post race (bug 14532).
Joseph Myers [Fri, 31 Aug 2012 19:49:31 +0000 (19:49 +0000)]
Fix sem_post race (bug 14532).

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

12 years agoDon't make ttyname* fail if proc filesystem is not available
Siddhesh Poyarekar [Wed, 29 Aug 2012 04:33:39 +0000 (10:03 +0530)]
Don't make ttyname* fail if proc filesystem is not available

The ttyname and ttyname_r functions on Linux now fall back to
searching for the tty file descriptor in /dev/pts or /dev if /proc is
not available.  This allows creation of chroots without the procfs
mounted on /proc.

Fixes BZ #14516.

12 years agoRemove __ASSUME_STAT64_SYSCALL.
Joseph Myers [Mon, 27 Aug 2012 19:36:04 +0000 (19:36 +0000)]
Remove __ASSUME_STAT64_SYSCALL.

12 years agoupdate NEWS
Mike Frysinger [Mon, 27 Aug 2012 17:30:45 +0000 (13:30 -0400)]
update NEWS

12 years agomips: clear condition bit 23 in fpu too
Guido Guenther [Mon, 27 Aug 2012 16:20:25 +0000 (12:20 -0400)]
mips: clear condition bit 23 in fpu too

We've been carrying this in Gentoo for quite a long time to fix some test
failures that people hit.

Original message:
> make[4]: *** [/glibc/glibc-package-2.3/mips-linux/obj/math/test-fpucw.out] Error 1
This test fails since the read back fpu control word is 0x80000 instead
of 0x0. I wonder if this patch is correct:
...
which additionally masks out the condition bit 23 - note that the other
condition bits (25-31) are masked out too?

URL: http://sourceware.org/ml/libc-alpha/2002-10/msg00392.html
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
12 years agoalpha: add conditional fdatasync support
Mike Frysinger [Fri, 17 Aug 2012 17:01:28 +0000 (13:01 -0400)]
alpha: add conditional fdatasync support

While most arches have had the fdatasync syscall for a long time, the
alpha port didn't add it until the 2.6.22 release.

This is heavily based on Aurelien Jarno's initial work.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
12 years agoFix sign of zero on strtod underflow (bug 14519).
Joseph Myers [Mon, 27 Aug 2012 16:04:19 +0000 (16:04 +0000)]
Fix sign of zero on strtod underflow (bug 14519).

12 years agoFix strtod rounding (bug 3479).
Joseph Myers [Mon, 27 Aug 2012 16:01:27 +0000 (16:01 +0000)]
Fix strtod rounding (bug 3479).

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).

12 years agoFix some typos in comments.
Marek Polacek [Sat, 25 Aug 2012 16:32:23 +0000 (18:32 +0200)]
Fix some typos in comments.

12 years agoFix tst-rfc3484* build failures from USE_NSCD move to config.h.
Roland McGrath [Thu, 23 Aug 2012 23:55:40 +0000 (16:55 -0700)]
Fix tst-rfc3484* build failures from USE_NSCD move to config.h.

12 years agoCheck floating-point ABI in ARM VALID_ELF_HEADER.
Steve McIntyre [Thu, 23 Aug 2012 20:38:25 +0000 (20:38 +0000)]
Check floating-point ABI in ARM VALID_ELF_HEADER.

12 years agoMake dl-fxstatat64.c include of fxstatat64.c use <> not "".
Joseph Myers [Thu, 23 Aug 2012 11:34:37 +0000 (11:34 +0000)]
Make dl-fxstatat64.c include of fxstatat64.c use <> not "".

12 years agoFix shadow, gshadow, networks, protocols, rpc, aliases, and nscd routines for USE_NSC...
Roland McGrath [Wed, 22 Aug 2012 23:06:53 +0000 (16:06 -0700)]
Fix shadow, gshadow, networks, protocols, rpc, aliases, and nscd routines for USE_NSCD case.

12 years agoClean up MIPS stat64 handling.
Joseph Myers [Wed, 22 Aug 2012 21:03:12 +0000 (21:03 +0000)]
Clean up MIPS stat64 handling.

12 years agoAdd --disable-build-nscd configure option.
Roland McGrath [Wed, 22 Aug 2012 20:35:55 +0000 (13:35 -0700)]
Add --disable-build-nscd configure option.

12 years agoBZ#13696: Add --disable-nscd configure option.
Roland McGrath [Wed, 22 Aug 2012 20:31:12 +0000 (13:31 -0700)]
BZ#13696: Add --disable-nscd configure option.

12 years agoFix sed configure check for newer sed --version output.
Dmitry V. Levin [Wed, 22 Aug 2012 19:58:18 +0000 (12:58 -0700)]
Fix sed configure check for newer sed --version output.