Joseph Myers [Thu, 14 Feb 2013 13:12:02 +0000 (13:12 +0000)]
Remove bp-sym.h and BP_SYM uses from C code.
Siddhesh Poyarekar [Thu, 14 Feb 2013 10:13:25 +0000 (15:43 +0530)]
Remove redundant return keyword
Siddhesh Poyarekar [Thu, 14 Feb 2013 06:09:14 +0000 (11:39 +0530)]
Use __sqr instead of __mul wherever possible
Siddhesh Poyarekar [Thu, 14 Feb 2013 05:01:09 +0000 (10:31 +0530)]
New __sqr function as a faster special case of __mul
Joseph Myers [Wed, 13 Feb 2013 23:30:40 +0000 (23:30 +0000)]
Remove __ptrvalue, __bounded and __unbounded.
Roland McGrath [Wed, 13 Feb 2013 18:45:31 +0000 (10:45 -0800)]
Fix up ChangeLog.
Ondrej Bilka [Wed, 13 Feb 2013 12:44:36 +0000 (13:44 +0100)]
Install stdlib-bsearch.h header
Ondrej Bilka [Wed, 13 Feb 2013 11:57:41 +0000 (12:57 +0100)]
Call memcpy in generic mempcpy
Siddhesh Poyarekar [Wed, 13 Feb 2013 11:49:06 +0000 (17:19 +0530)]
Remove unnecessary factorial array
kf is n! at the end of the loop, so storing the values is unnecessary.
Siddhesh Poyarekar [Wed, 13 Feb 2013 09:19:50 +0000 (14:49 +0530)]
Better exp polynomial
The lesser the __mul calls, the better it is for performance.
Siddhesh Poyarekar [Wed, 13 Feb 2013 08:46:23 +0000 (14:16 +0530)]
Optimized mp multiplication
Don't bother multiplying zeroes since that only wastes cycles.
Siddhesh Poyarekar [Wed, 13 Feb 2013 08:25:29 +0000 (13:55 +0530)]
Clean up add_magnitudes and sub_magnitudes
Roland McGrath [Wed, 13 Feb 2013 00:15:59 +0000 (16:15 -0800)]
Remove redunant "warning: " prefix from stub warnings.
Andreas Schwab [Tue, 29 Jan 2013 13:45:15 +0000 (14:45 +0100)]
Fix buffer overrun in regexp matcher
Andreas Schwab [Mon, 4 Feb 2013 09:16:33 +0000 (10:16 +0100)]
Fix handling of collating symbols in regexps
Tom de Vries [Mon, 11 Feb 2013 22:47:13 +0000 (23:47 +0100)]
Fix typo, improve comment, remove superfluous #undefs, add missing #undef.
Roland McGrath [Mon, 11 Feb 2013 22:32:57 +0000 (14:32 -0800)]
Fix log entry in last change.
Ondrej Bilka [Mon, 11 Feb 2013 22:18:09 +0000 (23:18 +0100)]
Add inline bsearch expansion.
Roland McGrath [Mon, 11 Feb 2013 22:12:47 +0000 (14:12 -0800)]
Fix some errors in declarations in the manual.
Tom de Vries [Mon, 11 Feb 2013 21:06:00 +0000 (22:06 +0100)]
Remove dead CFLAGS lines from string/Makefile
Roland McGrath [Mon, 11 Feb 2013 21:06:09 +0000 (13:06 -0800)]
Fix a typo in the mremap comment.
Joseph Myers [Mon, 11 Feb 2013 18:19:14 +0000 (18:19 +0000)]
Add CFI information for MIPS assembly sources.
Tom de Vries [Mon, 11 Feb 2013 13:52:13 +0000 (14:52 +0100)]
Roland McGrath [Fri, 8 Feb 2013 22:55:50 +0000 (14:55 -0800)]
Fix PF_LOCAL socket example sockaddr_un size calculation.
Andreas Schwab [Fri, 8 Feb 2013 22:18:53 +0000 (23:18 +0100)]
m68k: update kernel-features.h
Joseph Myers [Fri, 8 Feb 2013 20:06:30 +0000 (20:06 +0000)]
Remove CHECK_N and bp-checks.h.
Roland McGrath [Fri, 8 Feb 2013 18:46:32 +0000 (10:46 -0800)]
Remove dead variable in generic strcpy.
Roland McGrath [Fri, 8 Feb 2013 18:18:52 +0000 (10:18 -0800)]
Support sysdeps/.../include/ directories.
Carlos O'Donell [Thu, 7 Feb 2013 19:28:53 +0000 (14:28 -0500)]
Refactor code out of nscd's two main poll loops.
We refactor the inotify file checking code and the
database clearing code out of the main_loop_poll and
mail_loop_epoll functions. We document some the related
functions with appropriate comments.
Carlos O'Donell [Thu, 7 Feb 2013 18:53:46 +0000 (13:53 -0500)]
Add more comments to _dl_load_cache_lookup().
Calling _dl_load_cache_lookup will load the cache if not already.
If loading the cache fails no more attempts will be made to load
the cache.
Carlos O'Donell [Fri, 8 Feb 2013 17:37:44 +0000 (12:37 -0500)]
BZ #15006: Updates NEWS and ChangeLog.
Carlos O'Donell [Fri, 8 Feb 2013 17:26:12 +0000 (12:26 -0500)]
ARM: Support loading unmarked objects from cache.
ARM now supports loading unmarked objects from
the dynamic loader cache. Unmarked objects can
be used with the hard-float or soft-float ABI.
We must support loading unmarked objects during
the transition period from a binutils that does
not mark objects to one that does mark them with
the correct ELF flags.
Signed-off-by: Carlos O'Donell <carlos@redhat.com>
Joseph Myers [Fri, 8 Feb 2013 02:03:10 +0000 (02:03 +0000)]
Use ENTRY and END in more MIPS .S files.
Joseph Myers [Fri, 8 Feb 2013 01:12:11 +0000 (01:12 +0000)]
Remove CHECK_1 and CHECK_1_NULL_OK.
Joseph Myers [Fri, 8 Feb 2013 01:10:40 +0000 (01:10 +0000)]
Remove CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH for C code.
Roland McGrath [Thu, 7 Feb 2013 22:44:18 +0000 (14:44 -0800)]
Remove lots of inline keywords.
Roland McGrath [Tue, 5 Feb 2013 22:32:48 +0000 (14:32 -0800)]
Move nss directory into sysdeps Subdirs.
Roland McGrath [Tue, 5 Feb 2013 20:15:56 +0000 (12:15 -0800)]
Replace an alloca use with a variable-length array.
Roland McGrath [Tue, 5 Feb 2013 19:38:14 +0000 (11:38 -0800)]
Fix aliases in stub lseek.
Roland McGrath [Tue, 5 Feb 2013 19:34:06 +0000 (11:34 -0800)]
Add missing includes to sysdeps/generic/malloc-sysdep.h.
Maciej W. Rozycki [Tue, 5 Feb 2013 15:31:08 +0000 (15:31 +0000)]
MIPS: Correct formatting of syscall wrapper `asm' specifiers.
Maciej W. Rozycki [Tue, 5 Feb 2013 14:41:32 +0000 (14:41 +0000)]
MIPS: Respect the legacy syscall restart convention.
That convention requires the instruction immediately preceding SYSCALL
to initialize $v0 with the syscall number. Then if a restart triggers,
$v0 will have been clobbered by the syscall interrupted, and needs to be
reinititalized. The kernel will decrement the PC by 4 before switching
back to the user mode so that $v0 has been reloaded before SYSCALL is
executed again. This implies the place $v0 is loaded from must be
preserved across a syscall, e.g. an immediate, static register, stack
slot, etc.
The restriction was lifted with Linux 2.6.36 kernel release and no
special requirements are placed around the SYSCALL instruction anymore,
however we still support older kernel binaries.
Carlos O'Donell [Tue, 5 Feb 2013 01:06:46 +0000 (20:06 -0500)]
getenv: Remove check for non-standard endianness.
stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
else clause and remove check for non-standard endianness.
David S. Miller [Mon, 4 Feb 2013 20:06:42 +0000 (12:06 -0800)]
Add long-double sparc ULPs updates missing in previous commit.
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.
Joseph Myers [Mon, 4 Feb 2013 16:29:39 +0000 (16:29 +0000)]
Remove CHECK_STRING, CHECK_STRING_NULL_OK and __ubp_memchr.
Andreas Schwab [Mon, 28 Jan 2013 16:51:03 +0000 (17:51 +0100)]
Don't use GLIBC_PRIVATE errno outside of libraries
Jan Kratochvil [Sat, 2 Feb 2013 09:29:17 +0000 (10:29 +0100)]
Improve link_map.l_addr comment.
Andreas Jaeger [Fri, 1 Feb 2013 07:11:05 +0000 (08:11 +0100)]
Remove unmaintained and unused localedata/CHECKSUMS
Joseph Myers [Fri, 1 Feb 2013 06:35:29 +0000 (06:35 +0000)]
Remove BOUNDED_N and BOUNDED_1.
Joseph Myers [Fri, 1 Feb 2013 00:06:18 +0000 (00:06 +0000)]
Remove bp-start.h and INIT_ARGV_and_ENVIRON.
Joseph Myers [Thu, 31 Jan 2013 23:01:01 +0000 (23:01 +0000)]
Remove CHECK_IOCTL, CHECK_FCNTL and CHECK_N_PAGES.
Joseph Myers [Thu, 31 Jan 2013 23:00:15 +0000 (23:00 +0000)]
Remove CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
Joseph Myers [Thu, 31 Jan 2013 22:59:04 +0000 (22:59 +0000)]
Remove bp-semctl.h and CHECK_SEMCTL.
Joseph Myers [Thu, 31 Jan 2013 22:57:06 +0000 (22:57 +0000)]
Remove bp-thunks code.
Joseph Myers [Thu, 31 Jan 2013 22:55:29 +0000 (22:55 +0000)]
Fix casinh spurious underflows away from [-i,i] (bug 15062).
David S. Miller [Thu, 31 Jan 2013 20:13:24 +0000 (15:13 -0500)]
Update German translations.
* po/de.po: Update from translation team.
Maciej W. Rozycki [Tue, 29 Jan 2013 13:30:16 +0000 (13:30 +0000)]
MIPS: Correct NewABI syscall wrapper whitespace damage.
Maxim Kuvyrkov [Sat, 26 Jan 2013 01:56:21 +0000 (14:56 +1300)]
* time/tzfile.c: Include stdint.h for SIZE_MAX.
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.
Thomas Schwinge [Fri, 25 Jan 2013 11:44:45 +0000 (12:44 +0100)]
Don't bother checking for $CC option to accept ISO C89.
Thomas Schwinge [Fri, 25 Jan 2013 11:33:19 +0000 (12:33 +0100)]
configure: Default to CPP="$CC -E" unless overridden.
Marcus Shawcroft [Wed, 23 Jan 2013 16:33:14 +0000 (16:33 +0000)]
AArch64: Adding optimized strncmp implementation.
Marcus Shawcroft [Wed, 23 Jan 2013 16:32:33 +0000 (16:32 +0000)]
AArch64: Adding optimized strnlen implementation.
Joseph Myers [Thu, 24 Jan 2013 00:23:13 +0000 (00:23 +0000)]
Avoid backtrace tests matching filenames when searching for function names.
Roland McGrath [Wed, 23 Jan 2013 23:00:39 +0000 (15:00 -0800)]
Whitespace fix for __glibc_likely/__glibc_unlikely defns.
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.
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).
Pino Toscano [Wed, 23 Jan 2013 16:27:45 +0000 (17:27 +0100)]
ulimit: include <limits.h>
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.
Andreas Krebbel [Wed, 23 Jan 2013 09:00:24 +0000 (10:00 +0100)]
S/390: Fix setjmp/longjmp FPR save/restore
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.
Joseph Myers [Wed, 23 Jan 2013 00:42:51 +0000 (00:42 +0000)]
Make bits/wchar.h correct for all architectures (bug 15036).
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.
Andreas Schwab [Sat, 19 Jan 2013 16:18:47 +0000 (17:18 +0100)]
Avoid busy loop in wordexp when substituted command closed its stdout
Andreas Schwab [Sun, 20 Jan 2013 19:58:19 +0000 (20:58 +0100)]
m68k: update libm test ULPs
Andreas Schwab [Sun, 20 Jan 2013 00:31:07 +0000 (01:31 +0100)]
m68k: add unwind tables to backtrace
Andreas Schwab [Sun, 20 Jan 2013 01:03:42 +0000 (02:03 +0100)]
Remove use of mpa2.h
Andreas Schwab [Sat, 19 Jan 2013 21:17:45 +0000 (22:17 +0100)]
Add backtrace for m68k
Andreas Schwab [Sat, 19 Jan 2013 17:58:24 +0000 (18:58 +0100)]
Add not-cancel.h for m68k/nptl
Joseph Myers [Fri, 18 Jan 2013 15:49:43 +0000 (15:49 +0000)]
Add tests that backtrace and backtrace_symbols produce correct results.
Ryan S. Arnold [Fri, 18 Jan 2013 13:52:18 +0000 (07:52 -0600)]
Corrected ChangeLog date of __kernel_get_tbfreq fix.
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.
Siddhesh Poyarekar [Fri, 18 Jan 2013 09:11:14 +0000 (14:41 +0530)]
Update NEWS
Siddhesh Poyarekar [Fri, 18 Jan 2013 08:46:25 +0000 (14:16 +0530)]
Fix application of the exception mask
Fixes BZ #14496.
Siddhesh Poyarekar [Fri, 18 Jan 2013 05:48:13 +0000 (11:18 +0530)]
Simplify calculation of 2^-m in __mpexp
Siddhesh Poyarekar [Fri, 18 Jan 2013 05:44:34 +0000 (11:14 +0530)]
Remove unnecessary multiplication with RADIXI
David S. Miller [Fri, 18 Jan 2013 04:45:04 +0000 (20:45 -0800)]
Update sparc ULPs.
* sysdeps/sparc/fpu/libm-test-ulps: Update.
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).
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.
Marcus Shawcroft [Wed, 16 Jan 2013 13:57:42 +0000 (13:57 +0000)]
AArch64: Implement optimized strlen.
Marcus Shawcroft [Wed, 16 Jan 2013 13:29:29 +0000 (13:29 +0000)]
AArch64: Implement optimized strcmp
Marcus Shawcroft [Wed, 16 Jan 2013 13:29:05 +0000 (13:29 +0000)]
AArch64: Implement optimized bzero.
Marcus Shawcroft [Wed, 16 Jan 2013 13:28:39 +0000 (13:28 +0000)]
AArch64: Implement optimized memmove.
Marcus Shawcroft [Wed, 16 Jan 2013 13:28:03 +0000 (13:28 +0000)]
AArch64: Implement optimized memcpy.
Marcus Shawcroft [Wed, 16 Jan 2013 13:03:43 +0000 (13:03 +0000)]
AArch64: Implement optimized memset.
Marcus Shawcroft [Wed, 16 Jan 2013 12:58:40 +0000 (12:58 +0000)]
AArch64: Implement optimized memcmp.
Marcus Shawcroft [Wed, 16 Jan 2013 12:53:34 +0000 (12:53 +0000)]
AArch64: Tidyup whitespace.
Siddhesh Poyarekar [Thu, 17 Jan 2013 09:37:53 +0000 (15:07 +0530)]
Fix ChangeLog
Siddhesh Poyarekar [Thu, 17 Jan 2013 09:35:22 +0000 (15:05 +0530)]
Fix header comment