glibc/debug
Joseph Myers bd5dadac87 Remove TEST_IFUNC, tests-ifunc and *-ifunc.c tests.
TEST_IFUNC is only tested in two headers, bench-string.h and
test-string.h, after it gets defined by those headers, and it never
gets undefined.

Thus no defines of TEST_IFUNC are needed, and the *-ifunc.c tests that
just define TEST_IFUNC and include other tests are also redundant, as
is the code to remove $(tests-ifunc) and $(xtests-ifunc) conditionally
from tests and xtests.  This patch removes the useless defines and
tests of TEST_IFUNC and the associated useless tests and makefile
code.  It thereby fixes a series of warnings
"../string/test-string.h:21:0: warning: "TEST_IFUNC" redefined" where
test-string.h defines TEST_IFUNC to empty, other files define it to 1
and this produces warnings.

Tested for x86_64.

	* debug/test-stpcpy_chk-ifunc.c: Remove file.
	* debug/test-strcpy_chk-ifunc.c: Likewise.
	* wcsmbs/test-wcschr-ifunc.c: Likewise.
	* wcsmbs/test-wcscmp-ifunc.c: Likewise.
	* wcsmbs/test-wcscpy-ifunc.c: Likewise.
	* wcsmbs/test-wcslen-ifunc.c: Likewise.
	* wcsmbs/test-wcsrchr-ifunc.c: Likewise.
	* wcsmbs/test-wmemcmp-ifunc.c: Likewise.
	* Rules [$(multi-arch) = no] (tests): Do not filter out
	$(tests-ifunc).
	[$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
	* debug/Makefile (tests-ifunc): Remove variable.
	(tests): Do not add $(tests-ifunc).
	* wcsmbs/Makefile (tests-ifunc): Remove variable.
	(tests): Do not add $(tests-ifunc).
	* benchtests/bench-string.h (TEST_IFUNC): Remove macro.
	[TEST_IFUNC]: Remove conditionals.
	* string/test-string.h (TEST_IFUNC): Remove macro.
	[TEST_IFUNC]: Remove conditionals.
2014-11-26 12:53:36 +00:00
..
asprintf_chk.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
backtrace-tst.c Add #include <stdint.h> for uint[32|64]_t usage (except installed headers). 2013-05-16 11:32:54 -05:00
backtrace.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
backtracesyms.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
backtracesymsfd.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
catchsegv.sh Update remaining copyright dates 2014-01-01 22:02:55 +10:00
chk_fail.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
confstr_chk.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
Depend
dprintf_chk.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
execinfo.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
fdelt_chk.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
fgets_chk.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
fgets_u_chk.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
fgetws_chk.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
fgetws_u_chk.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
fortify_fail.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
fprintf_chk.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
fread_chk.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
fread_u_chk.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
fwprintf_chk.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
getcwd_chk.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
getdomainname_chk.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
getgroups_chk.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
gethostname_chk.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
gets_chk.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
getwd_chk.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
longjmp_chk.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
Makefile Remove TEST_IFUNC, tests-ifunc and *-ifunc.c tests. 2014-11-26 12:53:36 +00:00
mbsnrtowcs_chk.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
mbsrtowcs_chk.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
mbstowcs_chk.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
memcpy_chk.c Fix -Wundef warning on PAGE_COPY_THRESHOLD 2014-07-03 01:49:43 +05:30
memmove_chk.c Remove unnecessary include in memmove_chk 2014-06-27 00:01:37 +05:30
mempcpy_chk.c Fix -Wundef warning on PAGE_COPY_THRESHOLD 2014-07-03 01:49:43 +05:30
memset_chk.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
noophooks.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
obprintf_chk.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
pcprofile.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
pcprofiledump.c Update remaining copyright dates 2014-01-01 22:02:55 +10:00
poll_chk.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
ppoll_chk.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
pread64_chk.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
pread_chk.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
printf_chk.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
read_chk.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
readlink_chk.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
readlinkat_chk.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
readonly-area.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
realpath_chk.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
recv_chk.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
recvfrom_chk.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
segfault.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
snprintf_chk.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
sprintf_chk.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
stack_chk_fail_local.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
stack_chk_fail.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
stpcpy_chk.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
stpncpy_chk.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
strcat_chk.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
strcpy_chk.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
strncat_chk.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
strncpy_chk.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
swprintf_chk.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
test-stpcpy_chk.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
test-strcpy_chk.c tests: unify fortification handler logic 2014-02-08 06:58:43 -05:00
tst-backtrace2.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
tst-backtrace3.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
tst-backtrace4.c tst-backtrace4: expand output even on failures 2014-02-08 07:01:38 -05:00
tst-backtrace5.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
tst-backtrace6.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
tst-backtrace.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
tst-chk1.c tests: unify fortification handler logic 2014-02-08 06:58:43 -05:00
tst-chk2.c
tst-chk3.c
tst-chk4.cc
tst-chk5.cc
tst-chk6.cc
tst-lfschk1.c
tst-lfschk2.c
tst-lfschk3.c
tst-lfschk4.cc
tst-lfschk5.cc
tst-lfschk6.cc
tst-longjmp_chk2.c tst-longjmp_chk2: add comments/sanity check 2014-03-13 17:05:29 -04:00
tst-longjmp_chk3.c tst-longjmp_chk3: new test for checking sigaltstack edge cases 2014-02-08 06:59:13 -05:00
tst-longjmp_chk.c tests: unify fortification handler logic 2014-02-08 06:58:43 -05:00
ttyname_r_chk.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
vasprintf_chk.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
vdprintf_chk.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
Versions Move getlogin_r_chk to login/ subdir. 2013-05-06 15:58:44 -07:00
vfprintf_chk.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
vfwprintf_chk.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
vprintf_chk.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
vsnprintf_chk.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
vsprintf_chk.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
vswprintf_chk.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
vwprintf_chk.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
warning-nop.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wcpcpy_chk.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
wcpncpy_chk.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
wcrtomb_chk.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wcscat_chk.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
wcscpy_chk.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
wcsncat_chk.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
wcsncpy_chk.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
wcsnrtombs_chk.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
wcsrtombs_chk.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
wcstombs_chk.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
wctomb_chk.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wmemcpy_chk.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
wmemmove_chk.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
wmempcpy_chk.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
wmemset_chk.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
wprintf_chk.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
xtrace.sh Update remaining copyright dates 2014-01-01 22:02:55 +10:00