Joseph Myers
92e4b6a927
Update tzcode to 2012i.
2012-11-09 21:20:57 +00:00
Joseph Myers
9bde902c76
Declare ecvt, fcvt, gcvt, mktemp in stdlib.h for XOPEN2K (bug 14824).
2012-11-09 21:16:58 +00:00
Joseph Myers
fb1ae1eede
Fix sunrpc 64-bit (especially big-endian) issues (bug 14821).
2012-11-09 18:21:59 +00:00
Andreas Jaeger
2c1adbcb76
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>.
2012-11-09 16:41:38 +01:00
Andreas Krebbel
d0f8457e6b
S/390: Add hwcap value for transactional execution.
2012-11-08 09:53:00 +01:00
Marcus Shawcroft
57241e26e5
Adjust comment above AArch64 relocs.
2012-11-08 08:19:30 +00:00
David S. Miller
60e8270d6c
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.
2012-11-07 21:01:06 -08:00
Joseph Myers
0fbb0fbc2e
Use configured $(NM), $(OBJDUMP), $(READELF) in tst-xmmymm.sh.
2012-11-08 00:01:46 +00:00
H.J. Lu
eb48db7e89
Also run tst-xmmymm.sh on i386 ld.so
2012-11-07 13:50:08 -08:00
Joseph Myers
c4b6cf53d5
conformtest: Fix pthreads expectations for XPG3 / XPG4 / UNIX98.
2012-11-07 19:42:20 +00:00
Joseph Myers
cbe6e12006
conformtest: Fix setenv / unsetenv expectations.
2012-11-07 19:41:38 +00:00
Joseph Myers
1b12644333
conformtest: Fix isnan function return type.
2012-11-07 19:41:03 +00:00
Joseph Myers
b961a5737a
conformtest: Fix sys/mman.h expectations for UNIX98.
2012-11-07 19:40:18 +00:00
Joseph Myers
9e188909df
conformtest: Only expect mknodat for XOPEN2K8.
2012-11-07 19:37:52 +00:00
Joseph Myers
05bcf62afb
conformtest: Clean up / correct / expand C99 and C11 expectations.
2012-11-07 19:36:48 +00:00
Jeff Law
01f34a3bd8
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.
2012-11-07 11:58:37 -07:00
Roland McGrath
7514feb815
BZ#14815: Manual typo fix.
2012-11-07 10:21:59 -08:00
Marcus Shawcroft
19b2ecfcae
Adding AArch64 support to elf/elf.h
2012-11-07 13:32:08 +00:00
Joseph Myers
60e235ee2a
Fix spurious underflows from pow with results close to 1 (bug 14811).
2012-11-07 13:03:31 +00:00
Andreas Krebbel
0ab234b7db
S/390: Sync AUXV capabilities and archs with kernel
2012-11-07 08:52:30 +01:00
Joseph Myers
45832f7473
conformtest: Fix typo in CLK_TCK condition.
2012-11-07 04:05:12 +00:00
Maxim Kuvyrkov
19218757e6
Use memcpy in memmove when possible
2012-11-06 17:47:55 -08:00
Andreas Jaeger
c5f4572124
Update from translation team for Esperanto
2012-11-06 20:11:07 +01:00
Joseph Myers
82477c28f4
Fix fma underflows with small x * y (bug 14793).
2012-11-06 14:12:54 +00:00
Joseph Myers
acfa885ff1
Fix types of FE_DFL_ENV and FE_NOMASK_ENV (bug 14805).
2012-11-05 13:38:40 +00:00
Joseph Myers
99252c8c62
Fix S/390 bits/fenv.h namespace use (bug 14801).
2012-11-05 13:16:07 +00:00
Samuel Thibault
d6d98dea2d
[BZ #3665 ] Regenerate sysdeps/mach/hurd/bits/errno.h.
2012-11-04 22:15:29 +01:00
Thomas Schwinge
e10bb1072c
[BZ #5246 ] Conditionalize use of PTR_DEMANGLE.
2012-11-04 21:46:30 +01:00
Joseph Myers
a0c2940d67
Fix fma overflow results outside round-to-nearest mode (bug 14797).
2012-11-04 19:26:02 +00:00
Thomas Schwinge
b830319d49
[BZ #157 ] Remove include/stub-tag.h for good.
2012-11-04 19:59:40 +01:00
Pino Toscano
a20492cffc
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.
2012-11-04 10:11:39 +01:00
Pino Toscano
72e182e38d
Fix small indendation issues in paths.h files
2012-11-04 10:10:58 +01:00
Joseph Myers
5b5b04d628
Make fma use of Dekker and Knuth algorithms use round-to-nearest (bug 14796).
2012-11-03 19:48:53 +00:00
Joseph Myers
fbeafedeea
Make fenv.h FE_* macros usable in #if (bug 3439).
2012-11-03 17:07:56 +00:00
Chris Metcalf
105ca950d9
elf.h: add new tilegx relocations (copy from binutils trunk)
2012-11-03 08:43:11 -04:00
Andreas Schwab
a542b3894d
Make cross-test-ssh.sh compatible with a remote POSIX sh
2012-11-03 08:06:12 +01:00
H.J. Lu
f62c8abcfb
Compile x86 rtld with -mno-sse -mno-mmx
2012-11-02 18:43:27 -07:00
Joseph Myers
a68d0680f8
conformtest: Add test data for fenv.h.
2012-11-02 23:21:36 +00:00
Joseph Myers
caf7f573e9
conformtest: Enable complex.h and inttypes.h testing for XOPEN2K8.
2012-11-02 23:20:43 +00:00
Joseph Myers
6c073ad6fe
conformtest: Fix sys/wait.h expectations for struct rusage.
2012-11-02 22:12:09 +00:00
Joseph Myers
0155d5b26e
Make math.h FP_* macros usable in #if (bug 3439).
2012-11-02 22:11:21 +00:00
Andreas Schwab
b5dcacb450
Fix printf format mismatches
2012-11-02 22:52:16 +01:00
Roland McGrath
f7934be8f6
Require an exact Autoconf version.
2012-11-02 11:19:27 -07:00
Tulio Magno Quites Machado Filho
d7d08bdede
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.
2012-11-02 11:27:11 -05:00
Joseph Myers
dcdae19a3f
Test _ISOMAC in include/sys/syslog.h.
2012-11-02 15:41:37 +00:00
Andreas Schwab
d6cffd3ec0
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.
2012-11-01 20:10:39 -05:00
Tulio Magno Quites Machado Filho
b3563932f8
PowerPC: Remove unnecessary -mnew-mnemonics.
2012-11-01 18:02:41 -05:00
H.J. Lu
b288a93d56
Update test-gencat.sh and tst-langinfo.sh
2012-11-01 15:04:39 -07:00
Sebastan Andrzej Siewior
a2421a6853
Put __NO_FPRS__ around floating point opcodes in powerpc32/dl-trampoline.S.
2012-11-01 16:48:47 -05:00
Thomas Schwinge
7402596be7
Fix build of test cases on GNU Hurd that are statically linked.
2012-11-01 21:24:45 +01:00
Thomas Schwinge
d0d4f8689d
Fix build for !(defined NEED_DL_SYSINFO || defined NEED_DL_SYSINFO_DSO).
2012-11-01 21:24:44 +01:00
Thomas Schwinge
6f796e1b52
Remove PowerPC sysdep files for GNU Hurd and GNU Mach.
2012-11-01 19:41:23 +01:00
Andreas Schwab
4da224a2d1
check-local-headers: ignore c++ headers
2012-11-01 18:28:24 +01:00
Thomas Schwinge
341dd67392
Change type of constant to avoid a warning.
...
Warning has been introduced in commit 7583a88d1c
.
2012-11-01 17:56:48 +01:00
Joseph Myers
473611b22d
Fix fma (a, b, c) for small a * b (bugs 14784, 14785).
2012-11-01 16:47:26 +00:00
Thomas Schwinge
4078da3d4e
Fix a compilation error in the Hurd's bits/param.h.
...
Introduced in the unification in commit
e66a42f57f
.
2012-11-01 09:18:13 +01:00
Joseph Myers
903252aadb
Build SH backtrace with -funwind-tables.
2012-11-01 00:22:53 +00:00
Thomas Schwinge
cbc818d0ee
Correct checking for mmap failure.
2012-11-01 00:23:09 +01:00
Andreas Schwab
5a03cb1e85
Fix powerpc abilist sort order
2012-10-31 23:28:48 +01:00
Tulio Magno Quites Machado Filho
90aff2ff13
Correct order of entries in powerpc libc.abilist files.
2012-10-31 17:03:55 -05:00
Andreas Schwab
1818fcb781
Update powerpc libm ULPs
2012-10-31 22:20:21 +01:00
Joseph Myers
16a0e2ec87
Fix ldbl-128ibm atan2l for x near 1.
2012-10-31 20:44:59 +00:00
Joseph Myers
0eb6951257
Document general use of test-wrapper and test-wrapper-env.
2012-10-31 20:43:54 +00:00
Joseph Myers
ef82f4da79
Fix fma underflow exceptions in after-rounding edge cases.
2012-10-31 13:01:17 +00:00
H.J. Lu
954ef0d98d
Use sysdeps/x86/tininess.h for i386 and x86_64
2012-10-30 20:38:31 -07:00
Joseph Myers
df61ffb2ac
Support cross-testing for elf/tst-array*.
2012-10-30 23:14:33 +00:00
Chris Metcalf
47cc1490e0
Invoke DL_AFTER_LOAD if defined
...
This hook is useful for any arch-specific functionality that
should be done on loaded objects. For the tile architecture,
the hook is already provided (though we switch to using the new
macro name with this commit) and implements a simulator notifier
so that the simulator can load Elf symbols to match the object
and generate better error messages for PC's.
Also, remove a spurious definition of DL_UNMAP in dl-runtime.c
2012-10-30 14:16:18 -04:00
Chris Metcalf
017678433c
Suppress incorrect link warnings for NSS symbols
...
When glibc is built with --enable-static-nss, the warning that
using NSS symbols requires the nss shared objects to be present
is no longer true, as those symbols are built into libc. Suppress
the warning for those symbols by providing a new macro
(nss_interface_function) for the NSS functions that is defined as
static_link_warning in the normal case, and empty for static NSS.
2012-10-30 14:14:33 -04:00
Andreas Jaeger
8321aa972b
Update Russian translation
2012-10-30 15:52:23 +01:00
Joseph Myers
8627a2329c
Fix fma missing underflows and bad results for some subnormal results (bugs 14152, 14783).
2012-10-30 13:54:50 +00:00
Joseph Myers
2a27fd6dae
Fix strtod handling of underflow (bug 14047).
2012-10-30 13:51:27 +00:00
Andreas Jaeger
e5088dc687
[BZ#14767] Remove tests for have-initfini-array in elf/Makefile
...
* elf/Makefile (tests): Remove conditional for have-initfini-array
since this is now always required and the variable does not exist
anymore.
(tests-static): Likewise.
(modules-names): Likewise.
2012-10-30 09:07:01 +01:00
Andreas Jaeger
e717036357
Add Esperanto translation
2012-10-30 09:04:29 +01:00
Andreas Jaeger
b0988f108c
Fix fini_array and init_array sections
...
* elf/tst-array1.c (fini_array): Make writeable so that it can be
merged with constructor/destructor.
(init_array): Likewise.
* elf/tst-array2dep.c (fini_array): Likewise.
(init_array): Likewise.
2012-10-30 08:59:42 +01:00
Mike Frysinger
60457d8a25
manual: delete nested @cartouche
...
Putting @cartouche inside of @smallexample does not work with HTML output
as the former produces a <table> while the latter produces a <pre>. You
cannot nest a <table> in a <pre> as the contents are no longer formatted.
Since it's entirely unnecessary, and none of the other examples do this,
just drop the cartouche.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-10-29 19:54:47 -04:00
Pino Toscano
94ce799f82
Hurd: fix fdatasync/fsync if the fd does not support file_sync
...
Handle the case of the fd port implementing a stub (EOPNOTSUPP),
properly returning EINVAL.
2012-10-29 19:35:56 +01:00
Pino Toscano
8bece75210
aio_notify: fix _POSIX_REALTIME_SIGNALS check
...
Check that _POSIX_REALTIME_SIGNALS is greater than zero to assume realtime
signals are supported, instead of any non-zero value (including -1).
2012-10-29 19:35:09 +01:00
Andreas Jaeger
86ebe6b133
Remove redundant defines of __O_LARGEFILE
...
* sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
[!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
* sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
[__WORDSIZE != 64]: Likewise.
* sysdeps/unix/sysv/linux/generic/bits/fcntl.h: (__O_LARGEFILE)
[__WORDSIZE != 64]: Do not define, take value from
<bits/fcntl-linux.h>.
2012-10-27 13:49:30 +02:00
H.J. Lu
54399c08c3
Remove ${SHELL} from tst-table.sh/tst-tables.sh
2012-10-26 13:47:25 -07:00
David S. Miller
f303f97c29
Add IFUNC test lists for memcpy/mempcpy/memset on sparc.
...
* sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
ifunc-impl-list.c
* sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
* sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
* sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
file.
2012-10-25 16:34:26 -07:00
David S. Miller
e2211bed12
Fix sparc64 build.
...
* sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
(__get_clockfreq_via_proc_openprom): Use strtoumax instead
of strtoull.
2012-10-25 15:41:32 -07:00
Roland McGrath
1e9d84cdbc
Use __getdents instead of __getdirentries in sparc __get_clockfreq_via_proc_openprom.
2012-10-25 14:49:28 -07:00
Joseph Myers
df381762dc
Add cross-test-ssh.sh.
2012-10-25 19:17:45 +00:00
Pino Toscano
bff6491355
Hurd: ptrace: use __hurd_fail for EOPNOTSUPP
2012-10-25 18:47:38 +02:00
Joseph Myers
25fe89324c
Fix run-program-prefix comment.
2012-10-25 15:54:16 +00:00
Joseph Myers
cc1290d07e
Support cross-testing.
2012-10-24 21:59:01 +00:00
Roland McGrath
6e6249d0b4
BZ#14743: Move clock_* symbols from librt to libc.
2012-10-24 14:50:46 -07:00
Mike Frysinger
0cae3f4b03
change ifunc assembly test to a link test
...
The test currently tests the binutils frontend support which passes for
all versions of binutils we currently require (2.20+). It doesn't test
the backend which is required for ifunc to actually work, and which most
targets don't yet support.
Change the assembly code so that when we link it, we get a file that has
ifunc relocations if the backend supports it. That way we can test to
see if binutils supports everything we need.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-10-24 17:01:13 -04:00
Mike Frysinger
8175a2532b
drop -q flag when using grep
...
We don't currently want to rely on the -q option to grep.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-10-24 13:00:48 -04:00
Joseph Myers
10b40d8567
Use build directory instead of pwd
in ftwtest-sh.
2012-10-24 11:48:00 +00:00
Joseph Myers
0708a7d1f0
Use build directory instead of /tmp in globtest.sh.
2012-10-24 11:47:16 +00:00
Andreas Jaeger
3a8db22f07
Always define off_t, mode_t, pid_t
...
* io/fcntl.h: Always define mode_t, off_t, pid_t and use these
types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
[__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
[__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
posix_fadvise64, posix_fallocate64.
2012-10-24 08:57:47 +02:00
Andreas Jaeger
9fddec1a48
F_GETLK cleanup for <bits/fcntl.h>
2012-10-24 08:54:46 +02:00
Joseph Myers
03ac099f6b
Define and use $(run-built-tests).
2012-10-24 00:08:46 +00:00
Joseph Myers
ebfd1bbd04
Use $(run-program-prefix) in posix/globtest.sh.
2012-10-23 23:32:14 +00:00
Jim Blandy
166bca2480
Add and use $(host-built-program-cmd).
2012-10-23 22:49:59 +00:00
Joseph Myers
88866099db
Refactor parts of run-program-prefix and built-program-cmd into new run-via-rtld-prefix.
2012-10-23 22:05:28 +00:00
Andreas Jaeger
b4b4c2968e
Fix O_RSYNC
...
(O_RSYNC): Define to __O_RSYNC if it exists, otherwise to O_SYNC.
2012-10-22 19:59:22 +02:00
Jim Blandy
6fb54a2254
Don't pass shell loops' stdin to programs run on glibc's host.
2012-10-22 17:12:17 +00:00
Joseph Myers
2b4a59f535
Move ChangeLog entry to correct file.
2012-10-22 17:09:51 +00:00