aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/crossref.exp
diff options
context:
space:
mode:
authorMatthew Hiller <hiller@redhat.com>2001-03-01 19:13:27 +0000
committerMatthew Hiller <hiller@redhat.com>2001-03-01 19:13:27 +0000
commit1688b748f19ed942913859467382773a66ed8943 (patch)
tree052d27558fa7cfaaa79d9624b74ba37b70ecafc8 /ld/testsuite/ld-scripts/crossref.exp
parentd1b17ab0f362b32de0c012003ff07d745aefe1e6 (diff)
downloadgdb-1688b748f19ed942913859467382773a66ed8943.zip
gdb-1688b748f19ed942913859467382773a66ed8943.tar.gz
gdb-1688b748f19ed942913859467382773a66ed8943.tar.bz2
2001-02-28 Matt Hiller <hiller@redhat.com>
* testsuite/ld-scripts/crossref.exp: Initialize flags to [big_or_little_endian]. * testsuite/ld-undefined/undefined.exp: Ditto, and include $flags in ld invocations. * testsuite/lib/ld-lib.exp (big_or_little_endian): Recognize -EB, -eb, EL and el. (is_endian_output_format): New function. (default_ld_link): Set flags to [big_or_little_endian] only if ld is being invoked such that the output format being used is of known endianness. (default_ld_simple_link): Ditto.
Diffstat (limited to 'ld/testsuite/ld-scripts/crossref.exp')
-rw-r--r--ld/testsuite/ld-scripts/crossref.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/testsuite/ld-scripts/crossref.exp b/ld/testsuite/ld-scripts/crossref.exp
index b52d92c..b39f741 100644
--- a/ld/testsuite/ld-scripts/crossref.exp
+++ b/ld/testsuite/ld-scripts/crossref.exp
@@ -17,7 +17,7 @@ if { ![ld_compile $CC "$srcdir/$subdir/cross1.c" tmpdir/cross1.o] \
return
}
-set flags ""
+set flags [big_or_little_endian]
# The a29k compiled code calls V_SPILL and V_FILL. Since we don't
# need to run this code, but we don't have definitions for those