public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [Committed][AArch64] Fix field size for TLSDESC_CALL
@ 2015-02-26 22:27 Marcus Shawcroft
  0 siblings, 0 replies; only message in thread
From: Marcus Shawcroft @ 2015-02-26 22:27 UTC (permalink / raw)
  To: binutils

[-- Attachment #1: Type: text/plain, Size: 153 bytes --]

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.

/Marcus

[-- Attachment #2: 0004-AArch64-Fix-field-size-for-TLSDESC_CALL.patch --]
[-- Type: text/x-patch, Size: 965 bytes --]

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 */
-- 
1.9.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-02-26 22:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-26 22:27 [Committed][AArch64] Fix field size for TLSDESC_CALL Marcus Shawcroft

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).