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

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

Hi, This patch fixes the width field in the TLSIE_MOVW_GOTTREL_G0_NC 
HOWTO entry.

/Marcus

[-- Attachment #2: 0002-AArch64-Fix-TLSIE_MOVW_GOTTPREL_G0_NC-field-size.patch --]
[-- Type: text/x-patch, Size: 849 bytes --]

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 */
-- 
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:21 [Committed][AArch64] Fix TLSIE_MOVW_GOTTPREL_G0_NC field size 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).