2006-05-03 Paul Brook <paul@codesourcery.com>
commita5cbdaf42d0706e68e54ada32736d3895a0f6883
authorPaul Brook <paul@codesourcery.com>
Wed, 3 May 2006 14:30:24 +0000 (3 14:30 +0000)
committerPaul Brook <paul@codesourcery.com>
Wed, 3 May 2006 14:30:24 +0000 (3 14:30 +0000)
tree83abdd99fd37ad36eab2b79eb1b1b7cb6c95d852
parentc7a9902153c55b3e85a93ea241fe15a642a47d92
2006-05-03  Paul Brook  <paul@codesourcery.com>

* bfd/elf32-arm.c (elf32_arm_reloc_map): Add MOVW and MOVT relocs.
(elf32_arm_final_link_relocate): Handle MOVW and MOVT relocs.
(elf32_arm_gc_sweep_hook, elf32_arm_check_relocs): Ditto.
* bfd/reloc.c: Ditto.
* bfd/bfd-in2.h: Regenerate.
* bfd/libbfd.h: Regenerate.
* bfd/libcoff.h: Regenerate.
* gas/config/tc-arm.c (parse_half): New function.
(operand_parse_code): Remove OP_Iffff.  Add OP_HALF.
(parse_operands): Ditto.
(do_mov16): Reject invalid relocations.
(do_t_mov16): Ditto.  Use Thumb reloc numbers.
(insns): Replace Iffff with HALF.
(md_apply_fix): Add MOVW and MOVT relocs.
(tc_gen_reloc): Ditto.
* gas/doc/c-arm.texi: Document relocation operators
* ld/testsuite/ld-arm/arm-elf.exp: Add arm-movwt.
* ld/testsuite/ld-arm/arm-movwt.d: New test.
* ld/testsuite/ld-arm/arm-movwt.s: New test.
* ld/testsuite/ld-arm/arm.ld: Add .far.
ChangeLog.csl
bfd/bfd-in2.h
bfd/elf32-arm.c
bfd/libbfd.h
bfd/reloc.c
gas/config/tc-arm.c
gas/doc/c-arm.texi
ld/testsuite/ld-arm/arm-elf.exp
ld/testsuite/ld-arm/arm-movwt.d [new file with mode: 0644]
ld/testsuite/ld-arm/arm-movwt.s [new file with mode: 0644]
ld/testsuite/ld-arm/arm.ld