From 635f10624f5a5e8cb09c7266e80dfacde76f7bf7 Mon Sep 17 00:00:00 2001 From: Joern Rennecke Date: Fri, 25 Apr 2003 14:23:31 +0000 Subject: [PATCH] * lib/ld-lib.exp (big_or_little_endian): Also check for -mb and -ml. --- ld/testsuite/ChangeLog | 5 +++++ ld/testsuite/lib/ld-lib.exp | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 9fc8f0dadf1..ef513cfe8a9 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2003-04-25 Nick Clifton + J"orn Rennecke + + * lib/ld-lib.exp (big_or_little_endian): Also check for -mb and -ml. + 2003-04-24 J"orn Rennecke * 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 a58646aa1eb..82ae09353d1 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 } -- 2.30.2