aboutsummaryrefslogtreecommitdiff
path: root/bfd/bfd.c
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/bfd.c
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/bfd.c')
-rw-r--r--bfd/bfd.c3
1 files changed, 2 insertions, 1 deletions
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"))