aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorSangamesh Mallayya <sangamesh.swamy@in.ibm.com>2017-12-08 13:47:17 +1030
committerAlan Modra <amodra@gmail.com>2017-12-08 16:56:04 +1030
commitc8bed57010e8789212a6841db4b397b175a00f9e (patch)
tree9d49e33edac79b8d118f3cc440505cf4139c5cfd /bfd
parent63a22aee30c7109adec9e9f503a086210683109e (diff)
downloadgdb-c8bed57010e8789212a6841db4b397b175a00f9e.zip
gdb-c8bed57010e8789212a6841db4b397b175a00f9e.tar.gz
gdb-c8bed57010e8789212a6841db4b397b175a00f9e.tar.bz2
Add aix 64-bit check to bfd_get_sign_extend_vma
* bfd.c (bfd_get_sign_extend_vma): Handle aix5coff64-rs6000.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/bfd.c3
2 files changed, 6 insertions, 1 deletions
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"))