This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Thu, Sep 15, 2005 at 06:39:07AM -0700, H. J. Lu wrote: > On Wed, Sep 14, 2005 at 10:50:24PM -0700, Eric Christopher wrote: > > > > > >I have patches to add "-W/--dwarf" to objdump. Since objdump uses bfd > > >to get relocated section contents, it works better on RELA .o files. > > >Otherthan that, there are no differences between "readelf -w" and > > >"objdump -W/--dwarf". I also have a patch to support "-W/--dwarf" > > >on Darwin/i386. Let me know if they should be in the GNU binutils. > > >Otherwise, I will keep them in the Linux binutils. > > > > I'd like to see it, of course :) Though doesn't some of this require > > at least > > minimal bfd support for mach-o? > > The current mach-o support in bfd is enough for dumping DWARF info. > > Here are patches to dump DWARF info with objdump as well as mach-o support. They have to be applied in the order of binutils-darwin-1.patch readelf-reloc-1.patch readelf-gen-8.patch readelf-dwarf-12.patch objdump-dump-6.patch objdump-mach-o-3.patch H.J.
Attachment:
binutils-darwin-1.patch
Description: Text document
Attachment:
readelf-reloc-1.patch
Description: Text document
Attachment:
readelf-gen-8.patch
Description: Text document
Attachment:
readelf-dwarf-12.patch
Description: Text document
Attachment:
objdump-dump-6.patch
Description: Text document
Attachment:
objdump-mach-o-3.patch
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |