aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-or1k.h
diff options
context:
space:
mode:
authorPeter Zotov <whitequark@whitequark.org>2015-09-25 15:21:14 +0100
committerNick Clifton <nickc@redhat.com>2015-09-25 15:21:14 +0100
commit8a9e7a9121490a8c64d8c17f5be510e43104f6d9 (patch)
tree43e5f465538c635dfee83fddab4f3a9e5adeb42d /gas/config/tc-or1k.h
parent6cd8405efd699ed7686671d6f0d9caf20757b7a3 (diff)
downloadgdb-8a9e7a9121490a8c64d8c17f5be510e43104f6d9.zip
gdb-8a9e7a9121490a8c64d8c17f5be510e43104f6d9.tar.gz
gdb-8a9e7a9121490a8c64d8c17f5be510e43104f6d9.tar.bz2
Correct the generation of OR1K pc-relative relocations.
gas PR ld/18759 * config/tc-or1k.c (tc_gen_reloc): Correct computation of PC relative relocs. * config/tc-or1k.h (GAS_CGEN_PRCEL_R_TYPE): Delete. bfd * elf32-or1k.c (R_OR1K_32_PCREL): Set pcrel_offset to TRUE. (R_OR1K_16_PCREL): Likewise. (R_OR1K_8_PCREL): Likewise. ld/tests * ld-elf/eh-frame-hdr: Expect to pass on the or1k-linux target.
Diffstat (limited to 'gas/config/tc-or1k.h')
-rw-r--r--gas/config/tc-or1k.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/gas/config/tc-or1k.h b/gas/config/tc-or1k.h
index cc04b3a..d052834 100644
--- a/gas/config/tc-or1k.h
+++ b/gas/config/tc-or1k.h
@@ -57,8 +57,6 @@ extern long md_pcrel_from_section (struct fix *, segT);
extern const struct relax_type md_relax_table[];
#define TC_GENERIC_RELAX_TABLE md_relax_table
-#define GAS_CGEN_PCREL_R_TYPE(r_type) gas_cgen_pcrel_r_type(r_type)
-
#define elf_tc_final_processing or1k_elf_final_processing
void or1k_elf_final_processing (void);