This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PATCH: Handle x32 in dump_dwarf
- From: Tristan Gingold <gingold at adacore dot com>
- To: H.J. Lu <hjl dot tools at gmail dot com>
- Cc: binutils at sourceware dot org
- Date: Mon, 22 Oct 2012 10:26:11 +0200
- Subject: Re: PATCH: Handle x32 in dump_dwarf
- References: <20121021111427.GA27300@gmail.com>
On Oct 21, 2012, at 1:14 PM, H.J. Lu wrote:
> Hi,
>
> I checked this patch into trunk. OK for 2.23 branch?
Looks safe. I will merge. Might be the last patch for 2.23...
>
> 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;
>