This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch]: handle ppc-xcoff in bfd_get_sign_extend_vma


Hi,

yet another target specific case in bfd_get_sign_extend_vma for aixcoff-rs6000, now that gdb supports dwarf on this target.

Ok for trunk ?

Tristan.

bfd/
2011-05-23  Tristan Gingold  <gingold@adacore.com>

        * bfd.c (bfd_get_sign_extend_vma): Handle aixcoff.


diff --git a/bfd/bfd.c b/bfd/bfd.c
index c729d63..b3e2c47 100644
--- a/bfd/bfd.c
+++ b/bfd/bfd.c
@@ -1031,7 +1031,8 @@ bfd_get_sign_extend_vma (bfd *abfd)
       || strcmp (name, "pe-x86-64") == 0
       || strcmp (name, "pei-x86-64") == 0
       || strcmp (name, "pe-arm-wince-little") == 0
-      || strcmp (name, "pei-arm-wince-little") == 0)
+      || strcmp (name, "pei-arm-wince-little") == 0
+      || strcmp (name, "aixcoff-rs6000") == 0)
     return 1;
 
   if (CONST_STRNEQ (name, "mach-o"))


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]