projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use better test for usable compiler in ld testsuite.
[deliverable/binutils-gdb.git]
/
ld
/
testsuite
/
ld-i386
/
i386.exp
diff --git
a/ld/testsuite/ld-i386/i386.exp
b/ld/testsuite/ld-i386/i386.exp
index 9579df653ea31340505eae33975240b247741363..3a1fd8b3cfebc57760fdb4e23a825133dec59538 100644
(file)
--- a/
ld/testsuite/ld-i386/i386.exp
+++ b/
ld/testsuite/ld-i386/i386.exp
@@
-581,7
+581,7
@@
global PLT_CFLAGS
# Must be Linux native with the C compiler
if { [isnative]
&& [istarget "i?86-*-linux*"]
# Must be Linux native with the C compiler
if { [isnative]
&& [istarget "i?86-*-linux*"]
- && [
which $CC] != 0
} {
+ && [
check_compiler_available]
} {
run_cc_link_tests [list \
[list \
"Build plt-lib.so" \
run_cc_link_tests [list \
[list \
"Build plt-lib.so" \
@@
-1193,7
+1193,7
@@
global NOPIE_CFLAGS NOPIE_LDFLAGS
if { [isnative]
&& [check_ifunc_available]
&& [istarget "i?86-*-*"]
if { [isnative]
&& [check_ifunc_available]
&& [istarget "i?86-*-*"]
- && [
which $CC] != 0
} {
+ && [
check_compiler_available]
} {
run_cc_link_tests [list \
[list \
"Build ifunc-1a.o ifunc-1b.o ifunc-1c.o ifunc-1d.o" \
run_cc_link_tests [list \
[list \
"Build ifunc-1a.o ifunc-1b.o ifunc-1c.o ifunc-1d.o" \
@@
-1310,7
+1310,7
@@
if { [isnative]
# Must be native with the C compiler.
if { [isnative]
&& [istarget "i?86-*-*"]
# Must be native with the C compiler.
if { [isnative]
&& [istarget "i?86-*-*"]
- && [
which $CC] != 0
} {
+ && [
check_compiler_available]
} {
run_cc_link_tests [list \
[list \
"Build pr22001-1.so" \
run_cc_link_tests [list \
[list \
"Build pr22001-1.so" \
This page took
0.023474 seconds
and
4
git commands to generate.