aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-10-21 10:56:00 +0000
committerH.J. Lu <hjl.tools@gmail.com>2012-10-21 10:56:00 +0000
commitf24e5a8a46f4b3c2a64c5f7d9078aa549f934971 (patch)
tree952037e7da319d2bee6e7053d7d4e9dc839e6f30
parent8a72cc6e7e9e329b50b18cdc62b281ee1a5473f1 (diff)
downloadgdb-f24e5a8a46f4b3c2a64c5f7d9078aa549f934971.zip
gdb-f24e5a8a46f4b3c2a64c5f7d9078aa549f934971.tar.gz
gdb-f24e5a8a46f4b3c2a64c5f7d9078aa549f934971.tar.bz2
Handle x32 in dump_dwarf
* objdump.c (dump_dwarf): Handle bfd_mach_x64_32 and bfd_mach_x64_32_intel_syntax.
-rw-r--r--binutils/ChangeLog5
-rw-r--r--binutils/objdump.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index a3cfcd0..20faf50 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -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
diff --git a/binutils/objdump.c b/binutils/objdump.c
index 3b8f282..471ca95 100644
--- a/binutils/objdump.c
+++ b/binutils/objdump.c
@@ -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;