This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Adding aix 64-bit check to bfd_get_sign_extend_vma
- From: Alan Modra <amodra at gmail dot com>
- To: Sangamesh Mallayya <sangamesh dot swamy at in dot ibm dot com>
- Cc: binutils at sourceware dot org
- Date: Mon, 11 Dec 2017 08:50:23 +1030
- Subject: Re: Adding aix 64-bit check to bfd_get_sign_extend_vma
- Authentication-results: sourceware.org; auth=none
- References: <OF62F49F5C.5CCCDDFB-ON652581EF.0021B0F0-652581EF.00228A7B@notes.na.collabserv.com> <OF6BE5AB44.AE17D4C4-ON002581F0.0025219E@LocalDomain> <OF09917F59.D8C3F2FF-ON652581F0.0047F888-652581F0.00480756@LocalDomain> <OFE56E33F5.41746925-ON652581F2.005D32E8-652581F2.005D689B@notes.na.collabserv.com>
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