diff options
author | Alan Modra <amodra@gmail.com> | 2009-09-10 14:31:23 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2009-09-10 14:31:23 +0000 |
commit | 800f6ec8e25806362f05460ed0e8804b60a59960 (patch) | |
tree | 1ca4fb7e1180338817157dc5f8d6918d1bd24327 /gas/testsuite | |
parent | f2e25d931f7fd4e07eea1a0698bfe6aef33087b6 (diff) | |
download | gdb-800f6ec8e25806362f05460ed0e8804b60a59960.zip gdb-800f6ec8e25806362f05460ed0e8804b60a59960.tar.gz gdb-800f6ec8e25806362f05460ed0e8804b60a59960.tar.bz2 |
gas/
* config/tc-d10v.c: Include dwarf2dbg.h.
(write_long, write_1_short, write_2_short): Call dwarf2_emit_insn.
(d10v_frob_label): New function.
* config/tc-d10v.h (d10v_frob_label): Declare.
(tc_frob_label): Define as d10v_frob_label.
gas/testsuite/
* gas/lns/lns-common-1.s: Use two nops between each .loc.
* gas/lns/lns.exp: Don't exclude d10v.
Diffstat (limited to 'gas/testsuite')
-rw-r--r-- | gas/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gas/testsuite/gas/lns/lns-common-1.s | 8 | ||||
-rw-r--r-- | gas/testsuite/gas/lns/lns.exp | 12 |
3 files changed, 15 insertions, 10 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 0697488..2afd5b2 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2009-09-11 Alan Modra <amodra@bigpond.net.au> + + * gas/lns/lns-common-1.s: Use two nops between each .loc. + * gas/lns/lns.exp: Don't exclude d10v. + 2009-09-09 Kaz Kojima <kkojima@rr.iij4u.or.jp> * gas/sh/sh64/syntax-1.s: Regenerate. diff --git a/gas/testsuite/gas/lns/lns-common-1.s b/gas/testsuite/gas/lns/lns-common-1.s index 2fef2bd..6c84fbd 100644 --- a/gas/testsuite/gas/lns/lns-common-1.s +++ b/gas/testsuite/gas/lns/lns-common-1.s @@ -1,17 +1,25 @@ .file 1 "foo.c" .loc 1 1 nop + nop .loc 1 2 3 nop + nop .loc 1 3 prologue_end nop + nop .loc 1 4 0 epilogue_begin nop + nop .loc 1 5 isa 1 basic_block nop + nop .loc 1 6 is_stmt 0 nop + nop .loc 1 7 is_stmt 1 nop + nop .loc 1 7 discriminator 1 nop + nop diff --git a/gas/testsuite/gas/lns/lns.exp b/gas/testsuite/gas/lns/lns.exp index c2c2913..025a856 100644 --- a/gas/testsuite/gas/lns/lns.exp +++ b/gas/testsuite/gas/lns/lns.exp @@ -3,21 +3,13 @@ if ![is_elf_format] then { } run_list_test "lns-diag-1" "" - -# Does not work on targets that do not generate line number -# information (d10v). -if {![istarget d10v-*-*]} { - run_dump_test "lns-duplicate" -} +run_dump_test "lns-duplicate" # ??? Won't work on targets that don't have a bare "nop" insn. # Perhaps we could arrange for an include file or something that # defined a macro... -# Nor does it work on targets that do not generate line number -# information (d10v). if { - ![istarget d10v-*-*] - && ![istarget i370-*-*] + ![istarget i370-*-*] && ![istarget i960-*-*] && ![istarget mcore-*-*] && ![istarget or32-*-*] |