platform/upstream/linaro-glibc.git
11 years agoProperly check linker -z XXX support
H.J. Lu [Wed, 21 Nov 2012 20:31:01 +0000 (12:31 -0800)]
Properly check linker -z XXX support

11 years agoMake ARM fesetenv (FE_NOMASK_ENV) detect failure (bug 14866).
Joseph Myers [Wed, 21 Nov 2012 20:26:56 +0000 (20:26 +0000)]
Make ARM fesetenv (FE_NOMASK_ENV) detect failure (bug 14866).

11 years agoRemove unused variable from sem_post.c.
Joseph Myers [Wed, 21 Nov 2012 20:00:52 +0000 (20:00 +0000)]
Remove unused variable from sem_post.c.

11 years agoRemove unused variable from pthread_cond_timedwait.c.
Joseph Myers [Wed, 21 Nov 2012 20:00:11 +0000 (20:00 +0000)]
Remove unused variable from pthread_cond_timedwait.c.

11 years agoCast to uintptr_t in MIPS jmpbuf-unwind.h.
Joseph Myers [Wed, 21 Nov 2012 16:41:57 +0000 (16:41 +0000)]
Cast to uintptr_t in MIPS jmpbuf-unwind.h.

11 years agoCheck supported DF_1_XXX bits
H.J. Lu [Wed, 21 Nov 2012 14:33:19 +0000 (06:33 -0800)]
Check supported DF_1_XXX bits

11 years agoaarch64: Fix lll_futex_timed_wait_bitset return value sign.
Marcus Shawcroft [Wed, 21 Nov 2012 12:24:11 +0000 (12:24 +0000)]
aarch64: Fix lll_futex_timed_wait_bitset return value sign.

The implementation of lll_futex_timed_wait_bitset should not be negating
the futex syscall return value on error.

11 years agoaarch64: Remove weak_aliasx macro.
Marcus Shawcroft [Wed, 21 Nov 2012 08:03:01 +0000 (08:03 +0000)]
aarch64: Remove weak_aliasx macro.

11 years agoaarch64: Remove support for NO_LONG_DOUBLE.
Marcus Shawcroft [Wed, 21 Nov 2012 08:01:57 +0000 (08:01 +0000)]
aarch64: Remove support for NO_LONG_DOUBLE.

11 years agoaarch64: Indent preprocessor directives.
Marcus Shawcroft [Tue, 20 Nov 2012 23:14:25 +0000 (23:14 +0000)]
aarch64: Indent preprocessor directives.

11 years agoaarch64: Use range in copyright years.
Marcus Shawcroft [Tue, 20 Nov 2012 23:13:14 +0000 (23:13 +0000)]
aarch64: Use range in copyright years.

11 years agoaarch64: Rename .x files to .c
Marcus Shawcroft [Tue, 20 Nov 2012 23:10:51 +0000 (23:10 +0000)]
aarch64: Rename .x files to .c

11 years agoaarch64: Don't use K&R C
Marcus Shawcroft [Tue, 20 Nov 2012 23:06:26 +0000 (23:06 +0000)]
aarch64: Don't use K&R C

11 years agoAdd sotruss-lib.c for MIPS.
Joseph Myers [Wed, 21 Nov 2012 02:29:29 +0000 (02:29 +0000)]
Add sotruss-lib.c for MIPS.

11 years agotile: update libm-test-ulps for new tests
Chris Metcalf [Tue, 20 Nov 2012 20:06:38 +0000 (15:06 -0500)]
tile: update libm-test-ulps for new tests

11 years agotile: Fix __bswap_64 return type in tile bits/byteswap.h
Chris Metcalf [Tue, 20 Nov 2012 20:05:59 +0000 (15:05 -0500)]
tile: Fix __bswap_64 return type in tile bits/byteswap.h

11 years agotile: remove redundant defines of libc_fetestexcept, etc. in s_fma.c
Chris Metcalf [Tue, 20 Nov 2012 20:05:32 +0000 (15:05 -0500)]
tile: remove redundant defines of libc_fetestexcept, etc. in s_fma.c

11 years agom68k: Remove indirection through weak_aliasx
Andreas Schwab [Tue, 20 Nov 2012 19:28:24 +0000 (20:28 +0100)]
m68k: Remove indirection through weak_aliasx

11 years agoDocument syscall signature prefixes in sysdep/unix/make-syscalls.sh
Carlos O'Donell [Tue, 20 Nov 2012 18:54:47 +0000 (13:54 -0500)]
Document syscall signature prefixes in sysdep/unix/make-syscalls.sh

11 years agosysdeps/sh/dl-machine.h: Define ELF_MACHINE_RUNTIME_FIXUP_PARAMS.
Thomas Schwinge [Tue, 20 Nov 2012 18:29:23 +0000 (19:29 +0100)]
sysdeps/sh/dl-machine.h: Define ELF_MACHINE_RUNTIME_FIXUP_PARAMS.

Fixes fallout from commit 2e64d2659d3edaebc792ac596a9863f1626e5c25.

11 years agoAdd recvmmsg and sendmmsg to the generic glibc API.
Thomas Schwinge [Sat, 3 Nov 2012 17:29:46 +0000 (18:29 +0100)]
Add recvmmsg and sendmmsg to the generic glibc API.

11 years agoFix set-but-not-used warnings in ldbl-128 nearbyintl, rintl.
Joseph Myers [Tue, 20 Nov 2012 14:26:07 +0000 (14:26 +0000)]
Fix set-but-not-used warnings in ldbl-128 nearbyintl, rintl.

11 years agoUse parentheses around MIPS syscall macro arguments.
Joseph Myers [Tue, 20 Nov 2012 02:45:45 +0000 (02:45 +0000)]
Use parentheses around MIPS syscall macro arguments.

11 years agoFix int-to-pointer-cast warnings for MIPS.
Joseph Myers [Tue, 20 Nov 2012 02:40:12 +0000 (02:40 +0000)]
Fix int-to-pointer-cast warnings for MIPS.

11 years agoFix warnings from aborting MIPS atomic macros.
Joseph Myers [Tue, 20 Nov 2012 00:56:29 +0000 (00:56 +0000)]
Fix warnings from aborting MIPS atomic macros.

11 years agoFix more set-but-not-used warnings in _itowa.c.
Joseph Myers [Tue, 20 Nov 2012 00:05:23 +0000 (00:05 +0000)]
Fix more set-but-not-used warnings in _itowa.c.

11 years agoFix __bswap_64 return type in generic bits/byteswap.h.
Joseph Myers [Tue, 20 Nov 2012 00:04:45 +0000 (00:04 +0000)]
Fix __bswap_64 return type in generic bits/byteswap.h.

11 years agoFix unused-variable warnings from MIPS RESOLVE_GOTSYM macro.
Joseph Myers [Tue, 20 Nov 2012 00:00:35 +0000 (00:00 +0000)]
Fix unused-variable warnings from MIPS RESOLVE_GOTSYM macro.

11 years agoHurd: fixes for ptsname and ptsname_r
Pino Toscano [Mon, 19 Nov 2012 23:49:11 +0000 (00:49 +0100)]
Hurd: fixes for ptsname and ptsname_r

ptsname_r on failure returns the value that is also set as errno; furthermore,
add more checks to it:
- set errno and return it on __term_get_peername failure
- set errno to ERANGE other than returning it
- change the type of PEERNAME to string_t, and check its length with __strnlen

In ptsname:
- change the type of PEERNAME to string_t
- do not set errno manually, since ptsname_r has set it already

11 years agoFix spurious underflows in ldbl-128 atan implementation.
David S. Miller [Mon, 19 Nov 2012 23:26:52 +0000 (15:26 -0800)]
Fix spurious underflows in ldbl-128 atan implementation.

With help from Joseph Myers.
* sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
very large arguments properly.
* math/libm-test.inc (atan_test): New tests.
(atan2_test): New tests.
* sysdeps/sparc/fpu/libm-test-ulps: Update.
* sysdeps/x86_64/fpu/libm-test-ulps: Update.

11 years agoFix _POSIX_TZNAME_MAX for older POSIX (bug 14856).
Joseph Myers [Mon, 19 Nov 2012 23:36:20 +0000 (23:36 +0000)]
Fix _POSIX_TZNAME_MAX for older POSIX (bug 14856).

11 years agoFix unused variable warnings from MIPS syscall macros.
Joseph Myers [Mon, 19 Nov 2012 23:08:27 +0000 (23:08 +0000)]
Fix unused variable warnings from MIPS syscall macros.

11 years agoconformtest: Clean up expectations for POSIX for more headers.
Joseph Myers [Mon, 19 Nov 2012 22:21:47 +0000 (22:21 +0000)]
conformtest: Clean up expectations for POSIX for more headers.

11 years agoconformtest: Clean up expectations for POSIX for various headers.
Joseph Myers [Mon, 19 Nov 2012 22:20:44 +0000 (22:20 +0000)]
conformtest: Clean up expectations for POSIX for various headers.

11 years agoconformtest: Fix miscellaneous expectations for XPG4.
Joseph Myers [Mon, 19 Nov 2012 22:19:11 +0000 (22:19 +0000)]
conformtest: Fix miscellaneous expectations for XPG4.

11 years agoDefine siginfo_t in signal.h for XPG4 (bug 14835).
Joseph Myers [Mon, 19 Nov 2012 22:17:58 +0000 (22:17 +0000)]
Define siginfo_t in signal.h for XPG4 (bug 14835).

11 years agoFix ug_CN
Eagle Burkut [Mon, 19 Nov 2012 19:12:54 +0000 (20:12 +0100)]
Fix ug_CN

[BZ #13759]
* locales/ug_CN (LC_COLLATE, LC_TIME, LC_MESSAGES): Fix entries.

11 years agomuntrace: reset file and hooks before finalizing the stream
Pino Toscano [Mon, 19 Nov 2012 19:01:00 +0000 (20:01 +0100)]
muntrace: reset file and hooks before finalizing the stream

fclose will call free, invoking its hook, then fprintf which would indirectly
try to allocate a buffer, and this can cause malloc to be used (thus its hook
to be invoked) if libio uses malloc instead of mmap; given any malloc/free hook
locks the internal lock, this leads to a deadlock.

To prevent this hook roundtrip at muntrace, first unset MALLSTREAM and the
hooks, and only after that close the trace file.

11 years agoHurd: implement syncfs
Pino Toscano [Mon, 19 Nov 2012 18:34:07 +0000 (19:34 +0100)]
Hurd: implement syncfs

11 years agoAArch64: Adding optimized maths functions.
Marcus Shawcroft [Mon, 19 Nov 2012 15:15:18 +0000 (15:15 +0000)]
AArch64: Adding optimized maths functions.

11 years agoReturn EAI_SYSTEM if we're out of file descriptors
Siddhesh Poyarekar [Mon, 19 Nov 2012 07:31:43 +0000 (13:01 +0530)]
Return EAI_SYSTEM if we're out of file descriptors

Resolves BZ #14719.

11 years agobindresvport() uses two static variables port and startport which are not
Peng Haitao [Mon, 19 Nov 2012 06:53:07 +0000 (01:53 -0500)]
bindresvport() uses two static variables port and startport which are not
protected. It is not safe when in multithread circumstance.

bindresvport() select a port number from the range 512 to 1023, when in
multithread circumstance, the port may be 1024. So the static variables will be
protected.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Reviewed-by: Carlos O'Donell <carlos@systemhalted.org>
11 years agoAdd ldconfig cache tag handling for AArch64
Steve McIntyre [Mon, 19 Nov 2012 06:22:33 +0000 (01:22 -0500)]
Add ldconfig cache tag handling for AArch64

* sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
* elf/cache.c (print_entry): Print ",AArch64" for
FLAG_AARCH64_LIB64.

Signed-off-by: Steve McIntyre <steve.mcintyre@linaro.org>
Reviewed-by: Carlos O'Donell <carlos@systemhalted.org>
11 years agoAdd ldconfig cache tag handling for ARM hard-float ABI
Steve McIntyre [Mon, 19 Nov 2012 06:12:53 +0000 (01:12 -0500)]
Add ldconfig cache tag handling for ARM hard-float ABI

* sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
* elf/cache.c (print_entry): Print ",hard-float" for
FLAG_ARM_LIBHF.

Signed-off-by: Steve McIntyre <steve.mcintyre@linaro.org>
Reviewed-by: Carlos O'Donell <carlos@systemhalted.org>
11 years agohppa: Mark __pthread_once as a hidden def.
Carlos O'Donell [Mon, 19 Nov 2012 05:55:04 +0000 (00:55 -0500)]
hppa: Mark __pthread_once as a hidden def.

11 years agohppa: Fix fesetenv for FE_DFL_ENV.
Carlos O'Donell [Mon, 19 Nov 2012 05:44:00 +0000 (00:44 -0500)]
hppa: Fix fesetenv for FE_DFL_ENV.

Switching back to FE_DFL_ENV should reset the FPU to the state
as it was at the start of the program.

11 years agohppa: Implement get-rounding-mode.h
Carlos O'Donell [Mon, 19 Nov 2012 05:40:05 +0000 (00:40 -0500)]
hppa: Implement get-rounding-mode.h

Implement get_rounding_mode using the new fpu_control.h
support. Use get_rounding_mode from fegetround.

11 years agohppa: Implement fpu_control.h.
Carlos O'Donell [Mon, 19 Nov 2012 05:37:56 +0000 (00:37 -0500)]
hppa: Implement fpu_control.h.

The HP-PARISC processor has full IEEE-754 support
and we implement all of fpu_control.h.

11 years agohppa: Add ____longjmp_check C implementation.
Carlos O'Donell [Mon, 19 Nov 2012 05:36:08 +0000 (00:36 -0500)]
hppa: Add ____longjmp_check C implementation.

11 years agohppa: Implement __longjmp_chk.
Carlos O'Donell [Mon, 19 Nov 2012 05:28:30 +0000 (00:28 -0500)]
hppa: Implement __longjmp_chk.

Implement longjmp and the chk variant in C.

11 years agoCorrect tinyness handling in long-double and float y0/y1.
David S. Miller [Sun, 18 Nov 2012 20:33:53 +0000 (12:33 -0800)]
Correct tinyness handling in long-double and float y0/y1.

With help from Joseph Myers.
* sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
cutoff to 2**-13.
* sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
cutoff to 2**-25.
* sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
small.
* sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
* math/libm-test.inc (y0_test): New tests.
(y1_test): New tests.
* sysdeps/i386/fpu/libm-test-ulps: Update.
* sysdeps/x86_64/fpu/libm-test-ulps: Update.
* sysdeps/sparc/fpu/libm-test-ulps: Update.

11 years agoFix ifunc configure check for 64-bit targets
Andreas Schwab [Tue, 30 Oct 2012 20:51:58 +0000 (21:51 +0100)]
Fix ifunc configure check for 64-bit targets

11 years agom68k: fix cancellable syscall with 5 or 6 arguments
Andreas Schwab [Sun, 18 Nov 2012 00:07:22 +0000 (01:07 +0100)]
m68k: fix cancellable syscall with 5 or 6 arguments

11 years agom68k: define ELF_MACHINE_RUNTIME_FIXUP_PARAMS
Andreas Schwab [Thu, 15 Nov 2012 18:34:31 +0000 (19:34 +0100)]
m68k: define ELF_MACHINE_RUNTIME_FIXUP_PARAMS

11 years agom68k: update libm test ULPs
Andreas Schwab [Tue, 6 Nov 2012 21:34:29 +0000 (22:34 +0100)]
m68k: update libm test ULPs

11 years agom68k: define lll_futex_timed_wait_bitset
Andreas Schwab [Tue, 6 Nov 2012 20:21:53 +0000 (21:21 +0100)]
m68k: define lll_futex_timed_wait_bitset

11 years agoFix BZ #14811 for ldbl-128 too.
David S. Miller [Sat, 17 Nov 2012 05:39:54 +0000 (21:39 -0800)]
Fix BZ #14811 for ldbl-128 too.

[BZ #14811]
* sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
nonzero exponents with absolute value below 0x1p-128 to +/-
0x1p-128.

11 years agoInclude string.h in sysdeps/unix/sysv/linux/fxstatat.c.
Joseph Myers [Sat, 17 Nov 2012 03:43:53 +0000 (03:43 +0000)]
Include string.h in sysdeps/unix/sysv/linux/fxstatat.c.

11 years agoFix "set but not used" warnings from MIPS bits/atomic.h.
Joseph Myers [Sat, 17 Nov 2012 03:35:27 +0000 (03:35 +0000)]
Fix "set but not used" warnings from MIPS bits/atomic.h.

11 years agoRemove ELF_MACHINE_NO_PLT conditionals.
Joseph Myers [Sat, 17 Nov 2012 01:51:20 +0000 (01:51 +0000)]
Remove ELF_MACHINE_NO_PLT conditionals.

11 years agoGenerate /usr/libexec/getconf files when cross-compiling.
Joseph Myers [Sat, 17 Nov 2012 01:49:19 +0000 (01:49 +0000)]
Generate /usr/libexec/getconf files when cross-compiling.

11 years agocheck-local-headers: ignore Mach kernel headers
Pino Toscano [Fri, 16 Nov 2012 17:55:19 +0000 (18:55 +0100)]
check-local-headers: ignore Mach kernel headers

11 years agoiconv: Fix -c
Andrej Lajovic [Fri, 16 Nov 2012 17:48:36 +0000 (18:48 +0100)]
iconv: Fix -c

2012-11-16  Andrej Lajovic  <natrij@gmail.com>

[BZ #14672]
* iconv/iconv_prog.c (main): Fix -c handling of '/'.

11 years agoDon't generate underflow for very small values in log1pl.
David S. Miller [Fri, 16 Nov 2012 17:31:38 +0000 (09:31 -0800)]
Don't generate underflow for very small values in log1pl.

* sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
smaller than LDBL_EPSILON/2.0L, just return xm1.

11 years agoSet constructor/destructor priority to 1000
H.J. Lu [Fri, 16 Nov 2012 15:40:38 +0000 (07:40 -0800)]
Set constructor/destructor priority to 1000

11 years agoAdd szl_PL
Andreas Jaeger [Fri, 16 Nov 2012 14:22:11 +0000 (15:22 +0100)]
Add szl_PL

[BZ #14368]
* locales/szl_PL: New Silesian Language Locale for Poland.
Contributed by Przemyslaw Buczkowski <przemub@yahoo.pl>.
* localedata/SUPPORTED (SUPPORTED-LOCALES): Add szl_PL.

11 years agoprintf should return negative value on error
Siddhesh Poyarekar [Fri, 16 Nov 2012 13:43:11 +0000 (19:13 +0530)]
printf should return negative value on error

[BZ #11741]
Fixed bug where printf and family may return a spurious success when
printing padded formats.

11 years agoNote in a comment that references to C++ bits are obsolete
Siddhesh Poyarekar [Fri, 16 Nov 2012 13:26:31 +0000 (18:56 +0530)]
Note in a comment that references to C++ bits are obsolete

libio is not used by libstdc++ anymore, but there are references to
streambuf are all over.

11 years agoAdd ayc_PE locale
Andreas Jaeger [Fri, 16 Nov 2012 08:39:10 +0000 (09:39 +0100)]
Add ayc_PE locale

[BZ # 14828]
* locales/ayc_PE: Add Aymara locale for Peru
contributed by Chris Leonard <cjl@sugarlabs.org> and
Amos Batto <amosbatto@yahoo.com>.
* SUPPORTED (SUPPORTED-LOCALES): Add ayc_PE.

11 years agoAdd nhn_MX locale
Andreas Jaeger [Fri, 16 Nov 2012 08:36:48 +0000 (09:36 +0100)]
Add nhn_MX locale

[BZ # 14501]
* locales/nhn_MX: Add Central Nahuatl locale for Mexico,
contributed by Jorge Becerril <jrbecster@gmail.com>.
* SUPPORTED (SUPPORTED-LOCALES): Add nhn_MX.

11 years agoCorrect L10n of country-name and lang-name in km_KH
Chris Leonard [Thu, 15 Nov 2012 18:35:15 +0000 (19:35 +0100)]
Correct L10n of country-name and lang-name in km_KH

[BZ #13952]
* locales/km_KH: Correct country-name and lang-name.

11 years agoFix buffer overflow in libm-test.inc check_complex()
Marcus Shawcroft [Thu, 15 Nov 2012 18:02:03 +0000 (18:02 +0000)]
Fix buffer overflow in libm-test.inc check_complex()

11 years ago[BZ #13603, 13604, 13698] Three new locales
Andreas Jaeger [Thu, 15 Nov 2012 10:37:17 +0000 (11:37 +0100)]
[BZ #13603, 13604, 13698] Three new locales

[BZ #13603]
[BZ #13604]
[BZ #13698]
* locales/doi_IN: New file, contributed by Pravin Satpute
<psatpute@redhat.com> and Sushil Badyal <badyalsk@gmail.com>.
* locales/mni_IN: New file, contributed by Pravin Satpute
<psatpute@redhat.com> and Rebika Devi <rebika_srd@rediffmail.com>.
* locales/sat_IN: New file, contributed by Pravin Satpute
<psatpute@redhat.com> and Thakur Prasad Murmu <tp_murmu@yahoo.com>.
* SUPPORTED (SUPPORTED-LOCALES): Add doi_IN, mni_IN, sat_IN.

11 years ago2012-11-15 Chris Leonard <cjlhomeaddress@gmail.com>
Chris Leonard [Thu, 15 Nov 2012 08:20:20 +0000 (09:20 +0100)]
2012-11-15  Chris Leonard  <cjlhomeaddress@gmail.com>

[BZ #13950]
* locales/bo_CN (LC_NAME, LC_ADDRESS): Remove some FIXMEs with
proper content, disable others.
* locales/bo_IN (LC_NAME, LC_ADDRESS): Likewise.

11 years agoUpdate --version copyright dates for memusagestat and pcprofiledump.
Joseph Myers [Thu, 15 Nov 2012 01:01:33 +0000 (01:01 +0000)]
Update --version copyright dates for memusagestat and pcprofiledump.

11 years agoSkip audit if l_reloc_result is NULL
H.J. Lu [Wed, 14 Nov 2012 23:44:40 +0000 (15:44 -0800)]
Skip audit if l_reloc_result is NULL

11 years agoFix thumb2 build breakage in libcrypt
Marcus Shawcroft [Wed, 14 Nov 2012 23:06:40 +0000 (23:06 +0000)]
Fix thumb2 build breakage in libcrypt

11 years agoAdding missing -fexception CFLAGS
Marcus Shawcroft [Wed, 14 Nov 2012 12:35:10 +0000 (12:35 +0000)]
Adding missing -fexception CFLAGS

11 years agoAdd support for sparc cryptographic hash opcodes.
David S. Miller [Mon, 12 Nov 2012 23:17:31 +0000 (15:17 -0800)]
Add support for sparc cryptographic hash opcodes.

* crypt/Makefile: Move test targets after toplevel Rules
inclusion.  Grab any necessary sysdep routines when linking.
* crypt/md5.c (md5_process_block): Remove define, we will always
name it __md5_process_block.
(md5_finish_ctx): Update md5_process_block call.
(md5_stream): Likewise.
(md5_process_bytes): Likewise.
(md5_process_block): Rename to __md5_process_block and move to ...
* crypt/md5-block.c: ... here.
* crypt/sha256.c (sha256_process_block): Move to ...
* crypt/sha256-block.c: ... here.
* crypt/sha512.c (sha512_process_block): Move to ...
* crypt/sha512-block.c: ... here.
* locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
path.
* sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
* sysdeps/sparc/sparc64/multiarch/Makefile
(libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
crypt subdir.
(localedef-aux): Add md5 crypto assembler when in locale subdir.
* sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
multiarch changes.
* sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
* sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
* sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
* sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
* sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
* sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
* sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
* sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
* sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
file.
* sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
* sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
file.
* sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.

11 years agoUpdate tzcode from upstream git and support --with-bugurl for it.
Joseph Myers [Tue, 13 Nov 2012 22:25:45 +0000 (22:25 +0000)]
Update tzcode from upstream git and support --with-bugurl for it.

11 years agoDefine IPPORT_RESERVED in netdb.h for XPG4 and UNIX98 (bug 14838).
Joseph Myers [Tue, 13 Nov 2012 18:11:49 +0000 (18:11 +0000)]
Define IPPORT_RESERVED in netdb.h for XPG4 and UNIX98 (bug 14838).

11 years agoFix missing truncation UNDERFLOW.
Marcus Shawcroft [Tue, 13 Nov 2012 17:01:05 +0000 (17:01 +0000)]
Fix missing truncation UNDERFLOW.

11 years agoFix check-localplt regressions on sparc.
David S. Miller [Sun, 11 Nov 2012 23:46:01 +0000 (15:46 -0800)]
Fix check-localplt regressions on sparc.

* sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
inttypes.h
(__get_clockfreq_via_proc_openprom): Use __open, __read, and
__close rather than their public counterparts.

11 years agoNEWS entry for AArch64 port.
Marcus Shawcroft [Fri, 9 Nov 2012 23:18:49 +0000 (23:18 +0000)]
NEWS entry for AArch64 port.

11 years agoconformtest: Fix miscellaneous UNIX98 expectations.
Joseph Myers [Sat, 10 Nov 2012 01:13:39 +0000 (01:13 +0000)]
conformtest: Fix miscellaneous UNIX98 expectations.

11 years agoFix typo in ChangeLog.
Joseph Myers [Sat, 10 Nov 2012 00:32:21 +0000 (00:32 +0000)]
Fix typo in ChangeLog.

11 years agoUse glibc version information in zic and zdump.
Joseph Myers [Sat, 10 Nov 2012 00:31:20 +0000 (00:31 +0000)]
Use glibc version information in zic and zdump.

11 years agoUse unmodified tzselect.ksh in glibc.
Joseph Myers [Fri, 9 Nov 2012 23:42:31 +0000 (23:42 +0000)]
Use unmodified tzselect.ksh in glibc.

11 years agoRemove $(format-me) and fix indentation.
Joseph Myers [Fri, 9 Nov 2012 23:01:03 +0000 (23:01 +0000)]
Remove $(format-me) and fix indentation.

11 years agoSupport --with-pkgversion and --with-bugurl.
Joseph Myers [Fri, 9 Nov 2012 22:13:45 +0000 (22:13 +0000)]
Support --with-pkgversion and --with-bugurl.

11 years agoUpdate tzcode to 2012i.
Joseph Myers [Fri, 9 Nov 2012 21:20:57 +0000 (21:20 +0000)]
Update tzcode to 2012i.

11 years agoDeclare ecvt, fcvt, gcvt, mktemp in stdlib.h for XOPEN2K (bug 14824).
Joseph Myers [Fri, 9 Nov 2012 21:16:58 +0000 (21:16 +0000)]
Declare ecvt, fcvt, gcvt, mktemp in stdlib.h for XOPEN2K (bug 14824).

11 years agoFix sunrpc 64-bit (especially big-endian) issues (bug 14821).
Joseph Myers [Fri, 9 Nov 2012 18:21:59 +0000 (18:21 +0000)]
Fix sunrpc 64-bit (especially big-endian) issues (bug 14821).

11 years agoAArch64 Port
Marcus Shawcroft [Fri, 9 Nov 2012 17:53:51 +0000 (17:53 +0000)]
AArch64 Port

11 years agoPowerPC: Use <bits/fcntl-linux.h>
Andreas Jaeger [Fri, 9 Nov 2012 15:41:38 +0000 (16:41 +0100)]
PowerPC: Use <bits/fcntl-linux.h>

* sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
definitions and declarations that are provided by
<bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.

11 years agoS/390: Add hwcap value for transactional execution.
Andreas Krebbel [Thu, 8 Nov 2012 08:53:00 +0000 (09:53 +0100)]
S/390: Add hwcap value for transactional execution.

11 years agoAdjust comment above AArch64 relocs.
Marcus Shawcroft [Thu, 8 Nov 2012 08:19:30 +0000 (08:19 +0000)]
Adjust comment above AArch64 relocs.

11 years agoFix NULL ucontext->uc_link handling on sparc64.
David S. Miller [Thu, 8 Nov 2012 05:00:09 +0000 (21:00 -0800)]
Fix NULL ucontext->uc_link handling on sparc64.

* sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
(__start_context): Declare.
(__makecontext_ret): Delete.
(__makecontext): Hook up __start_context instead of
__makecontext_ret.
* sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
(sysdep_routines): Add __start_context when in stdlib.

11 years agoUse configured $(NM), $(OBJDUMP), $(READELF) in tst-xmmymm.sh.
Joseph Myers [Thu, 8 Nov 2012 00:01:46 +0000 (00:01 +0000)]
Use configured $(NM), $(OBJDUMP), $(READELF) in tst-xmmymm.sh.

11 years agoAlso run tst-xmmymm.sh on i386 ld.so
H.J. Lu [Fri, 2 Nov 2012 08:15:07 +0000 (01:15 -0700)]
Also run tst-xmmymm.sh on i386 ld.so