2001-02-28 Matt Hiller <hiller@redhat.com>
authorMatthew Hiller <hiller@redhat.com>
Thu, 1 Mar 2001 19:13:27 +0000 (19:13 +0000)
committerMatthew Hiller <hiller@redhat.com>
Thu, 1 Mar 2001 19:13:27 +0000 (19:13 +0000)
commit1688b748f19ed942913859467382773a66ed8943
tree052d27558fa7cfaaa79d9624b74ba37b70ecafc8
parentd1b17ab0f362b32de0c012003ff07d745aefe1e6
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.
ld/ChangeLog
ld/testsuite/ld-scripts/crossref.exp
ld/testsuite/ld-undefined/undefined.exp
ld/testsuite/lib/ld-lib.exp