Commit Graph

14604 Commits

Author SHA1 Message Date
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
Andreas Jaeger
2a0e2669f9 Always define __O_LARGEFILE 2012-10-22 16:23:20 +02:00
Andreas Jaeger
76e38f9aa7 Add missed ChangeLog entry 2012-10-22 09:31:36 +02:00
Andreas Jaeger
7cd37b437c Improve <bits/fcntl-linux.h>: F_GETLK etc.
(F_GETLK, F_SETLK, F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
2012-10-22 09:31:13 +02:00
Andreas Jaeger
481b90b9d6 Use __O_LARGEFILE instead of O_LARGEFILE 2012-10-22 09:20:00 +02:00
Jim Blandy
aba759841b Use $(NM) not nm in tst-cancel-wrappers. 2012-10-21 22:38:34 +00:00
Andreas Jaeger
88d4247f19 SH: Use <bits/fcntl-linux.h>
Remove all definitions and declarations that are provided by
<bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2012-10-21 20:01:32 +02:00
H.J. Lu
f2eed20524 Check the main application only if SHARED is defined 2012-10-20 16:16:59 -07:00
Andreas Jaeger
335e6931e2 Reorganization of bits/fcntl.h for Linux
Create a new bits/fcntl-linux.h that contains Linux generic code and a
include it from the architecture specific bits/fcntl.h.

Architectures done: x86, SPARC, s390
2012-10-20 12:54:49 +02:00
Roland McGrath
ac5c94d31d Alsways include <bits/types.h> in <fcntl.h>.
Move include of <bits/types.h> to the top and include it unconditionally.
2012-10-20 12:53:58 +02:00
H.J. Lu
228cfb018a Add wcsmbs IFUNC tests 2012-10-19 22:13:34 -07:00
H.J. Lu
69f07e5fd1 Add string IFUNC tests 2012-10-19 22:10:16 -07:00
H.J. Lu
de54b33a3d Add debug IFUNC tests 2012-10-19 22:02:47 -07:00