[PATCH] tilegx: Correct 64-bit pc-relative relocation type name
Kerry Sheh
ksheh@mellanox.com
Mon Jun 6 03:06:00 GMT 2016
Hi,
Fix typo in the 64-bit pc-relative relocation type name. It confusing to see the 32-bit pc-relative relocations in 64-bit code when looking at 'objdump -r' output.
Thanks
bfd/ChangeLog:
2016-06-06 Kerry Sheh <ksheh@mellanox.com>
* elfxx-tilegx.c: Correct 64-bit pc-relative relocation type name.
---
diff --git a/bfd/elfxx-tilegx.c b/bfd/elfxx-tilegx.c
index db266c1..65fb276 100644
--- a/bfd/elfxx-tilegx.c
+++ b/bfd/elfxx-tilegx.c
@@ -153,7 +153,7 @@ static reloc_howto_type tilegx_elf_howto_table [] =
0, /* bitpos */
complain_overflow_dont, /* complain_on_overflow */
bfd_elf_generic_reloc, /* special_function */
- "R_TILEGX_32_PCREL", /* name */
+ "R_TILEGX_64_PCREL", /* name */
FALSE, /* partial_inplace */
0, /* src_mask */
0xffffffffffffffffULL, /* dst_mask */
--
Kerry Sheh <ksheh@mellanox.com>
Mellanox Technologies
Addr: 15/F, Tower 1, Poly Plaza, Dong Yuan, Wang Jing, Chaoyang District, Beijing 100102 China
Office: +86-10-5789-2055 Mobile: +86-152-1018-2083
www.mellanox.com
More information about the Binutils
mailing list