This is the mail archive of the binutils@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]

Re: Adding aix 64-bit check to bfd_get_sign_extend_vma


On Sun, Dec 10, 2017 at 10:30:17PM +0530, Sangamesh Mallayya wrote:
> Hi Alan,
> 
> Looks like their is some typo in the commit.
> https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=c8bed57010e8789212a6841db4b397b175a00f9e

Oops, sorry.  I applied your patch by hand and got it wrong.

commit 57a2957f2ead9ec2464a1b6fbdb250e90d27afab
Author: Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
Date:   Mon Dec 11 08:17:15 2017 +1030

    Typo fix
    
    Entirely the fault of that Alan Modra bloke.
    
    	* bfd.c (bfd_get_sign_extend_vma): Correct typo.

diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 69ca494..8b315fa 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2017-12-11  Sangamesh Mallayya  <sangamesh.swamy@in.ibm.com>
+
+	* bfd.c (bfd_get_sign_extend_vma): Correct typo.
+
 2017-12-09  Alan Modra  <amodra@gmail.com>
 
 	* elfxx-sparc.c (_bfd_sparc_elf_relocate_section): When emitting
diff --git a/bfd/bfd.c b/bfd/bfd.c
index 26097a8..35a68c8 100644
--- a/bfd/bfd.c
+++ b/bfd/bfd.c
@@ -1534,7 +1534,7 @@ bfd_get_sign_extend_vma (bfd *abfd)
       || strcmp (name, "pe-arm-wince-little") == 0
       || strcmp (name, "pei-arm-wince-little") == 0
       || strcmp (name, "aixcoff-rs6000") == 0
-      || strcmp (name, "aixcoff64-rs6000") == 0)
+      || strcmp (name, "aix5coff64-rs6000") == 0)
     return 1;
 
   if (CONST_STRNEQ (name, "mach-o"))

-- 
Alan Modra
Australia Development Lab, IBM


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