This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[Committed][AArch64] Fix TLSIE_MOVW_GOTTPREL_G0_NC field size.
- From: Marcus Shawcroft <marcus dot shawcroft at foss dot arm dot com>
- To: binutils at sourceware dot org
- Date: Thu, 26 Feb 2015 22:20:03 +0000
- Subject: [Committed][AArch64] Fix TLSIE_MOVW_GOTTPREL_G0_NC field size.
- Authentication-results: sourceware.org; auth=none
Hi, This patch fixes the width field in the TLSIE_MOVW_GOTTREL_G0_NC
HOWTO entry.
/Marcus
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 3916116..7b6e9a4 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2015-02-26 Marcus Shawcroft <marcus.shawcroft@arm.com>
+
+ * elfnn-aarch64.c: (TLSIE_MOVW_GOTTPREL_G0_NC): Fix HOWTO bit
+ field width.
+
2015-02-26 Nick Clifton <nickc@redhat.com>
PR binutils/17512
diff --git a/bfd/elfnn-aarch64.c b/bfd/elfnn-aarch64.c
index 39458aa..85c8703 100644
--- a/bfd/elfnn-aarch64.c
+++ b/bfd/elfnn-aarch64.c
@@ -895,7 +895,7 @@ static reloc_howto_type elfNN_aarch64_howto_table[] =
HOWTO64 (AARCH64_R (TLSIE_MOVW_GOTTPREL_G0_NC), /* type */
0, /* rightshift */
2, /* size (0 = byte, 1 = short, 2 = long) */
- 32, /* bitsize */
+ 16, /* bitsize */
FALSE, /* pc_relative */
0, /* bitpos */
complain_overflow_dont, /* complain_on_overflow */
--
1.9.1