OSDN Git Service

binutils/testsuite/
authordrow <drow>
Fri, 31 Jul 2009 18:14:06 +0000 (18:14 +0000)
committerdrow <drow>
Fri, 31 Jul 2009 18:14:06 +0000 (18:14 +0000)
commit094d74f29fa73ad63f876f68739e39442ba9075b
tree251c51a883c2cb9d97a33d0ab8e95459877603a1
parentff9932855ac2b5313e08c89f5212caef9c3c28e0
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