objdump --syms -j .text

Dave Korn dave.korn@artimi.com
Thu Mar 31 21:06:00 GMT 2005


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



More information about the Binutils mailing list