]> sourceware.org Git - glibc.git/log
glibc.git
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.

11 years agoRevert "Extend i486 pthread_cond_timedwait to use futex syscall with absolute timeout"
Andreas Schwab [Thu, 10 Jan 2013 09:43:00 +0000 (10:43 +0100)]
Revert "Extend i486 pthread_cond_timedwait to use futex syscall with absolute timeout"

This reverts commit 1bd57044e963abb886cb912beadea714815a3d5c.

11 years agoRevert "Use ieee754/dbl-64/wordsize-64 on powerpc64"
Andreas Schwab [Thu, 10 Jan 2013 09:42:59 +0000 (10:42 +0100)]
Revert "Use ieee754/dbl-64/wordsize-64 on powerpc64"

This reverts commit 7a9d2c397195d9a19a95dbcdb59fb5df03f2d940.

11 years agoRevert "sysdeps/ieee754/ldbl-128ibm/e_expl.c"
Andreas Schwab [Thu, 10 Jan 2013 09:42:58 +0000 (10:42 +0100)]
Revert "sysdeps/ieee754/ldbl-128ibm/e_expl.c"

This reverts commit 35eb879e3b7849e86f06658bdb888f7858b30759.

11 years agoRevert "CFLAGS-test-tgmath2.c"
Andreas Schwab [Thu, 10 Jan 2013 09:42:57 +0000 (10:42 +0100)]
Revert "CFLAGS-test-tgmath2.c"

This reverts commit 3167bfc62bb38e3057f7694566b5bb157236a5a8.

11 years agoRevert "Properly check for short writes when sending the response in nscd"
Andreas Schwab [Thu, 10 Jan 2013 09:42:56 +0000 (10:42 +0100)]
Revert "Properly check for short writes when sending the response in nscd"

This reverts commit dd31ac7a8e0d4cc24eee6815f9101caa5aa64291.

11 years agoRevert "* nscd/nscd.h: Move persistent storage back to /var/run/nscd"
Andreas Schwab [Thu, 10 Jan 2013 09:42:54 +0000 (10:42 +0100)]
Revert "* nscd/nscd.h: Move persistent storage back to /var/run/nscd"

This reverts commit 70d3e06ed0ffabb6ce974cc94b2cff1d67252193.

11 years agoRevert "nscd: don't fork twice"
Andreas Schwab [Thu, 10 Jan 2013 09:42:49 +0000 (10:42 +0100)]
Revert "nscd: don't fork twice"

This reverts commit 7e9b080575fd68c788c33623594ba5516fa7ceb0.

11 years agoFix formatting in mpexp.c
Siddhesh Poyarekar [Thu, 10 Jan 2013 09:26:04 +0000 (14:56 +0530)]
Fix formatting in mpexp.c

11 years agoMake __mpexp_twomm1 an array of doubles
Siddhesh Poyarekar [Thu, 10 Jan 2013 09:23:40 +0000 (14:53 +0530)]
Make __mpexp_twomm1 an array of doubles

Cleanup to get rid of the `number` muck which is not necessary here.

11 years agonscd: don't fork twice
Andreas Schwab [Sun, 23 Dec 2012 08:45:07 +0000 (09:45 +0100)]
nscd: don't fork twice

11 years ago* nscd/nscd.h: Move persistent storage back to /var/run/nscd
Thorsten Kukuk [Tue, 4 Dec 2012 15:35:53 +0000 (16:35 +0100)]
* nscd/nscd.h: Move persistent storage back to /var/run/nscd

11 years agoProperly check for short writes when sending the response in nscd
Andreas Schwab [Tue, 4 Dec 2012 15:14:13 +0000 (16:14 +0100)]
Properly check for short writes when sending the response in nscd

* nscd/grpcache.c (cache_addgr): Properly check for short write.
* nscd/initgrcache.c (addinitgroupsX): Likewise.
* nscd/pwdcache.c (cache_addpw): Likewise.
* nscd/servicescache.c (cache_addserv): Likewise.  Don't write
more than recsize.

11 years agoCFLAGS-test-tgmath2.c
Andreas Schwab [Tue, 30 Oct 2012 22:21:19 +0000 (23:21 +0100)]
CFLAGS-test-tgmath2.c

11 years agosysdeps/ieee754/ldbl-128ibm/e_expl.c
Andreas Schwab [Wed, 6 Jun 2012 16:00:52 +0000 (18:00 +0200)]
sysdeps/ieee754/ldbl-128ibm/e_expl.c

11 years agoUse ieee754/dbl-64/wordsize-64 on powerpc64
Andreas Schwab [Fri, 25 May 2012 21:13:00 +0000 (23:13 +0200)]
Use ieee754/dbl-64/wordsize-64 on powerpc64

* sysdeps/ieee754/ldbl-opt/wordsize-64/s_ceil.c: New file.
* sysdeps/ieee754/ldbl-opt/wordsize-64/s_finite.c: New file.
* sysdeps/ieee754/ldbl-opt/wordsize-64/s_floor.c: New file.
* sysdeps/ieee754/ldbl-opt/wordsize-64/s_frexp.c: New file.
* sysdeps/ieee754/ldbl-opt/wordsize-64/s_isinf.c: New file.
* sysdeps/ieee754/ldbl-opt/wordsize-64/s_isnan.c: New file.
* sysdeps/ieee754/ldbl-opt/wordsize-64/s_llround.c: New file.
* sysdeps/ieee754/ldbl-opt/wordsize-64/s_logb.c: New file.
* sysdeps/ieee754/ldbl-opt/wordsize-64/s_lround.c: New file.
* sysdeps/ieee754/ldbl-opt/wordsize-64/s_modf.c: New file.
* sysdeps/ieee754/ldbl-opt/wordsize-64/s_nearbyint.c: New file.
* sysdeps/ieee754/ldbl-opt/wordsize-64/s_remquo.c: New file.
* sysdeps/ieee754/ldbl-opt/wordsize-64/s_rint.c: New file.
* sysdeps/ieee754/ldbl-opt/wordsize-64/s_round.c: New file.
* sysdeps/ieee754/ldbl-opt/wordsize-64/s_scalbln.c: New file.
* sysdeps/ieee754/ldbl-opt/wordsize-64/s_scalbn.c: New file.
* sysdeps/ieee754/ldbl-opt/wordsize-64/s_trunc.c: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/Implies: Add
ieee754/ldbl-opt/wordsize-64.
* sysdeps/powerpc/powerpc64/Implies: Add
ieee754/dbl-64/wordsize-64.

11 years agoExtend i486 pthread_cond_timedwait to use futex syscall with absolute timeout
Andreas Schwab [Thu, 22 Nov 2012 11:57:37 +0000 (12:57 +0100)]
Extend i486 pthread_cond_timedwait to use futex syscall with absolute timeout

* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S
(__pthread_cond_timedwait): If possible use FUTEX_WAIT_BITSET to
directly use absolute timeout.

11 years agoUpdate BIG5-HKSCS charmap to HKSCS-2008
Andreas Schwab [Mon, 7 Jan 2013 16:23:53 +0000 (17:23 +0100)]
Update BIG5-HKSCS charmap to HKSCS-2008

[BZ #14991]
* charmaps/BIG5-HKSCS: Update to HKSCS-2008.

[BZ #14991]
* iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
(from_ucs4_idx): Regenerate.
(MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
(FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
(FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
(TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
(TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
(EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
(EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
(MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
from FROM_LOOP and TO_LOOP specific macros.
(BODY): Handle combining characters.
* iconvdata/BIG5HKSCS.irreversible: Update.
* iconvdata/BIG5HKSCS.precomposed: New file.
* iconvdata/testdata/BIG5HKSCS: Add all characters from range
0x8740 - 0x87DF.
* iconvdata/testdata/BIG5HKSCS..UTF8: Update.

11 years agoDefine flags for fallocate
Andreas Schwab [Wed, 9 Jan 2013 14:32:52 +0000 (15:32 +0100)]
Define flags for fallocate

11 years agoSync netinet/tcp.h with upstream Linux kernel.
David S. Miller [Thu, 10 Jan 2013 07:04:32 +0000 (23:04 -0800)]
Sync netinet/tcp.h with upstream Linux kernel.

[BZ# 15003]
* sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
TCP_FASTOPEN): Define.
(tcp_repair_opt): New structure.
(TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
enum values.
(TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
(tcp_cookie_transactions): New structure.

11 years agoPowerPC: Change sched_getcpu to use vDSO getcpu instead of syscall.
Anton Blanchard [Thu, 10 Jan 2013 02:30:11 +0000 (20:30 -0600)]
PowerPC: Change sched_getcpu to use vDSO getcpu instead of syscall.

This page took 0.084967 seconds and 5 git commands to generate.