Fix field size for TLSDESC_CALL
authorMarcus Shawcroft <marcus.shawcroft@arm.com>
Wed, 18 Feb 2015 15:08:34 +0000 (15:08 +0000)
committerMarcus Shawcroft <marcus.shawcroft@arm.com>
Thu, 26 Feb 2015 22:23:08 +0000 (22:23 +0000)
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.

bfd/ChangeLog
bfd/elfnn-aarch64.c

index 9de7dede9956b36fe13866da2810de54ee8fda19..3b7aff871525446fe736343c9e1ff79670c83c04 100644 (file)
@@ -1,3 +1,7 @@
+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)
index d218c88506381f875ec4534683e9d1b95ab87ef3..b863244763c129d50f03a2121701143dcbe1d0e6 100644 (file)
@@ -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 */