aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2002-01-15 12:56:32 +0000
committerNick Clifton <nickc@redhat.com>2002-01-15 12:56:32 +0000
commit6a7715f47792310fadb6d99678df5685bf0f1758 (patch)
tree52ac8c2b2a2854eb3963a5d805db083fee4d8437
parentd3c456e9506b08668419af641c7b14be84ec73ac (diff)
downloadgdb-6a7715f47792310fadb6d99678df5685bf0f1758.zip
gdb-6a7715f47792310fadb6d99678df5685bf0f1758.tar.gz
gdb-6a7715f47792310fadb6d99678df5685bf0f1758.tar.bz2
Special case handlign for m32r port
-rw-r--r--gas/testsuite/ChangeLog3
-rw-r--r--gas/testsuite/gas/elf/elf.exp3
-rw-r--r--gas/testsuite/gas/elf/section2.e-m32r9
3 files changed, 15 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 95321c3..3be0e11 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,5 +1,8 @@
2002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
+ * gas/elf/section2.e-m32r: New file.
+ * gas/elf/elf.exp: Use section2.e-m32r for m32r targets.
+
* gas/sh/dsp.d: Fix expected results.
2002-01-14 Nick Clifton <nickc@cambridge.redhat.com>
diff --git a/gas/testsuite/gas/elf/elf.exp b/gas/testsuite/gas/elf/elf.exp
index b377a31..be2607a 100644
--- a/gas/testsuite/gas/elf/elf.exp
+++ b/gas/testsuite/gas/elf/elf.exp
@@ -42,6 +42,9 @@ if { ([istarget "*-*-elf*"]
if {[istarget "mips*-*-*"] || [istarget v850-*-*]} then {
set target_machine -mips
}
+ if {[istarget m32r*-*-*]} then {
+ set target_machine -m32r
+ }
run_dump_test "ehopt0"
run_dump_test "section0"
run_dump_test "section1"
diff --git a/gas/testsuite/gas/elf/section2.e-m32r b/gas/testsuite/gas/elf/section2.e-m32r
new file mode 100644
index 0000000..4f401e1
--- /dev/null
+++ b/gas/testsuite/gas/elf/section2.e-m32r
@@ -0,0 +1,9 @@
+
+Symbol table '.symtab' contains 6 entries:
+ Num: Value[ ]* Size Type Bind Vis Ndx Name
+ 0: 0+0 0 NOTYPE LOCAL DEFAULT UND
+ 1: 0+0 0 SECTION LOCAL DEFAULT 1
+ 2: 0+0 0 SECTION LOCAL DEFAULT 2
+ 3: 0+0 0 SECTION LOCAL DEFAULT 3
+ 4: 0+0 0 SECTION LOCAL DEFAULT 5
+ 5: 0+0 0 SECTION LOCAL DEFAULT 4