diff options
author | Daniel Jacobowitz <drow@false.org> | 2009-07-31 18:14:07 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2009-07-31 18:14:07 +0000 |
commit | cd000bffb245795be23f4a024481dc192d30cae7 (patch) | |
tree | 5a44720c83799855bcb7c2945bf59c91bf87ac0a /binutils | |
parent | 79d0a52d5db573cf4c24606f97008d8fd359a494 (diff) | |
download | gdb-cd000bffb245795be23f4a024481dc192d30cae7.zip gdb-cd000bffb245795be23f4a024481dc192d30cae7.tar.gz gdb-cd000bffb245795be23f4a024481dc192d30cae7.tar.bz2 |
binutils/testsuite/
* binutils-all/arm/thumb2-cond.s: Use instructions instead of
.short.
gas/
* config/obj-elf.c (obj_elf_ident): Notify section change to the hook.
* config/tc-arm.c (make_mapping_symbol): New function, from
mapping_state. Save mapping symbols in the frag.
(insert_data_mapping_symbol): New.
(mapping_state): Use make_mapping_symbol, improve state transitions.
(mapping_state_2): New. Provide dummy definition.
(opcode_select): Do not call mapping_state.
(s_bss): Call md_elf_section_change_hook instead of mapping_state.
(output_inst): Update use of tc_frag_data.
(new_automatic_it_block): Call mapping_state before emitting the
IT instruction.
(md_assemble): Move mapping_state to just before outputting the
new instruction.
(arm_handle_align): Update use of tc_frag_data.
Call insert_data_mapping_symbol.
(arm_init_frag): Update use of tc_frag_data. Call
mapping_state_2.
(arm_elf_change_section): Always update the mapping symbol FSM state.
(check_mapping_symbols): New function.
(arm_adjust_symtab): Use check_mapping_symbols.
* config/tc-arm.h (struct arm_frag_type): New.
(TC_FRAG_TYPE): Change to struct arm_frag_type.
(TC_FRAG_INIT): Pass max_chars.
(arm_init_frag): Update prototype.
gas/testsuite/
* gas/arm/mapdir.d, gas/arm/mapdir.s: New files.
* gas/arm/mapping.d: Adapted to new symbols generation.
* gas/arm/mapping2.d: New test case.
* gas/arm/mapping2.s: New file.
* gas/arm/mapping3.d: New test case.
* gas/arm/mapping3.s: New file.
* gas/arm/mapping4.d: New test case.
* gas/arm/mapping4.s: New file.
* gas/arm/mapshort-eabi.d: Adapted to new symbols generation.
* gas/elf/section2.e-armeabi: Adapted to new symbols generation.
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | binutils/testsuite/binutils-all/arm/thumb2-cond.s | 12 |
2 files changed, 13 insertions, 5 deletions
diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog index bf6030d..cd91f52 100644 --- a/binutils/testsuite/ChangeLog +++ b/binutils/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2009-07-31 Daniel Gutson <dgutson@codesourcery.com> + Daniel Jacobowitz <dan@codesourcery.com> + + * binutils-all/arm/thumb2-cond.s: Use instructions instead of + .short. + 2009-07-29 Alan Modra <amodra@bigpond.net.au> * binutils-all/testranges.s: Replace .value with .short. diff --git a/binutils/testsuite/binutils-all/arm/thumb2-cond.s b/binutils/testsuite/binutils-all/arm/thumb2-cond.s index 95761e1..b9de442 100644 --- a/binutils/testsuite/binutils-all/arm/thumb2-cond.s +++ b/binutils/testsuite/binutils-all/arm/thumb2-cond.s @@ -1,6 +1,8 @@ -.thumb + .arch armv7 + .syntax unified + .thumb foo: -.short 0xf000, 0xf800 -.short 0xbf38 -.short 0xf000, 0xbf04 -bx lr + bl 1f +1: it cc + bcc.w .+0xe0c + bx lr |