binutils/testsuite/
authorDaniel Jacobowitz <drow@false.org>
Fri, 31 Jul 2009 18:14:07 +0000 (18:14 +0000)
committerDaniel Jacobowitz <drow@false.org>
Fri, 31 Jul 2009 18:14:07 +0000 (18:14 +0000)
commitcd000bffb245795be23f4a024481dc192d30cae7
tree5a44720c83799855bcb7c2945bf59c91bf87ac0a
parent79d0a52d5db573cf4c24606f97008d8fd359a494
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.
24 files changed:
binutils/testsuite/ChangeLog
binutils/testsuite/binutils-all/arm/thumb2-cond.s
gas/ChangeLog
gas/config/obj-elf.c
gas/config/tc-arm.c
gas/config/tc-arm.h
gas/testsuite/ChangeLog
gas/testsuite/gas/arm/insn-error-a.d [new file with mode: 0644]
gas/testsuite/gas/arm/insn-error-a.l [new file with mode: 0644]
gas/testsuite/gas/arm/insn-error-a.s [new file with mode: 0644]
gas/testsuite/gas/arm/insn-error-t.d [new file with mode: 0644]
gas/testsuite/gas/arm/insn-error-t.l [new file with mode: 0644]
gas/testsuite/gas/arm/insn-error-t.s [new file with mode: 0644]
gas/testsuite/gas/arm/mapdir.d [new file with mode: 0644]
gas/testsuite/gas/arm/mapdir.s [new file with mode: 0644]
gas/testsuite/gas/arm/mapping.d
gas/testsuite/gas/arm/mapping2.d [new file with mode: 0644]
gas/testsuite/gas/arm/mapping2.s [new file with mode: 0644]
gas/testsuite/gas/arm/mapping3.d [new file with mode: 0644]
gas/testsuite/gas/arm/mapping3.s [new file with mode: 0644]
gas/testsuite/gas/arm/mapping4.d [new file with mode: 0644]
gas/testsuite/gas/arm/mapping4.s [new file with mode: 0644]
gas/testsuite/gas/arm/mapshort-eabi.d
gas/testsuite/gas/elf/section2.e-armeabi