This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] Fix TLSIE_MOVW_GOTTPREL_G0_NC field size.
- From: Marcus Shawcroft <mshawcroft at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 26 Feb 2015 22:23:38 -0000
- Subject: [binutils-gdb] Fix TLSIE_MOVW_GOTTPREL_G0_NC field size.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=49d8f92c6e07977ede747163090b6a702f345629
commit 49d8f92c6e07977ede747163090b6a702f345629
Author: Marcus Shawcroft <marcus.shawcroft@arm.com>
Date: Wed Feb 18 15:00:27 2015 +0000
Fix TLSIE_MOVW_GOTTPREL_G0_NC field size.
Diff:
---
bfd/ChangeLog | 5 +++++
bfd/elfnn-aarch64.c | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
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 */