This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] Add aix 64-bit check to bfd_get_sign_extend_vma
- From: Alan Modra <amodra at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 8 Dec 2017 06:26:58 -0000
- Subject: [binutils-gdb] Add aix 64-bit check to bfd_get_sign_extend_vma
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=c8bed57010e8789212a6841db4b397b175a00f9e
commit c8bed57010e8789212a6841db4b397b175a00f9e
Author: Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
Date: Fri Dec 8 13:47:17 2017 +1030
Add aix 64-bit check to bfd_get_sign_extend_vma
* bfd.c (bfd_get_sign_extend_vma): Handle aix5coff64-rs6000.
Diff:
---
bfd/ChangeLog | 4 ++++
bfd/bfd.c | 3 ++-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 3e4df01..455153c 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2017-12-08 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
+
+ * bfd.c (bfd_get_sign_extend_vma): Handle aix5coff64-rs6000.
+
2017-12-06 Alan Modra <amodra@gmail.com>
* doc/header.sed: Trim trailing space when splitting lines.
diff --git a/bfd/bfd.c b/bfd/bfd.c
index 36ff4f5..26097a8 100644
--- a/bfd/bfd.c
+++ b/bfd/bfd.c
@@ -1533,7 +1533,8 @@ bfd_get_sign_extend_vma (bfd *abfd)
|| strcmp (name, "pei-x86-64") == 0
|| strcmp (name, "pe-arm-wince-little") == 0
|| strcmp (name, "pei-arm-wince-little") == 0
- || strcmp (name, "aixcoff-rs6000") == 0)
+ || strcmp (name, "aixcoff-rs6000") == 0
+ || strcmp (name, "aixcoff64-rs6000") == 0)
return 1;
if (CONST_STRNEQ (name, "mach-o"))