aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ld/testsuite/ChangeLog5
-rw-r--r--ld/testsuite/lib/ld-lib.exp4
2 files changed, 7 insertions, 2 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 9fc8f0d..ef513cf 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2003-04-25 Nick Clifton <nickc@redhat.com>
+ J"orn Rennecke <joern.rennecke@superh.com>
+
+ * lib/ld-lib.exp (big_or_little_endian): Also check for -mb and -ml.
+
2003-04-24 J"orn Rennecke <joern.rennecke@superh.com>
* ld-elfcomm/elfcomm.exp: Allow symbols to have '_' prepended.
diff --git a/ld/testsuite/lib/ld-lib.exp b/ld/testsuite/lib/ld-lib.exp
index a58646a..82ae093 100644
--- a/ld/testsuite/lib/ld-lib.exp
+++ b/ld/testsuite/lib/ld-lib.exp
@@ -94,11 +94,11 @@ proc big_or_little_endian {} {
foreach x $tmp_flags {
case $x in {
- {*big*endian eb EB -eb -EB} {
+ {*big*endian eb EB -eb -EB -mb} {
set flags " -EB"
return $flags
}
- {*little*endian el EL -el -EL} {
+ {*little*endian el EL -el -EL -ml} {
set flags " -EL"
return $flags
}