aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorJoern Rennecke <joern.rennecke@embecosm.com>2003-04-25 14:23:31 +0000
committerJoern Rennecke <joern.rennecke@embecosm.com>2003-04-25 14:23:31 +0000
commit635f10624f5a5e8cb09c7266e80dfacde76f7bf7 (patch)
tree9640ee3826c4c34acb775a57ff8002d7cb20da6a /ld
parent684022eae4e954e2df8f254431ef2b709cd30c45 (diff)
downloadgdb-635f10624f5a5e8cb09c7266e80dfacde76f7bf7.zip
gdb-635f10624f5a5e8cb09c7266e80dfacde76f7bf7.tar.gz
gdb-635f10624f5a5e8cb09c7266e80dfacde76f7bf7.tar.bz2
* lib/ld-lib.exp (big_or_little_endian): Also check for -mb and -ml.
Diffstat (limited to 'ld')
-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
}