From 1688b748f19ed942913859467382773a66ed8943 Mon Sep 17 00:00:00 2001 From: Matthew Hiller Date: Thu, 1 Mar 2001 19:13:27 +0000 Subject: 2001-02-28 Matt Hiller * 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. --- ld/testsuite/ld-scripts/crossref.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ld/testsuite/ld-scripts/crossref.exp') 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 -- cgit v1.1