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]

Re: objdump or nm exported symbols (was: Linker exposing private symbols)


Hi Jeff,

> Alan, Since I have you on the line...
> 
> Is there a more succinct way to objdump or nm only exported symbols,
> without warts like:
> 
>     nm -gCD sha256_wrapper.so | grep ' T '

[replying for Alan since he is probably very busy].

No. :-(

Probably the closest that you will get is:

  nm --defined-only --extern-only <foo>

But this will include exported data symbols as well as function symbols.

Cheers
  Nick


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