From 6a7715f47792310fadb6d99678df5685bf0f1758 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 15 Jan 2002 12:56:32 +0000 Subject: [PATCH] Special case handlign for m32r port --- gas/testsuite/ChangeLog | 3 +++ gas/testsuite/gas/elf/elf.exp | 3 +++ gas/testsuite/gas/elf/section2.e-m32r | 9 +++++++++ 3 files changed, 15 insertions(+) create mode 100644 gas/testsuite/gas/elf/section2.e-m32r diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 95321c352ca..3be0e11a7a0 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,5 +1,8 @@ 2002-01-15 Nick Clifton + * 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 diff --git a/gas/testsuite/gas/elf/elf.exp b/gas/testsuite/gas/elf/elf.exp index b377a31c3f1..be2607a7c3c 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 00000000000..4f401e11218 --- /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 -- 2.30.2