This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH] tilegx: Correct 64-bit pc-relative relocation type name
- From: Kerry Sheh <ksheh at mellanox dot com>
- To: <binutils at sourceware dot org>
- Cc: Chris Metcalf <cmetcalf at mellanox dot com>
- Date: Mon, 6 Jun 2016 11:06:00 +0800
- Subject: [PATCH] tilegx: Correct 64-bit pc-relative relocation type name
- Authentication-results: sourceware.org; auth=none
- Authentication-results: sourceware.org; dkim=none (message not signed) header.d=none;sourceware.org; dmarc=none action=none header.from=mellanox.com;
- Reply-to: <ksheh at mellanox dot com>
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