This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
RE: objdump --syms -j .text
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: "'Andy Chittenden'" <AChittenden at bluearc dot com>,<binutils at sourceware dot org>
- Date: Thu, 31 Mar 2005 16:51:25 +0100
- Subject: RE: objdump --syms -j .text
----Original Message----
>From: Andy Chittenden
>Sent: 31 March 2005 15:27
> I want to dump out just the symbols in the .text section. Is that
> possible? The "obvious" invocation of using "-j .text --syms" seems to
> ignore the -j option and dumps the symbols for all sections.
Yes, I see that behaviour too. You can work-around by using "objcopy -j
.text <infile> <tempfile>" to extract just the text section to a temporary
file and then run "objdump --syms" on that.
cheers,
DaveK
--
Can't think of a witty .sigline today....