* lib/ld-lib.exp (big_or_little_endian): Also check for -mb and -ml.
authorJoern Rennecke <joern.rennecke@embecosm.com>
Fri, 25 Apr 2003 14:23:31 +0000 (14:23 +0000)
committerJoern Rennecke <joern.rennecke@embecosm.com>
Fri, 25 Apr 2003 14:23:31 +0000 (14:23 +0000)
ld/testsuite/ChangeLog
ld/testsuite/lib/ld-lib.exp

index 9fc8f0dadf164fb260859fd9fc20b52af5650ac6..ef513cfe8a9e727fefbea4daef1d34c0a7d6e131 100644 (file)
@@ -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.
index a58646aa1ebcb054170ba1a5421ecb4da96a00bb..82ae09353d17f0860afde082af433dc853af4466 100644 (file)
@@ -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
                }