Roland McGrath
b2e25af00c
Fix aliases in stub lseek.
2013-02-05 11:39:20 -08:00
Roland McGrath
eab55bfb14
Add missing includes to sysdeps/generic/malloc-sysdep.h.
2013-02-05 11:34:06 -08:00
Maciej W. Rozycki
f9834ea477
MIPS: Correct formatting of syscall wrapper `asm' specifiers.
2013-02-05 15:31:08 +00:00
Maciej W. Rozycki
b82ba2f011
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.
2013-02-05 14:55:20 +00:00
Carlos O'Donell
9a0d1941d3
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.
2013-02-04 20:11:36 -05:00
David S. Miller
c51ebd9c78
Add long-double sparc ULPs updates missing in previous commit.
2013-02-04 12:06:42 -08:00
David S. Miller
b83bbec4cc
Update sparc ULPs after Joseph's casin fixes.
...
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2013-02-04 10:31:18 -08:00
Joseph Myers
6277fdabc0
Remove CHECK_STRING, CHECK_STRING_NULL_OK and __ubp_memchr.
2013-02-04 16:29:39 +00:00
Andreas Schwab
903ae060db
Don't use GLIBC_PRIVATE errno outside of libraries
2013-02-04 10:01:54 +01:00
Jan Kratochvil
542f94662e
Improve link_map.l_addr comment.
2013-02-02 10:29:17 +01:00
Andreas Jaeger
40b8fc4086
Remove unmaintained and unused localedata/CHECKSUMS
2013-02-01 08:11:05 +01:00
Joseph Myers
e782a927c2
Remove BOUNDED_N and BOUNDED_1.
2013-02-01 06:35:29 +00:00
Joseph Myers
3a7ac8a0f5
Remove bp-start.h and INIT_ARGV_and_ENVIRON.
2013-02-01 00:06:18 +00:00
Joseph Myers
f3499f95c8
Remove CHECK_IOCTL, CHECK_FCNTL and CHECK_N_PAGES.
2013-01-31 23:01:01 +00:00
Joseph Myers
32a45bea39
Remove CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2013-01-31 23:00:15 +00:00
Joseph Myers
2e8a5c8c46
Remove bp-semctl.h and CHECK_SEMCTL.
2013-01-31 22:59:04 +00:00
Joseph Myers
c2d549290d
Remove bp-thunks code.
2013-01-31 22:57:06 +00:00
Joseph Myers
8cf28c5ebe
Fix casinh spurious underflows away from [-i,i] (bug 15062).
2013-01-31 22:55:29 +00:00
David S. Miller
c4e33b8d8b
Update German translations.
...
* po/de.po: Update from translation team.
2013-01-31 15:13:24 -05:00
Maciej W. Rozycki
29bfb065e3
MIPS: Correct NewABI syscall wrapper whitespace damage.
2013-01-29 13:30:16 +00:00
Maxim Kuvyrkov
3b60b421b5
* time/tzfile.c: Include stdint.h for SIZE_MAX.
2013-01-26 14:56:21 +13:00
Steve Ellcey
c6af74e473
2013-01-25 Steve Ellcey <sellcey@mips.com>
...
* sysdeps/mips/memmove.c: Remove.
2013-01-25 16:11:40 -08:00
Thomas Schwinge
b5a5da2376
Don't bother checking for $CC option to accept ISO C89.
2013-01-25 12:44:45 +01:00
Thomas Schwinge
bb931195fe
configure: Default to CPP="$CC -E" unless overridden.
2013-01-25 12:33:19 +01:00
Marcus Shawcroft
a0b1cd8869
AArch64: Adding optimized strncmp implementation.
2013-01-24 14:33:12 +00:00
Marcus Shawcroft
4499bb3e1b
AArch64: Adding optimized strnlen implementation.
2013-01-24 14:33:11 +00:00
Joseph Myers
8c53a12c86
Avoid backtrace tests matching filenames when searching for function names.
2013-01-24 00:23:13 +00:00
Roland McGrath
4858fa2af6
Whitespace fix for __glibc_likely/__glibc_unlikely defns.
2013-01-23 15:00:55 -08:00
David S. Miller
bae8e7f5ed
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.
2013-01-23 11:27:24 -08:00
Pino Toscano
67b3f58c83
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).
2013-01-23 17:29:35 +01:00
Pino Toscano
92a601b883
ulimit: include <limits.h>
2013-01-23 17:27:45 +01:00
Pino Toscano
9cbbc4aebe
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.
2013-01-23 17:25:53 +01:00
Andreas Krebbel
bc101e2652
S/390: Fix setjmp/longjmp FPR save/restore
2013-01-23 10:00:24 +01:00
Adam Conrad
5655a0b58e
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.
2013-01-22 23:05:33 -07:00
Joseph Myers
052aff9578
Make bits/wchar.h correct for all architectures (bug 15036).
2013-01-23 00:42:51 +00:00
David S. Miller
7c1e01aabc
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.
2013-01-21 14:15:30 -08:00
Andreas Schwab
ab087e0aa4
Avoid busy loop in wordexp when substituted command closed its stdout
2013-01-21 10:40:04 +01:00
Andreas Schwab
ba6f5ae50b
m68k: update libm test ULPs
2013-01-20 21:00:09 +01:00
Andreas Schwab
7cd24045d6
m68k: add unwind tables to backtrace
2013-01-20 14:29:57 +01:00
Andreas Schwab
ed689c2f74
Remove use of mpa2.h
2013-01-20 02:05:53 +01:00
Andreas Schwab
32ebef017f
Add backtrace for m68k
2013-01-19 23:47:27 +01:00
Andreas Schwab
41597a7c02
Add not-cancel.h for m68k/nptl
2013-01-19 21:23:15 +01:00
Joseph Myers
31d470ac24
Add tests that backtrace and backtrace_symbols produce correct results.
2013-01-18 15:49:43 +00:00
Ryan S. Arnold
90567f30eb
Corrected ChangeLog date of __kernel_get_tbfreq fix.
2013-01-18 07:52:18 -06:00
Anton Blanchard
471a1672d4
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.
2013-01-18 07:44:38 -06:00
Siddhesh Poyarekar
f7bff1ed96
Update NEWS
2013-01-18 14:41:14 +05:30
Siddhesh Poyarekar
0b57daebab
Fix application of the exception mask
...
Fixes BZ #14496 .
2013-01-18 14:16:25 +05:30
Siddhesh Poyarekar
caa99d06e7
Simplify calculation of 2^-m in __mpexp
2013-01-18 11:18:13 +05:30
Siddhesh Poyarekar
d3b9ea6148
Remove unnecessary multiplication with RADIXI
2013-01-18 11:14:34 +05:30
David S. Miller
1dbaee3c12
Update sparc ULPs.
...
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2013-01-17 20:45:04 -08:00