diff options
author | Cupertino Miranda <cmiranda@synopsys.com> | 2015-10-28 13:48:00 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2015-10-28 13:48:00 +0000 |
commit | 6f4b1afcdc8317280669d020765b8215110c4584 (patch) | |
tree | b6365ff26a33f93899421909914d54c7e69e7721 /bfd/reloc.c | |
parent | 7963511fbf0459fff586c3129705bfbc706770e3 (diff) | |
download | fsf-binutils-gdb-6f4b1afcdc8317280669d020765b8215110c4584.zip fsf-binutils-gdb-6f4b1afcdc8317280669d020765b8215110c4584.tar.gz fsf-binutils-gdb-6f4b1afcdc8317280669d020765b8215110c4584.tar.bz2 |
Fix errors in the gas testsuite for the ARC target.
bfd * reloc.c (BFD_RELOC_ARC_32_PCREL): New entry.
(ARC_TLS_DTPOFF): Arrange it in order.
* elf32-arc.c (arc_elf_howto_ini): Update formula.
(get_middle_endian_relocation): New function.
(PDATA): Define.
* bfd-in2.h: Regenerate.
* libbfd.h: Likewise.
elf * arc-reloc.def (ARC_32_PCREL): New definition.
gas * config/tc-arc.c (tokenize_arguments): Avoid creating unused
symbols when parsing relocation types.
(md_apply_fix): Handle TLS relocations. Fix BFD_RELOC_ARC_32_PCREL
relocation.
(arc_check_reloc): Emit BFD_RELOC_ARC_32_PCREL relocation.
Diffstat (limited to 'bfd/reloc.c')
-rw-r--r-- | bfd/reloc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/reloc.c b/bfd/reloc.c index aa3d24f..fad9d21 100644 --- a/bfd/reloc.c +++ b/bfd/reloc.c @@ -3603,6 +3603,8 @@ ENUMX ENUMX BFD_RELOC_ARC_SDA16_ST2 ENUMX + BFD_RELOC_ARC_32_PCREL +ENUMX BFD_RELOC_ARC_PC32 ENUMX BFD_RELOC_ARC_GOT32 |