platform/upstream/glibc.git
12 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.

12 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.

12 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).

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

12 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.

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

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

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

12 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.

12 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.

12 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.

12 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.

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

12 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).

12 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).

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

12 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>.

12 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.

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

12 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.

12 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.

12 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

12 years agoconformtest: Fix pthreads expectations for XPG3 / XPG4 / UNIX98.
Joseph Myers [Wed, 7 Nov 2012 19:42:20 +0000 (19:42 +0000)]
conformtest: Fix pthreads expectations for XPG3 / XPG4 / UNIX98.

12 years agoconformtest: Fix setenv / unsetenv expectations.
Joseph Myers [Wed, 7 Nov 2012 19:41:38 +0000 (19:41 +0000)]
conformtest: Fix setenv / unsetenv expectations.

12 years agoconformtest: Fix isnan function return type.
Joseph Myers [Wed, 7 Nov 2012 19:41:03 +0000 (19:41 +0000)]
conformtest: Fix isnan function return type.

12 years agoconformtest: Fix sys/mman.h expectations for UNIX98.
Joseph Myers [Wed, 7 Nov 2012 19:38:39 +0000 (19:38 +0000)]
conformtest: Fix sys/mman.h expectations for UNIX98.

12 years agoconformtest: Only expect mknodat for XOPEN2K8.
Joseph Myers [Wed, 7 Nov 2012 19:37:52 +0000 (19:37 +0000)]
conformtest: Only expect mknodat for XOPEN2K8.

12 years agoconformtest: Clean up / correct / expand C99 and C11 expectations.
Joseph Myers [Wed, 7 Nov 2012 19:36:48 +0000 (19:36 +0000)]
conformtest: Clean up / correct / expand C99 and C11 expectations.

12 years ago2012-11-07 Andreas Jaeger <aj@suse.de>
Jeff Law [Wed, 7 Nov 2012 18:58:37 +0000 (11:58 -0700)]
2012-11-07  Andreas Jaeger  <aj@suse.de>

        [BZ #14809]
        * sysdeps/unix/sysv/linux/sys/sysctl.h (_UAPI_LINUX_KERNEL_H)
        (_UAPI_LINUX_TYPES_H): Starting with Linux 3.7, the include header
        guards are changed.  Only define if not yet defined, #undef back
        after including linux/sysctl.h if defined here.

12 years agoNEWS update for closing 14815.
Roland McGrath [Wed, 7 Nov 2012 18:22:28 +0000 (10:22 -0800)]
NEWS update for closing 14815.

12 years agoBZ#14815: Manual typo fix.
Roland McGrath [Wed, 7 Nov 2012 18:21:59 +0000 (10:21 -0800)]
BZ#14815: Manual typo fix.

12 years agoUpdate language in ChangeLog.tile.
Chris Metcalf [Wed, 7 Nov 2012 18:19:54 +0000 (13:19 -0500)]
Update language in ChangeLog.tile.

12 years agolocales/ru_RU: fix abbreviated month names
Dmitry V. Levin [Tue, 28 Aug 2012 22:04:10 +0000 (22:04 +0000)]
locales/ru_RU: fix abbreviated month names

[BZ#14807]
* locales/ru_RU (abmon): Change back from genitive to nominative,
apply fixed three-letter abbreviation form, remove trailing dots.

12 years agolocales/ru_RU: fix abbreviated day names
Dmitry V. Levin [Tue, 28 Aug 2012 21:59:07 +0000 (21:59 +0000)]
locales/ru_RU: fix abbreviated day names

[BZ#10873]
* locales/ru_RU (abday): Remove trailing dots.

12 years agoAdding AArch64 support to elf/elf.h
Marcus Shawcroft [Wed, 7 Nov 2012 13:32:08 +0000 (13:32 +0000)]
Adding AArch64 support to elf/elf.h

12 years agoFix spurious underflows from pow with results close to 1 (bug 14811).
Joseph Myers [Wed, 7 Nov 2012 13:03:31 +0000 (13:03 +0000)]
Fix spurious underflows from pow with results close to 1 (bug 14811).

12 years agoS/390: Sync AUXV capabilities and archs with kernel
Andreas Krebbel [Wed, 7 Nov 2012 07:44:35 +0000 (08:44 +0100)]
S/390: Sync AUXV capabilities and archs with kernel

12 years agoconformtest: Fix typo in CLK_TCK condition.
Joseph Myers [Wed, 7 Nov 2012 04:05:12 +0000 (04:05 +0000)]
conformtest: Fix typo in CLK_TCK condition.

12 years agotile: use memcpy in memmove when possible
Chris Metcalf [Wed, 7 Nov 2012 03:19:31 +0000 (22:19 -0500)]
tile: use memcpy in memmove when possible

12 years agoUse memcpy in memmove when possible
Maxim Kuvyrkov [Wed, 7 Nov 2012 01:47:55 +0000 (17:47 -0800)]
Use memcpy in memmove when possible

12 years agoUpdate from translation team for Esperanto
Andreas Jaeger [Tue, 6 Nov 2012 19:11:07 +0000 (20:11 +0100)]
Update from translation team for Esperanto

12 years agoBump timeouts on some new nptl tests to support tilepro.
Chris Metcalf [Tue, 6 Nov 2012 18:10:19 +0000 (13:10 -0500)]
Bump timeouts on some new nptl tests to support tilepro.

12 years agotile: use atomic op to unlock pthread_spinlock_t
Chris Metcalf [Tue, 6 Nov 2012 14:43:58 +0000 (09:43 -0500)]
tile: use atomic op to unlock pthread_spinlock_t

Atomic ops are issued directly from the core, rather than
potentially sitting in the write buffer, so can improve the
performance of other waiters.  In addition, if we didn't end
up pulling a copy of the cache line where the lock is into cache,
by using an atomic op we don't have to acquire the cache line
before we can unlock.

12 years agoMake ieee754 fma tolerate architectures without exception support.
Chris Metcalf [Mon, 5 Nov 2012 16:36:09 +0000 (11:36 -0500)]
Make ieee754 fma tolerate architectures without exception support.

12 years agotile: support very large shared objects
Chris Metcalf [Mon, 5 Nov 2012 15:43:40 +0000 (10:43 -0500)]
tile: support very large shared objects

With gcc 4.8 tilegx has support for -mcmodel=large, to tolerate very
large shared objects.  This option changes the compiler output to
not include direct jump instructions, which have a range of only
2^30, i.e +/- 512MB.  Instead the compiler marshalls the target PCs
into registers and then uses jump- or call-to-register instructions.

For glibc, the upshot is that we need to arrange for a few functions
to tolerate the possibility of a large range between the PC and
the target.  In particular, the crti.S and start.S code needs
to be able to reach from .init to the PLT, as does gmon-start.c.
The elf-init.c code has the reverse problem, needing to call from
libc_nonshared.a (linked at the end of shared objects) back to the
_init section at the beginning.

No other functions in *_nonshared.a need to be built this way, as
they only call the PLT (or potentially each other), but all of that
code is linked at the very end of the shared object.

We don't build the standard -static archives with this option as the
performance cost is high enough and the use case is rare enough that
it doesn't seem worthwhile.  Instead, we would encourage developers
who need the -static model with huge executables to build a private
copy of glibc and configure it with -mcmodel=large.

Note that libc.so et al don't need any changes; the only changes
are for code that is statically linked into user code built with
-mcmodel=large.

For the assembly code, I just rewrote it so that it unconditionally
uses the large model.  To be able to pass -mcmodel=large to
csu/elf-init.c and csu/gmon-start.c, I need to check to see if the
compiler supports that flag, since gcc 4.7 doesn't; I added the
support by creating a small Makefile fragment that just runs the
compiler to check.

12 years agotile: improve simulator notification for relative paths in dlopen
Chris Metcalf [Fri, 2 Nov 2012 17:49:42 +0000 (13:49 -0400)]
tile: improve simulator notification for relative paths in dlopen

Normally, the simulator is notified of absolute pathnames by the
_dl_load_hook hook.  However, when a relative pathname is used, the
simulator may not know that the relative path matches a path that
it could figure out in the file system that it has access to.
Instead we provide a simplified version of the realpath function
so we can pass a plausible absolute pathname to the simulator.

Since we're now doing more work at object load time, we also add
a guard so we do no work at all if we're not running on the simulator.

12 years agoOptimize tile (mostly tilegx) memcpy and memmove performance.
Chris Metcalf [Fri, 2 Nov 2012 16:53:57 +0000 (12:53 -0400)]
Optimize tile (mostly tilegx) memcpy and memmove performance.

- Override <memcopy.h> so we use full 8-byte word copies on tilegx32
  for memmove, then use op_t in memcpy instead of the previous
  locally-defined word_t just to avoid proliferating identical types.
- Fix bug in memcpy prefetch that caused us to never prefetch past
  the first cache line.
- Optimize misaligned memcpy by inlining _wordcopy_fwd_dest_aligned
  instead of just doing a dumb word-at-a-time copy.
- Make memcpy safe for forward copies by doing all the loads from
  a given cache line prior to doing a wh64 (cache line zero-fill)
  on the destination.  Remove now-redundant src == dst check.
- Copy and optimize the generic wordcopy.c routines to use the tile
  "double align" instruction instead of the MERGE macro; to avoid
  offset addressing mode (which tile doesn't have) by rewriting the
  pointer math to load and store with a zero index; and to use
  post-increment addresses in the inner loops to improve scheduling.

12 years agoFix fma underflows with small x * y (bug 14793).
Joseph Myers [Tue, 6 Nov 2012 14:12:54 +0000 (14:12 +0000)]
Fix fma underflows with small x * y (bug 14793).

12 years agoDefine lll_futex_timed_wait_bitset for MIPS.
Joseph Myers [Mon, 5 Nov 2012 22:30:54 +0000 (22:30 +0000)]
Define lll_futex_timed_wait_bitset for MIPS.

12 years agoDefine lll_futex_timed_wait_bitset for ARM.
Joseph Myers [Mon, 5 Nov 2012 22:30:37 +0000 (22:30 +0000)]
Define lll_futex_timed_wait_bitset for ARM.

12 years ago[S390,PPC] Implement FUTEX_WAIT_BITSET for timedwait functions
Siddhesh Poyarekar [Mon, 5 Nov 2012 15:42:10 +0000 (21:12 +0530)]
[S390,PPC] Implement FUTEX_WAIT_BITSET for timedwait functions

Since the FUTEX_WAIT operation takes a relative timeout, the
pthread_cond_timedwait and other timed function implementations have
to get a relative timeout from the absolute timeout parameter it gets
before it makes the futex syscall.  This value is then converted back
into an absolute timeout within the kernel.  This is a waste and has
hence been improved upon by a FUTEX_WAIT_BITSET operation (OR'd with
FUTEX_CLOCK_REALTIME to make the kernel use the realtime clock instead
of the default monotonic clock).  This was implemented only in the x86
and sh assembly code and not in the C code.  This patch implements
support for FUTEX_WAIT_BITSET whenever available (since linux-2.6.29)
for s390 and powerpc.

12 years agoAdd bug 14805 to list of fixed bugs in NEWS.
Joseph Myers [Mon, 5 Nov 2012 13:42:54 +0000 (13:42 +0000)]
Add bug 14805 to list of fixed bugs in NEWS.

12 years agoFix types of FE_DFL_ENV and FE_NOMASK_ENV (bug 14805).
Joseph Myers [Mon, 5 Nov 2012 13:38:40 +0000 (13:38 +0000)]
Fix types of FE_DFL_ENV and FE_NOMASK_ENV (bug 14805).

12 years agoFix S/390 bits/fenv.h namespace use (bug 14801).
Joseph Myers [Mon, 5 Nov 2012 13:16:07 +0000 (13:16 +0000)]
Fix S/390 bits/fenv.h namespace use (bug 14801).

12 years ago[BZ #3665] Regenerate sysdeps/mach/hurd/bits/errno.h.
Samuel Thibault [Sun, 22 Jul 2007 11:50:04 +0000 (13:50 +0200)]
[BZ #3665] Regenerate sysdeps/mach/hurd/bits/errno.h.

12 years ago[BZ #5246] Conditionalize use of PTR_DEMANGLE.
Thomas Schwinge [Sun, 4 Nov 2012 20:46:30 +0000 (21:46 +0100)]
[BZ #5246] Conditionalize use of PTR_DEMANGLE.

12 years agoFix fma overflow results outside round-to-nearest mode (bug 14797).
Joseph Myers [Sun, 4 Nov 2012 19:26:02 +0000 (19:26 +0000)]
Fix fma overflow results outside round-to-nearest mode (bug 14797).

12 years ago[BZ #157] Remove include/stub-tag.h for good.
Thomas Schwinge [Sun, 4 Nov 2012 18:59:40 +0000 (19:59 +0100)]
[BZ #157] Remove include/stub-tag.h for good.

12 years ago[BZ #11638] has been fixed.
Thomas Schwinge [Sun, 4 Nov 2012 14:36:32 +0000 (15:36 +0100)]
[BZ #11638] has been fixed.

In commit bea9b19322c77265033a068ac60c95a37e798a80 already.

12 years agogeneric paths.h: remove old paths from _PATH_STDPATH
Pino Toscano [Sun, 4 Nov 2012 09:11:39 +0000 (10:11 +0100)]
generic paths.h: remove old paths from _PATH_STDPATH

Remove /usr/contrib/bin and /usr/old/bin from _PATH_STDPATH, since they seem
to be part only of old BSDs, Solaris and HP-UX.

12 years agoFix small indendation issues in paths.h files
Pino Toscano [Sun, 4 Nov 2012 09:10:58 +0000 (10:10 +0100)]
Fix small indendation issues in paths.h files

12 years agoFix coding style in sparc lowlevellock.h
David S. Miller [Sat, 3 Nov 2012 22:25:47 +0000 (15:25 -0700)]
Fix coding style in sparc lowlevellock.h

nptl/

* sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP):
Add missing spaces.
(__cpu_relax): Likewise.

12 years agoMake fma use of Dekker and Knuth algorithms use round-to-nearest (bug 14796).
Joseph Myers [Sat, 3 Nov 2012 19:48:53 +0000 (19:48 +0000)]
Make fma use of Dekker and Knuth algorithms use round-to-nearest (bug 14796).

12 years agoMake fenv.h FE_* macros usable in #if (bug 3439).
Joseph Myers [Sat, 3 Nov 2012 17:07:56 +0000 (17:07 +0000)]
Make fenv.h FE_* macros usable in #if (bug 3439).

12 years agotile: Account for new tests (missed test-double changes)
Chris Metcalf [Sat, 3 Nov 2012 12:46:09 +0000 (08:46 -0400)]
tile: Account for new tests (missed test-double changes)

12 years agoelf.h: add new tilegx relocations (copy from binutils trunk)
Chris Metcalf [Sat, 3 Nov 2012 12:39:40 +0000 (08:39 -0400)]
elf.h: add new tilegx relocations (copy from binutils trunk)

12 years agoMake cross-test-ssh.sh compatible with a remote POSIX sh
Andreas Schwab [Fri, 2 Nov 2012 17:33:33 +0000 (18:33 +0100)]
Make cross-test-ssh.sh compatible with a remote POSIX sh

12 years agoCompile x86 rtld with -mno-sse -mno-mmx
H.J. Lu [Sat, 3 Nov 2012 01:43:27 +0000 (18:43 -0700)]
Compile x86 rtld with -mno-sse -mno-mmx

12 years agoconformtest: Add test data for fenv.h.
Joseph Myers [Fri, 2 Nov 2012 23:21:36 +0000 (23:21 +0000)]
conformtest: Add test data for fenv.h.

12 years agoconformtest: Enable complex.h and inttypes.h testing for XOPEN2K8.
Joseph Myers [Fri, 2 Nov 2012 23:20:43 +0000 (23:20 +0000)]
conformtest: Enable complex.h and inttypes.h testing for XOPEN2K8.

12 years agoconformtest: Fix sys/wait.h expectations for struct rusage.
Joseph Myers [Fri, 2 Nov 2012 22:12:09 +0000 (22:12 +0000)]
conformtest: Fix sys/wait.h expectations for struct rusage.

12 years agoMake math.h FP_* macros usable in #if (bug 3439).
Joseph Myers [Fri, 2 Nov 2012 22:11:21 +0000 (22:11 +0000)]
Make math.h FP_* macros usable in #if (bug 3439).

12 years agoFix printf format mismatches
Andreas Schwab [Fri, 2 Nov 2012 19:04:52 +0000 (20:04 +0100)]
Fix printf format mismatches

12 years agoRequire an exact Autoconf version.
Roland McGrath [Fri, 2 Nov 2012 18:19:27 +0000 (11:19 -0700)]
Require an exact Autoconf version.

12 years agoDirect __ppc_get_timebase to __builtin_ppc_get_timebase for GCC 4.8+.
Tulio Magno Quites Machado Filho [Fri, 2 Nov 2012 16:20:39 +0000 (11:20 -0500)]
Direct __ppc_get_timebase to __builtin_ppc_get_timebase for GCC 4.8+.

Adapts __ppc_get_timebase to the upcoming GCC 4.8 that provides
__builtin_ppc_get_timebase.  Building applicationns with previous
versions of GCC will continue to use the internal implementation.

12 years agoTest _ISOMAC in include/sys/syslog.h.
Joseph Myers [Fri, 2 Nov 2012 15:41:37 +0000 (15:41 +0000)]
Test _ISOMAC in include/sys/syslog.h.

12 years agoFix LC_IDENTIFICATION in fi_FI@euro
Marko Myllynen [Fri, 2 Nov 2012 09:37:02 +0000 (11:37 +0200)]
Fix LC_IDENTIFICATION in fi_FI@euro

12 years agoPowerPC: Fix uc_link == NULL handling for makecontex.
Andreas Schwab [Fri, 2 Nov 2012 01:10:39 +0000 (20:10 -0500)]
PowerPC: Fix uc_link == NULL handling for makecontex.

If the function registered with makecontext returns with a NULL context
link the process should exit with zero, not non-zero.

12 years agoPowerPC: Remove unnecessary -mnew-mnemonics.
Tulio Magno Quites Machado Filho [Thu, 1 Nov 2012 23:00:06 +0000 (18:00 -0500)]
PowerPC: Remove unnecessary -mnew-mnemonics.

12 years agoUpdate test-gencat.sh and tst-langinfo.sh
H.J. Lu [Thu, 1 Nov 2012 22:04:39 +0000 (15:04 -0700)]
Update test-gencat.sh and tst-langinfo.sh

12 years agoPut __NO_FPRS__ around floating point opcodes in powerpc32/dl-trampoline.S.
Sebastan Andrzej Siewior [Thu, 1 Nov 2012 21:48:47 +0000 (16:48 -0500)]
Put __NO_FPRS__ around floating point opcodes in powerpc32/dl-trampoline.S.

12 years agoFix build of test cases on GNU Hurd that are statically linked.
Thomas Schwinge [Thu, 1 Nov 2012 17:54:57 +0000 (18:54 +0100)]
Fix build of test cases on GNU Hurd that are statically linked.

12 years agoFix build for !(defined NEED_DL_SYSINFO || defined NEED_DL_SYSINFO_DSO).
Thomas Schwinge [Thu, 1 Nov 2012 17:48:34 +0000 (18:48 +0100)]
Fix build for !(defined NEED_DL_SYSINFO || defined NEED_DL_SYSINFO_DSO).

12 years agoRemove PowerPC sysdep files for GNU Hurd and GNU Mach.
Thomas Schwinge [Thu, 1 Nov 2012 18:41:23 +0000 (19:41 +0100)]
Remove PowerPC sysdep files for GNU Hurd and GNU Mach.

12 years agocheck-local-headers: ignore c++ headers
Andreas Schwab [Thu, 1 Nov 2012 16:42:45 +0000 (17:42 +0100)]
check-local-headers: ignore c++ headers

12 years agoRegenerate all configure scripts.
Thomas Schwinge [Thu, 1 Nov 2012 17:04:56 +0000 (18:04 +0100)]
Regenerate all configure scripts.

12 years agoChange type of constant to avoid a warning.
Thomas Schwinge [Thu, 1 Nov 2012 16:50:30 +0000 (17:50 +0100)]
Change type of constant to avoid a warning.

Warning has been introduced in commit 7583a88d1c7170caad26966bcea8bfc2c92093ba.

12 years agoFix fma (a, b, c) for small a * b (bugs 14784, 14785).
Joseph Myers [Thu, 1 Nov 2012 16:47:26 +0000 (16:47 +0000)]
Fix fma (a, b, c) for small a * b (bugs 14784, 14785).

12 years agoFix a compilation error in the Hurd's bits/param.h.
Thomas Schwinge [Thu, 1 Nov 2012 08:14:30 +0000 (09:14 +0100)]
Fix a compilation error in the Hurd's bits/param.h.

Introduced in the unification in commit
e66a42f57fd20d1c7bbdc5f7937831d13bcf709b.

12 years agoConvert alpha to use <bits/fcntl-linux.h>
Andreas Jaeger [Thu, 1 Nov 2012 05:07:38 +0000 (06:07 +0100)]
Convert alpha to use <bits/fcntl-linux.h>

12 years agoBZ#14743: Move clock_* symbols from librt to libc.
Thomas Schwinge [Thu, 1 Nov 2012 00:55:23 +0000 (01:55 +0100)]
BZ#14743: Move clock_* symbols from librt to libc.

Change missing from commit 6e6249d0b461b952d0f544792372663feb6d792a.

12 years agoBuild SH backtrace with -funwind-tables.
Joseph Myers [Thu, 1 Nov 2012 00:22:53 +0000 (00:22 +0000)]
Build SH backtrace with -funwind-tables.

12 years agoBuild en_US.UTF-8 locale for testing.
Joseph Myers [Thu, 1 Nov 2012 00:22:04 +0000 (00:22 +0000)]
Build en_US.UTF-8 locale for testing.

12 years agoCorrect checking for mmap failure.
Thomas Schwinge [Wed, 31 Oct 2012 23:23:09 +0000 (00:23 +0100)]
Correct checking for mmap failure.

12 years agoFix powerpc abilist sort order
Andreas Schwab [Thu, 11 Oct 2012 09:26:36 +0000 (11:26 +0200)]
Fix powerpc abilist sort order

12 years agoCorrect order of entries in powerpc libc.abilist files.
Tulio Magno Quites Machado Filho [Wed, 31 Oct 2012 22:02:13 +0000 (17:02 -0500)]
Correct order of entries in powerpc libc.abilist files.

12 years agoUpdate powerpc libm ULPs
Andreas Schwab [Thu, 11 Oct 2012 08:22:46 +0000 (10:22 +0200)]
Update powerpc libm ULPs

12 years agoFix ldbl-128ibm atan2l for x near 1.
Joseph Myers [Wed, 31 Oct 2012 20:44:59 +0000 (20:44 +0000)]
Fix ldbl-128ibm atan2l for x near 1.

12 years agoDocument general use of test-wrapper and test-wrapper-env.
Joseph Myers [Wed, 31 Oct 2012 20:43:54 +0000 (20:43 +0000)]
Document general use of test-wrapper and test-wrapper-env.

12 years agoRemove 'Contributed' line, glibc is not using them anymore.
Steve Ellcey [Wed, 31 Oct 2012 20:03:45 +0000 (13:03 -0700)]
Remove 'Contributed' line, glibc is not using them anymore.