This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[patch]: handle ppc-xcoff in bfd_get_sign_extend_vma
- From: Tristan Gingold <gingold at adacore dot com>
- To: binutils Development <binutils at sourceware dot org>
- Date: Thu, 9 Jun 2011 12:16:05 +0200
- Subject: [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"))