aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorMarcus Shawcroft <marcus.shawcroft@arm.com>2015-02-18 15:00:27 +0000
committerMarcus Shawcroft <marcus.shawcroft@arm.com>2015-02-26 22:23:08 +0000
commit49d8f92c6e07977ede747163090b6a702f345629 (patch)
treebc5df6301ffe21a3573e4c48daa040cb5e2cbb37 /bfd
parent1db365dcdff81c772d4c22e73a86971016ebb6e2 (diff)
downloadgdb-49d8f92c6e07977ede747163090b6a702f345629.zip
gdb-49d8f92c6e07977ede747163090b6a702f345629.tar.gz
gdb-49d8f92c6e07977ede747163090b6a702f345629.tar.bz2
Fix TLSIE_MOVW_GOTTPREL_G0_NC field size.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elfnn-aarch64.c2
2 files changed, 6 insertions, 1 deletions
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 */