* config/tc-arm.c (tc_gen_reloc): Add BFD_RELOC_ARM_T32_OFFSET_IMM
error message. testsuite/ * gas/arm/reloc-bad.d: New. * gas/arm/reloc-bad.s: New. * gas/arm/reloc-bad.l: New.
This commit is contained in:
parent
c2397eaa93
commit
db187cb9de
|
@ -1,3 +1,8 @@
|
||||||
|
2010-07-08 Daniel Gutson <dgutson@codesourcery.com>
|
||||||
|
|
||||||
|
* config/tc-arm.c (tc_gen_reloc): Add BFD_RELOC_ARM_T32_OFFSET_IMM
|
||||||
|
error message.
|
||||||
|
|
||||||
2010-07-06 Maciej W. Rozycki <macro@codesourcery.com>
|
2010-07-06 Maciej W. Rozycki <macro@codesourcery.com>
|
||||||
|
|
||||||
* config/tc-mips.c (mips_frob_file): Use symbol_same_p to match
|
* config/tc-mips.c (mips_frob_file): Use symbol_same_p to match
|
||||||
|
|
|
@ -21235,6 +21235,7 @@ tc_gen_reloc (asection *section, fixS *fixp)
|
||||||
case BFD_RELOC_ARM_SWI: type = "SWI"; break;
|
case BFD_RELOC_ARM_SWI: type = "SWI"; break;
|
||||||
case BFD_RELOC_ARM_MULTI: type = "MULTI"; break;
|
case BFD_RELOC_ARM_MULTI: type = "MULTI"; break;
|
||||||
case BFD_RELOC_ARM_CP_OFF_IMM: type = "CP_OFF_IMM"; break;
|
case BFD_RELOC_ARM_CP_OFF_IMM: type = "CP_OFF_IMM"; break;
|
||||||
|
case BFD_RELOC_ARM_T32_OFFSET_IMM: type = "T32_OFFSET_IMM"; break;
|
||||||
case BFD_RELOC_ARM_T32_CP_OFF_IMM: type = "T32_CP_OFF_IMM"; break;
|
case BFD_RELOC_ARM_T32_CP_OFF_IMM: type = "T32_CP_OFF_IMM"; break;
|
||||||
case BFD_RELOC_ARM_THUMB_ADD: type = "THUMB_ADD"; break;
|
case BFD_RELOC_ARM_THUMB_ADD: type = "THUMB_ADD"; break;
|
||||||
case BFD_RELOC_ARM_THUMB_SHIFT: type = "THUMB_SHIFT"; break;
|
case BFD_RELOC_ARM_THUMB_SHIFT: type = "THUMB_SHIFT"; break;
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
2010-07-08 Daniel Gutson <dgutson@codesourcery.com>
|
||||||
|
|
||||||
|
* gas/arm/reloc-bad.d: New.
|
||||||
|
* gas/arm/reloc-bad.s: New.
|
||||||
|
* gas/arm/reloc-bad.l: New.
|
||||||
|
|
||||||
2010-07-06 Maciej W. Rozycki <macro@codesourcery.com>
|
2010-07-06 Maciej W. Rozycki <macro@codesourcery.com>
|
||||||
|
|
||||||
* gas/mips/elf-rel27.d: New test for HI16/LO16 relocation
|
* gas/mips/elf-rel27.d: New test for HI16/LO16 relocation
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
#name: Invalid relocations
|
||||||
|
#error-output: reloc-bad.l
|
|
@ -0,0 +1,3 @@
|
||||||
|
[^:]*: Assembler messages:
|
||||||
|
[^:]*:5: Error: internal_relocation \(type: OFFSET_IMM\) not fixed up
|
||||||
|
[^:]*:3: Error: cannot represent T32_OFFSET_IMM relocation in this object file format
|
|
@ -0,0 +1,5 @@
|
||||||
|
.syntax unified
|
||||||
|
.thumb
|
||||||
|
ldr r0, 0
|
||||||
|
.arm
|
||||||
|
ldr r0, 0
|
Loading…
Reference in New Issue