This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] [AArch64] Fix typo in comments on relocation name


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=4aa57d6a2bfc4e48fa6a685bfa164db5ae2e1c1c

commit 4aa57d6a2bfc4e48fa6a685bfa164db5ae2e1c1c
Author: Jiong Wang <jiong.wang@arm.com>
Date:   Thu Jun 22 12:04:42 2017 +0100

    [AArch64] Fix typo in comments on relocation name
    
    BFD_RELOC_AARCH64_ADR_GOTPAGE should be BFD_RELOC_AARCH64_ADR_GOT_PAGE.
    
    bfd/
      * reloc.c (BFD_RELOC_AARCH64_ADR_GOTPAGE): Rename to
      BFD_RELOC_AARCH64_ADR_GOT_PAGE
      * bfd-in2.h: Regenerated.

Diff:
---
 bfd/ChangeLog | 6 ++++++
 bfd/bfd-in2.h | 4 ++--
 bfd/reloc.c   | 4 ++--
 3 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 4d2acc5..8062e41 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,9 @@
+2017-06-23  Jiong Wang  <jiong.wang@arm.com>
+
+	* reloc.c (BFD_RELOC_AARCH64_ADR_GOTPAGE): Rename to
+	BFD_RELOC_AARCH64_ADR_GOT_PAGE
+	* bfd-in2.h: Regenerate.
+
 2017-06-22  H.J. Lu  <hongjiu.lu@intel.com>
 
 	* elf64-x86-64.c (elf_x86_64_link_setup_gnu_properties): Move
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index 4348793..45f665b 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -6014,12 +6014,12 @@ conjunction with BFD_RELOC_AARCH64_LD64_GOT_LO12_NC.  */
 
 /* Unsigned 12 bit byte offset for 64 bit load/store from the page of
 the GOT entry for this symbol.  Used in conjunction with
-BFD_RELOC_AARCH64_ADR_GOTPAGE.  Valid in LP64 ABI only.  */
+BFD_RELOC_AARCH64_ADR_GOT_PAGE.  Valid in LP64 ABI only.  */
   BFD_RELOC_AARCH64_LD64_GOT_LO12_NC,
 
 /* Unsigned 12 bit byte offset for 32 bit load/store from the page of
 the GOT entry for this symbol.  Used in conjunction with
-BFD_RELOC_AARCH64_ADR_GOTPAGE.  Valid in ILP32 ABI only.  */
+BFD_RELOC_AARCH64_ADR_GOT_PAGE.  Valid in ILP32 ABI only.  */
   BFD_RELOC_AARCH64_LD32_GOT_LO12_NC,
 
 /* Unsigned 16 bit byte offset for 64 bit load/store from the GOT entry
diff --git a/bfd/reloc.c b/bfd/reloc.c
index ee01d88..024056f 100644
--- a/bfd/reloc.c
+++ b/bfd/reloc.c
@@ -7120,13 +7120,13 @@ ENUM
 ENUMDOC
   Unsigned 12 bit byte offset for 64 bit load/store from the page of
   the GOT entry for this symbol.  Used in conjunction with
-  BFD_RELOC_AARCH64_ADR_GOTPAGE.  Valid in LP64 ABI only.
+  BFD_RELOC_AARCH64_ADR_GOT_PAGE.  Valid in LP64 ABI only.
 ENUM
   BFD_RELOC_AARCH64_LD32_GOT_LO12_NC
 ENUMDOC
   Unsigned 12 bit byte offset for 32 bit load/store from the page of
   the GOT entry for this symbol.  Used in conjunction with
-  BFD_RELOC_AARCH64_ADR_GOTPAGE.  Valid in ILP32 ABI only.
+  BFD_RELOC_AARCH64_ADR_GOT_PAGE.  Valid in ILP32 ABI only.
  ENUM
   BFD_RELOC_AARCH64_MOVW_GOTOFF_G0_NC
 ENUMDOC


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]