This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
PATCH: Handle x32 in dump_dwarf
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: binutils at sourceware dot org
- Cc: Tristan Gingold <gingold at adacore dot com>
- Date: Sun, 21 Oct 2012 04:14:27 -0700
- Subject: PATCH: Handle x32 in dump_dwarf
Hi,
I checked this patch into trunk. OK for 2.23 branch?
Thanks.
H.J.
---
Index: ChangeLog
===================================================================
RCS file: /cvs/src/src/binutils/ChangeLog,v
retrieving revision 1.1945
diff -u -p -r1.1945 ChangeLog
--- ChangeLog 21 Oct 2012 09:06:07 -0000 1.1945
+++ ChangeLog 21 Oct 2012 10:55:15 -0000
@@ -1,3 +1,8 @@
+2012-10-21 H.J. Lu <hongjiu.lu@intel.com>
+
+ * objdump.c (dump_dwarf): Handle bfd_mach_x64_32 and
+ bfd_mach_x64_32_intel_syntax.
+
2012-10-21 Alan Modra <amodra@gmail.com>
* objdump.c (load_specific_debug_section): Use
Index: objdump.c
===================================================================
RCS file: /cvs/src/src/binutils/objdump.c,v
retrieving revision 1.198
diff -u -p -r1.198 objdump.c
--- objdump.c 21 Oct 2012 09:06:07 -0000 1.198
+++ objdump.c 21 Oct 2012 10:55:18 -0000
@@ -2392,6 +2392,8 @@ dump_dwarf (bfd *abfd)
{
case bfd_mach_x86_64:
case bfd_mach_x86_64_intel_syntax:
+ case bfd_mach_x64_32:
+ case bfd_mach_x64_32_intel_syntax:
init_dwarf_regnames_x86_64 ();
break;