Add aix 64-bit check to bfd_get_sign_extend_vma
authorSangamesh Mallayya <sangamesh.swamy@in.ibm.com>
Fri, 8 Dec 2017 03:17:17 +0000 (13:47 +1030)
committerAlan Modra <amodra@gmail.com>
Fri, 8 Dec 2017 06:26:04 +0000 (16:56 +1030)
* bfd.c (bfd_get_sign_extend_vma): Handle aix5coff64-rs6000.

bfd/ChangeLog
bfd/bfd.c

index 3e4df01d9c79eab9457624fbd0ac3c3b92c247c3..455153c22a76a5874321806f835f1625f6d58a0f 100644 (file)
@@ -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.
index 36ff4f53bd8f0a894779aa7ca83d9eab80de5151..26097a89fdb7ac9e9f555cac86b014a747722dbd 100644 (file)
--- 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"))