platform/upstream/linaro-glibc.git
11 years agoAdd long-double sparc ULPs updates missing in previous commit.
David S. Miller [Mon, 4 Feb 2013 20:06:42 +0000 (12:06 -0800)]
Add long-double sparc ULPs updates missing in previous commit.

11 years agoUpdate sparc ULPs after Joseph's casin fixes.
David S. Miller [Mon, 4 Feb 2013 18:31:18 +0000 (10:31 -0800)]
Update sparc ULPs after Joseph's casin fixes.

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

11 years agoRemove CHECK_STRING, CHECK_STRING_NULL_OK and __ubp_memchr.
Joseph Myers [Mon, 4 Feb 2013 16:29:39 +0000 (16:29 +0000)]
Remove CHECK_STRING, CHECK_STRING_NULL_OK and __ubp_memchr.

11 years agoDon't use GLIBC_PRIVATE errno outside of libraries
Andreas Schwab [Mon, 28 Jan 2013 16:51:03 +0000 (17:51 +0100)]
Don't use GLIBC_PRIVATE errno outside of libraries

11 years agoImprove link_map.l_addr comment.
Jan Kratochvil [Sat, 2 Feb 2013 09:29:17 +0000 (10:29 +0100)]
Improve link_map.l_addr comment.

11 years agoRemove unmaintained and unused localedata/CHECKSUMS
Andreas Jaeger [Fri, 1 Feb 2013 07:11:05 +0000 (08:11 +0100)]
Remove unmaintained and unused localedata/CHECKSUMS

11 years agoRemove BOUNDED_N and BOUNDED_1.
Joseph Myers [Fri, 1 Feb 2013 06:35:29 +0000 (06:35 +0000)]
Remove BOUNDED_N and BOUNDED_1.

11 years agoRemove bp-start.h and INIT_ARGV_and_ENVIRON.
Joseph Myers [Fri, 1 Feb 2013 00:06:18 +0000 (00:06 +0000)]
Remove bp-start.h and INIT_ARGV_and_ENVIRON.

11 years agoRemove CHECK_IOCTL, CHECK_FCNTL and CHECK_N_PAGES.
Joseph Myers [Thu, 31 Jan 2013 23:01:01 +0000 (23:01 +0000)]
Remove CHECK_IOCTL, CHECK_FCNTL and CHECK_N_PAGES.

11 years agoRemove CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
Joseph Myers [Thu, 31 Jan 2013 23:00:15 +0000 (23:00 +0000)]
Remove CHECK_SIGSET and CHECK_SIGSET_NULL_OK.

11 years agoRemove bp-semctl.h and CHECK_SEMCTL.
Joseph Myers [Thu, 31 Jan 2013 22:59:04 +0000 (22:59 +0000)]
Remove bp-semctl.h and CHECK_SEMCTL.

11 years agoRemove bp-thunks code.
Joseph Myers [Thu, 31 Jan 2013 22:57:06 +0000 (22:57 +0000)]
Remove bp-thunks code.

11 years agoFix casinh spurious underflows away from [-i,i] (bug 15062).
Joseph Myers [Thu, 31 Jan 2013 22:55:29 +0000 (22:55 +0000)]
Fix casinh spurious underflows away from [-i,i] (bug 15062).

11 years agoUpdate German translations.
David S. Miller [Thu, 31 Jan 2013 20:13:24 +0000 (15:13 -0500)]
Update German translations.

* po/de.po: Update from translation team.

11 years agoMIPS: Correct NewABI syscall wrapper whitespace damage.
Maciej W. Rozycki [Tue, 29 Jan 2013 13:30:16 +0000 (13:30 +0000)]
MIPS: Correct NewABI syscall wrapper whitespace damage.

11 years ago * time/tzfile.c: Include stdint.h for SIZE_MAX.
Maxim Kuvyrkov [Sat, 26 Jan 2013 01:56:21 +0000 (14:56 +1300)]
* time/tzfile.c: Include stdint.h for SIZE_MAX.

11 years ago2013-01-25 Steve Ellcey <sellcey@mips.com>
Steve Ellcey [Sat, 26 Jan 2013 00:11:40 +0000 (16:11 -0800)]
2013-01-25  Steve Ellcey  <sellcey@mips.com>

* sysdeps/mips/memmove.c: Remove.

11 years agoDon't bother checking for $CC option to accept ISO C89.
Thomas Schwinge [Fri, 25 Jan 2013 11:44:45 +0000 (12:44 +0100)]
Don't bother checking for $CC option to accept ISO C89.

11 years agoconfigure: Default to CPP="$CC -E" unless overridden.
Thomas Schwinge [Fri, 25 Jan 2013 11:33:19 +0000 (12:33 +0100)]
configure: Default to CPP="$CC -E" unless overridden.

11 years agoAArch64: Adding optimized strncmp implementation.
Marcus Shawcroft [Wed, 23 Jan 2013 16:33:14 +0000 (16:33 +0000)]
AArch64: Adding optimized strncmp implementation.

11 years agoAArch64: Adding optimized strnlen implementation.
Marcus Shawcroft [Wed, 23 Jan 2013 16:32:33 +0000 (16:32 +0000)]
AArch64: Adding optimized strnlen implementation.

11 years agoAvoid backtrace tests matching filenames when searching for function names.
Joseph Myers [Thu, 24 Jan 2013 00:23:13 +0000 (00:23 +0000)]
Avoid backtrace tests matching filenames when searching for function names.

11 years agoWhitespace fix for __glibc_likely/__glibc_unlikely defns.
Roland McGrath [Wed, 23 Jan 2013 23:00:39 +0000 (15:00 -0800)]
Whitespace fix for __glibc_likely/__glibc_unlikely defns.

11 years agoAdd a minor 'cas' atomic optimization on sparc.
David S. Miller [Wed, 23 Jan 2013 19:27:24 +0000 (11:27 -0800)]
Add a minor 'cas' atomic optimization on sparc.

* sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
(__arch_compare_and_exchange_val_32_acq): Use %g0 as second
argument of CAS if possible.
* sysdeps/sparc/sparc64/bits/atomic.h
(__arch_compare_and_exchange_val_32_acq): Likewise.
(__arch_compare_and_exchange_val_64_acq): Likewise.

11 years agoulimit: remove buggy bsd implementation
Pino Toscano [Wed, 23 Jan 2013 16:29:35 +0000 (17:29 +0100)]
ulimit: remove buggy bsd implementation

The bsd implementation of ulimit produces wrong return values, so remove it
in favour of the posix implementation.

The only regression for non-Linux implementations using bsd sysdeps and not
providing an own ulimit is that the __UL_GETMAXBRK case (which is non-standard)
is left unimplemented (giving EINVAL).

11 years agoulimit: include <limits.h>
Pino Toscano [Wed, 23 Jan 2013 16:27:45 +0000 (17:27 +0100)]
ulimit: include <limits.h>

11 years agoulimit: move linux implementation as posix
Pino Toscano [Wed, 23 Jan 2013 16:25:53 +0000 (17:25 +0100)]
ulimit: move linux implementation as posix

The linux implementation of ulimit works correctly and has nothing specific
to Linux, so move it as general posix implementation.

11 years agoS/390: Fix setjmp/longjmp FPR save/restore
Andreas Krebbel [Wed, 23 Jan 2013 09:00:24 +0000 (10:00 +0100)]
S/390: Fix setjmp/longjmp FPR save/restore

11 years agoBuild elf/tst-array2 and elf/tst-array5 with --no-as-needed
Adam Conrad [Wed, 23 Jan 2013 06:05:33 +0000 (23:05 -0700)]
Build elf/tst-array2 and elf/tst-array5 with --no-as-needed

* elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
(LDFLAGS-tst-array5): Likewise.

11 years agoMake bits/wchar.h correct for all architectures (bug 15036).
Joseph Myers [Wed, 23 Jan 2013 00:42:51 +0000 (00:42 +0000)]
Make bits/wchar.h correct for all architectures (bug 15036).

11 years agoUse libgcc unwinder for sparc backtraces, if available.
David S. Miller [Mon, 21 Jan 2013 22:13:04 +0000 (14:13 -0800)]
Use libgcc unwinder for sparc backtraces, if available.

* sysdeps/sparc/backtrace.c: New file.
* sysdeps/sparc/sparc32/backtrace.h: New file.
* sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
* sysdeps/sparc/sparc64/backtrace.h: New file.
* sysdeps/sparc/sparc64/backtrace.c: Delete.
* sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
-funwind-tables.

11 years agoAvoid busy loop in wordexp when substituted command closed its stdout
Andreas Schwab [Sat, 19 Jan 2013 16:18:47 +0000 (17:18 +0100)]
Avoid busy loop in wordexp when substituted command closed its stdout

11 years agom68k: update libm test ULPs
Andreas Schwab [Sun, 20 Jan 2013 19:58:19 +0000 (20:58 +0100)]
m68k: update libm test ULPs

11 years agom68k: add unwind tables to backtrace
Andreas Schwab [Sun, 20 Jan 2013 00:31:07 +0000 (01:31 +0100)]
m68k: add unwind tables to backtrace

11 years agoRemove use of mpa2.h
Andreas Schwab [Sun, 20 Jan 2013 01:03:42 +0000 (02:03 +0100)]
Remove use of mpa2.h

11 years agoAdd backtrace for m68k
Andreas Schwab [Sat, 19 Jan 2013 21:17:45 +0000 (22:17 +0100)]
Add backtrace for m68k

11 years agoAdd not-cancel.h for m68k/nptl
Andreas Schwab [Sat, 19 Jan 2013 17:58:24 +0000 (18:58 +0100)]
Add not-cancel.h for m68k/nptl

11 years agoAdd tests that backtrace and backtrace_symbols produce correct results.
Joseph Myers [Fri, 18 Jan 2013 15:49:43 +0000 (15:49 +0000)]
Add tests that backtrace and backtrace_symbols produce correct results.

11 years agoCorrected ChangeLog date of __kernel_get_tbfreq fix.
Ryan S. Arnold [Fri, 18 Jan 2013 13:52:18 +0000 (07:52 -0600)]
Corrected ChangeLog date of __kernel_get_tbfreq fix.

11 years agoPowerPC: Rename __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
Anton Blanchard [Tue, 15 Jan 2013 18:50:46 +0000 (12:50 -0600)]
PowerPC: Rename __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.

In order for the __kernel_get_tbfreq vDSO call to work the
INTERNAL_VSYSCALL_NCS macro needed to be updated to prevent it from
assuming an integer return type (since the timebase frequency is a 64-bit
value) by specifying the type of the return type as a macro parameter.  The
macro then specifically declares the return value as a 'register' (or
implied pair) of the denoted type.  The compiler is then informed that this
register (or implied pair) is to be used for the return value.

11 years agoUpdate NEWS
Siddhesh Poyarekar [Fri, 18 Jan 2013 09:11:14 +0000 (14:41 +0530)]
Update NEWS

11 years agoFix application of the exception mask
Siddhesh Poyarekar [Fri, 18 Jan 2013 08:46:25 +0000 (14:16 +0530)]
Fix application of the exception mask

Fixes BZ #14496.

11 years agoSimplify calculation of 2^-m in __mpexp
Siddhesh Poyarekar [Fri, 18 Jan 2013 05:48:13 +0000 (11:18 +0530)]
Simplify calculation of 2^-m in __mpexp

11 years agoRemove unnecessary multiplication with RADIXI
Siddhesh Poyarekar [Fri, 18 Jan 2013 05:44:34 +0000 (11:14 +0530)]
Remove unnecessary multiplication with RADIXI

11 years agoUpdate sparc ULPs.
David S. Miller [Fri, 18 Jan 2013 04:45:04 +0000 (20:45 -0800)]
Update sparc ULPs.

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

11 years agoFix cacos real-part inaccuracy for result real part near 0 (bug 15023).
Joseph Myers [Thu, 17 Jan 2013 20:25:51 +0000 (20:25 +0000)]
Fix cacos real-part inaccuracy for result real part near 0 (bug 15023).

11 years agoAdd HAVE_MREMAP for mremap usage
Pino Toscano [Thu, 17 Jan 2013 20:08:12 +0000 (21:08 +0100)]
Add HAVE_MREMAP for mremap usage

Introduce (only on Linux) and use a HAVE_MREMAP symbol to advertize mremap
availability.

Move the malloc-sysdep.h include from arena.c to malloc.c, since what is
provided by malloc-sysdep.h is needed earlier in malloc.c, before the inclusion
of arena.c.

11 years agoAArch64: Implement optimized strlen.
Marcus Shawcroft [Wed, 16 Jan 2013 13:57:42 +0000 (13:57 +0000)]
AArch64: Implement optimized strlen.

11 years agoAArch64: Implement optimized strcmp
Marcus Shawcroft [Wed, 16 Jan 2013 13:29:29 +0000 (13:29 +0000)]
AArch64: Implement optimized strcmp

11 years agoAArch64: Implement optimized bzero.
Marcus Shawcroft [Wed, 16 Jan 2013 13:29:05 +0000 (13:29 +0000)]
AArch64: Implement optimized bzero.

11 years agoAArch64: Implement optimized memmove.
Marcus Shawcroft [Wed, 16 Jan 2013 13:28:39 +0000 (13:28 +0000)]
AArch64: Implement optimized memmove.

11 years agoAArch64: Implement optimized memcpy.
Marcus Shawcroft [Wed, 16 Jan 2013 13:28:03 +0000 (13:28 +0000)]
AArch64: Implement optimized memcpy.

11 years agoAArch64: Implement optimized memset.
Marcus Shawcroft [Wed, 16 Jan 2013 13:03:43 +0000 (13:03 +0000)]
AArch64: Implement optimized memset.

11 years agoAArch64: Implement optimized memcmp.
Marcus Shawcroft [Wed, 16 Jan 2013 12:58:40 +0000 (12:58 +0000)]
AArch64: Implement optimized memcmp.

11 years agoAArch64: Tidyup whitespace.
Marcus Shawcroft [Wed, 16 Jan 2013 12:53:34 +0000 (12:53 +0000)]
AArch64: Tidyup whitespace.

11 years agoFix ChangeLog
Siddhesh Poyarekar [Thu, 17 Jan 2013 09:37:53 +0000 (15:07 +0530)]
Fix ChangeLog

11 years agoFix header comment
Siddhesh Poyarekar [Thu, 17 Jan 2013 09:35:22 +0000 (15:05 +0530)]
Fix header comment

11 years agoImplement x86 SIZE32/SIZE64 relocations
H.J. Lu [Thu, 17 Jan 2013 04:31:03 +0000 (20:31 -0800)]
Implement x86 SIZE32/SIZE64 relocations

11 years agoAdapt installed powerpc headers better for soft-float / no-FPRs.
Joseph Myers [Thu, 17 Jan 2013 02:08:51 +0000 (02:08 +0000)]
Adapt installed powerpc headers better for soft-float / no-FPRs.

11 years agoHide reference to mktemp in libpthread
Andreas Schwab [Tue, 15 Jan 2013 13:36:09 +0000 (14:36 +0100)]
Hide reference to mktemp in libpthread

11 years agoConsolidate constant defines into mpa.h
Siddhesh Poyarekar [Wed, 16 Jan 2013 10:36:48 +0000 (16:06 +0530)]
Consolidate constant defines into mpa.h

11 years agoFix the value of TWO
Siddhesh Poyarekar [Wed, 16 Jan 2013 09:22:48 +0000 (14:52 +0530)]
Fix the value of TWO

11 years agoOptimize trunc{,f} on sparc.
David S. Miller [Wed, 16 Jan 2013 07:59:02 +0000 (23:59 -0800)]
Optimize trunc{,f} on sparc.

* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
trunc{,f} to libm-sysdep_routes.
* sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
file.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
file.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
file.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
* sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
* sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
* sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
* sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
* sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
* sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.

11 years agoOptimize nearbyint{,f} on sparc.
David S. Miller [Wed, 16 Jan 2013 04:59:54 +0000 (20:59 -0800)]
Optimize nearbyint{,f} on sparc.

* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
nearbyint{,f} to libm-sysdep_routes.
* sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
file.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
file.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
* sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
file.
* sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
* sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
file.
* sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
* sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
* sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.

11 years agoAdd missing changelog for previous commit.
David S. Miller [Wed, 16 Jan 2013 04:56:39 +0000 (20:56 -0800)]
Add missing changelog for previous commit.

11 years agoUse libc_fe*() in 32-bit nearbyint()
David S. Miller [Wed, 16 Jan 2013 04:32:13 +0000 (20:32 -0800)]
Use libc_fe*() in 32-bit nearbyint()

* sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
libc_feholdexcept and libc_fesetenv.

11 years agoscsi/sg.h: include stddef.h for size_t
Mike Frysinger [Sat, 12 Jan 2013 23:52:41 +0000 (18:52 -0500)]
scsi/sg.h: include stddef.h for size_t

This header uses size_t but doesn't include stddef.h for it.  So when
packages happen to include this before any header that defines size_t,
they get a build failure.

Reviewed-by: Carlos O'Donell <codonell@redhat.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
11 years agoOptimize sparc {ceil,floor}{,f} using vis2 'siam' instruction.
David S. Miller [Tue, 15 Jan 2013 05:47:29 +0000 (21:47 -0800)]
Optimize sparc {ceil,floor}{,f} using vis2 'siam' instruction.

* sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
(SPARC_ASM_VIS2_IFUNC): Likewise.
(SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
use of 'siam' instruction.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
Likewise.
* sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
* sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
* sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
* sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
file.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
file.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
file.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
file.
* sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
* sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
* sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
* sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
new VIS2 routines.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
Likewise.
* sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
* sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
* sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
* sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
routines to libm-sysdep_routines.
* sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.

11 years agoOptimize fdim/fdimf on sparc.
David S. Miller [Tue, 15 Jan 2013 02:15:49 +0000 (18:15 -0800)]
Optimize fdim/fdimf on sparc.

* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
fdim/fdimf to libm-sysdep_routines.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
file.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
file.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
* sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
* sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
* sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
* sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.

11 years agoUse $(host-test-program-cmd) not $(test-program-cmd) for bug-setlocale1.
Joseph Myers [Mon, 14 Jan 2013 22:10:58 +0000 (22:10 +0000)]
Use $(host-test-program-cmd) not $(test-program-cmd) for bug-setlocale1.

11 years agoFix up log format, wrap a long line.
Roland McGrath [Mon, 14 Jan 2013 17:57:33 +0000 (09:57 -0800)]
Fix up log format, wrap a long line.

11 years agoMinor tweak to mp multiplication
Siddhesh Poyarekar [Mon, 14 Jan 2013 16:06:58 +0000 (21:36 +0530)]
Minor tweak to mp multiplication

Add a local variable to remove extra copies to/from memory in the Z
array.

11 years agoFix code formatting in mpa.c
Siddhesh Poyarekar [Mon, 14 Jan 2013 16:01:25 +0000 (21:31 +0530)]
Fix code formatting in mpa.c

This includes the overridden mpa.c in power4.

11 years agoRemove unnecessary local variable mptwo
Siddhesh Poyarekar [Mon, 14 Jan 2013 15:53:47 +0000 (21:23 +0530)]
Remove unnecessary local variable mptwo

11 years agomanual: glob flags: fix sorting order
Mike Frysinger [Fri, 21 Dec 2012 05:03:17 +0000 (00:03 -0500)]
manual: glob flags: fix sorting order

Reviewed-by: Carlos O'Donell <carlos@systemhalted.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
11 years agomanual: glob flags: mention the GNU extensions
Mike Frysinger [Fri, 21 Dec 2012 05:02:06 +0000 (00:02 -0500)]
manual: glob flags: mention the GNU extensions

The glob flags page reads as if this section is comprehensive when it
is not -- a lot of GNU extensions exist.  Point that out in the intro.

Reviewed-by: Carlos O'Donell <carlos@systemhalted.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
11 years agomanual: glob: document the gl_flags field
Mike Frysinger [Fri, 21 Dec 2012 04:59:42 +0000 (23:59 -0500)]
manual: glob: document the gl_flags field

The More Flags for Globbing section indirectly mentions gl_flags when
talking about GLOB_MAGCHAR.  Mention it explicitly when covering the
glob_t types.

Reviewed-by: Carlos O'Donell <carlos@systemhalted.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
11 years agoAdd 64-bit VIS3 optimized GMP routines for sparc.
David S. Miller [Sat, 12 Jan 2013 07:31:06 +0000 (23:31 -0800)]
Add 64-bit VIS3 optimized GMP routines for sparc.

* math/Makefile: Recognize gmp-sysdep_routines.
* sysdeps/sparc/sparc64/multiarch/Makefile: Add VIS3 optimized GMP routines
to sysdeps.
* sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
* sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
* sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
* sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
* sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
* sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
* sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
* sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
* sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
* sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.

11 years agoRedo sparc 32-bit V9 GMP optimizations with fixed copyrights.
David S. Miller [Sat, 12 Jan 2013 04:53:10 +0000 (20:53 -0800)]
Redo sparc 32-bit V9 GMP optimizations with fixed copyrights.

* sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
sparc V9 rather than using V8 code.
* sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.

11 years agoAdjust sparc for Roland's multiarch sysdep directory changes.
David S. Miller [Sat, 12 Jan 2013 02:03:29 +0000 (18:03 -0800)]
Adjust sparc for Roland's multiarch sysdep directory changes.

* sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
Move to...
* sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
Here.

11 years agoRemove unnecessary assert on attr in allocate_stack().
Carlos O'Donell [Sat, 12 Jan 2013 01:52:05 +0000 (20:52 -0500)]
Remove unnecessary assert on attr in allocate_stack().

11 years agoFix multiarch handling in sysdeps generation.
Roland McGrath [Fri, 11 Jan 2013 19:39:38 +0000 (11:39 -0800)]
Fix multiarch handling in sysdeps generation.

11 years agoRemove __GLIBC_HAVE_LONG_LONG.
Joseph Myers [Fri, 11 Jan 2013 21:13:25 +0000 (21:13 +0000)]
Remove __GLIBC_HAVE_LONG_LONG.

11 years ago2013-01-11 Steve Ellcey <sellcey@mips.com>
Steve Ellcey [Fri, 11 Jan 2013 19:20:05 +0000 (11:20 -0800)]
2013-01-11  Steve Ellcey  <sellcey@mips.com>

* elf/elf.h (EF_MIPS_ARCH_32): Fix value.
(EF_MIPS_ARCH_64): Fix value.
(EF_MIPS_ARCH_32R2): New.
(EF_MIPS_ARCH_64R2): New.

11 years agoAdd --enable-hardcoded-path-in-tests configure option
H.J. Lu [Fri, 11 Jan 2013 15:14:18 +0000 (07:14 -0800)]
Add --enable-hardcoded-path-in-tests configure option

11 years agoAdd MSG_FASTOPEN
Andreas Jaeger [Fri, 11 Jan 2013 10:53:13 +0000 (11:53 +0100)]
Add MSG_FASTOPEN

[BZ #15003]
* sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
value. Sync with Linux 3.7.

11 years agoUndo receive sparc 32-bit V9 gmp routine commit.
David S. Miller [Fri, 11 Jan 2013 05:28:07 +0000 (21:28 -0800)]
Undo receive sparc 32-bit V9 gmp routine commit.

* sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
* sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.

11 years agoRemove some old cruft variables from configure.
Roland McGrath [Thu, 10 Jan 2013 23:20:49 +0000 (15:20 -0800)]
Remove some old cruft variables from configure.

11 years agoOptimize sparc 32-bit V9 GMP multiply routines.
David S. Miller [Fri, 11 Jan 2013 00:15:32 +0000 (16:15 -0800)]
Optimize sparc 32-bit V9 GMP multiply routines.

* sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
sparc V9 rather than using V8 code.
* sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.

11 years agoMove localedata ChangeLog entries
H.J. Lu [Thu, 10 Jan 2013 23:14:44 +0000 (15:14 -0800)]
Move localedata ChangeLog entries

11 years agoFix whitespace in elf.h MIPS macros.
Roland McGrath [Thu, 10 Jan 2013 22:55:27 +0000 (14:55 -0800)]
Fix whitespace in elf.h MIPS macros.

11 years agoUpdate sparc ULPs for new casin{,h} tests.
David S. Miller [Thu, 10 Jan 2013 22:46:18 +0000 (14:46 -0800)]
Update sparc ULPs for new casin{,h} tests.

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

11 years agoSupport run bug-setlocale1 directly
H.J. Lu [Thu, 10 Jan 2013 22:15:49 +0000 (14:15 -0800)]
Support run bug-setlocale1 directly

11 years agoSupport run tst-exec and tst-spawn directly
H.J. Lu [Thu, 10 Jan 2013 22:14:55 +0000 (14:14 -0800)]
Support run tst-exec and tst-spawn directly

11 years agoUse __extension__ with long long in installed headers.
Joseph Myers [Thu, 10 Jan 2013 20:19:45 +0000 (20:19 +0000)]
Use __extension__ with long long in installed headers.

11 years agotypo fix
Roland McGrath [Thu, 10 Jan 2013 17:43:03 +0000 (09:43 -0800)]
typo fix

11 years agoRemove __GNUC__ conditions for "long long" from string.h and wchar.h.
Joseph Myers [Thu, 10 Jan 2013 16:44:59 +0000 (16:44 +0000)]
Remove __GNUC__ conditions for "long long" from string.h and wchar.h.

11 years agoCorrect _XXX_ILP32_OFFBIG for x32
H.J. Lu [Thu, 10 Jan 2013 16:38:48 +0000 (08:38 -0800)]
Correct _XXX_ILP32_OFFBIG for x32

11 years agotilegx: fix ldd to work with both tilegx64 and tilegx32
Chris Metcalf [Thu, 10 Jan 2013 15:16:06 +0000 (10:16 -0500)]
tilegx: fix ldd to work with both tilegx64 and tilegx32

This uses the same ldd-rewrite.sed hook as other platforms, with
the minor tweak that tilegx uses /lib (64-bit) and /lib32 (32-bit).

11 years agoRevert "Update BIG5-HKSCS charmap to HKSCS-2008"
Andreas Schwab [Thu, 10 Jan 2013 09:43:22 +0000 (10:43 +0100)]
Revert "Update BIG5-HKSCS charmap to HKSCS-2008"

This reverts commit e79f00ebb776ad35ec6a9a4c89bc8046052674f0.