This is the mail archive of the binutils@sources.redhat.com 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]

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....


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]