diff options
author | Renlin Li <renlin.li@arm.com> | 2016-01-25 15:06:54 +0000 |
---|---|---|
committer | Renlin Li <renlin.li@arm.com> | 2016-01-25 15:14:29 +0000 |
commit | 5bc5ae8810c03b55f46b9e575389c3fa85a62b5c (patch) | |
tree | 5f45709baabdf530ce930b0d65e083ef6c30ee6c /gas | |
parent | a2077e254098828614ef6621cf8df28185e711d0 (diff) | |
download | gdb-5bc5ae8810c03b55f46b9e575389c3fa85a62b5c.zip gdb-5bc5ae8810c03b55f46b9e575389c3fa85a62b5c.tar.gz gdb-5bc5ae8810c03b55f46b9e575389c3fa85a62b5c.tar.bz2 |
[PATCH[ARM]Check mapping symbol while backward searching for IT block.
opcodes/
* arm-dis.c (mapping_symbol_for_insn): New function.
(find_ifthen_state): Call mapping_symbol_for_insn().
gas/
* testsuite/gas/arm/thumb2_it_search.d: New.
* testsuite/gas/arm/thumb2_it_search.s: New.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/testsuite/gas/arm/thumb2_it_search.d | 12 | ||||
-rw-r--r-- | gas/testsuite/gas/arm/thumb2_it_search.s | 8 |
3 files changed, 25 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 83f4077..3cb5f14 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2016-01-25 Renlin Li <renlin.li@arm.com> + + * testsuite/gas/arm/thumb2_it_search.d: New. + * testsuite/gas/arm/thumb2_it_search.s: New. + 2016-01-21 Nick Clifton <nickc@redhat.com> PR gas/19454 diff --git a/gas/testsuite/gas/arm/thumb2_it_search.d b/gas/testsuite/gas/arm/thumb2_it_search.d new file mode 100644 index 0000000..6758ef8 --- /dev/null +++ b/gas/testsuite/gas/arm/thumb2_it_search.d @@ -0,0 +1,12 @@ +#name: 32-bit Thumb conditional instructions backward search +#as: -march=armv6kt2 +#skip: *-*-*aout* +#source: thumb2_it_search.s +#objdump: -dr --prefix-addresses --show-raw-insn + +.*: +file format .*arm.* + +Disassembly of section .text: +0+0 <[^>]+> f3af 8000 nop.w +0+4 <[^>]+> bf080000 .word 0xbf080000 +0+8 <[^>]+> f3af 8000 nop.w diff --git a/gas/testsuite/gas/arm/thumb2_it_search.s b/gas/testsuite/gas/arm/thumb2_it_search.s new file mode 100644 index 0000000..a29cb51 --- /dev/null +++ b/gas/testsuite/gas/arm/thumb2_it_search.s @@ -0,0 +1,8 @@ + .text + .thumb + .syntax unified + .thumb_func +f: + nop.w + .long 0xbf080000 + nop.w |