This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 4/4] bfd.c: hancle aixcoff in bfd_get_sign_extend_vma.
- From: Tristan Gingold <gingold at adacore dot com>
- To: gdb-patches at sourceware dot org
- Cc: Tristan Gingold <gingold at adacore dot com>
- Date: Mon, 23 May 2011 12:29:04 +0200
- Subject: [PATCH 4/4] bfd.c: hancle aixcoff in bfd_get_sign_extend_vma.
- References: <1306146544-3925-1-git-send-email-gingold@adacore.com>
To be submitted on binutils@, attached for completness.
bfd/
2011-05-23 Tristan Gingold <gingold@adacore.com>
* bfd.c (bfd_get_sign_extend_vma): Handle aixcoff.
---
bfd/bfd.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
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"))
--
1.7.3.GIT