[patch]: handle ppc-xcoff in bfd_get_sign_extend_vma
Tristan Gingold
gingold@adacore.com
Thu Jun 9 10:16:00 GMT 2011
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"))
More information about the Binutils
mailing list