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 e80a878..d333608 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2006-12-13 Dave Brolley <brolley@redhat.com>
+
+ * lib/ld-lib.exp (big_or_little_endian): Accept -meb and
+ -mel for big and little endian respectively.
+
2006-12-12 Ina Pandit <inap@kpitcummins.com>
* ld-scripts/overlay-size-map.d: Update.
diff --git a/ld/testsuite/lib/ld-lib.exp b/ld/testsuite/lib/ld-lib.exp
index 4fbe2af..dd42eab 100644
--- a/ld/testsuite/lib/ld-lib.exp
+++ b/ld/testsuite/lib/ld-lib.exp
@@ -90,11 +90,11 @@ proc big_or_little_endian {} {
foreach x $tmp_flags {
case $x in {
- {*big*endian eb EB -eb -EB -mb} {
+ {*big*endian eb EB -eb -EB -mb -meb} {
set flags " -EB"
return $flags
}
- {*little*endian el EL -el -EL -ml} {
+ {*little*endian el EL -el -EL -ml -mel} {
set flags " -EL"
return $flags
}