aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorMarcus Shawcroft <marcus.shawcroft@arm.com>2015-02-18 15:08:34 +0000
committerMarcus Shawcroft <marcus.shawcroft@arm.com>2015-02-26 22:23:08 +0000
commit7366006f66f6b781832e397dd177ed8698d4fdc7 (patch)
tree4c071ca3584aff6934544f23a636d66fde988427 /bfd
parent07875fbce7911d7e6174d6398cec2872eb489613 (diff)
downloadgdb-7366006f66f6b781832e397dd177ed8698d4fdc7.zip
gdb-7366006f66f6b781832e397dd177ed8698d4fdc7.tar.gz
gdb-7366006f66f6b781832e397dd177ed8698d4fdc7.tar.bz2
Fix field size for TLSDESC_CALL
This relocation is a marker and does not result in a modification to the binary. Changing the HOWTO bit field width to reflect this property.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/elfnn-aarch64.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 9de7ded..3b7aff8 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,9 @@
2015-02-26 Marcus Shawcroft <marcus.shawcroft@arm.com>
+ * elfnn-aarch64.c: (TLSDESC_CALL): Fix HOWTO bit field width.
+
+2015-02-26 Marcus Shawcroft <marcus.shawcroft@arm.com>
+
* elfnn-aarch64.c (TLSLE_MOVW_TPREL_G2)
(TLSLE_MOVW_TPREL_G1, TLSLE_MOVW_TPREL_G1_NC)
(TLSLE_MOVW_TPREL_G0, TLSLE_MOVW_TPREL_G0_NC): Fix bit field
diff --git a/bfd/elfnn-aarch64.c b/bfd/elfnn-aarch64.c
index d218c88..b863244 100644
--- a/bfd/elfnn-aarch64.c
+++ b/bfd/elfnn-aarch64.c
@@ -1222,7 +1222,7 @@ static reloc_howto_type elfNN_aarch64_howto_table[] =
HOWTO (AARCH64_R (TLSDESC_CALL), /* type */
0, /* rightshift */
2, /* size (0 = byte, 1 = short, 2 = long) */
- 12, /* bitsize */
+ 0, /* bitsize */
FALSE, /* pc_relative */
0, /* bitpos */
complain_overflow_dont, /* complain_on_overflow */