extracting size of a symbol
diz rael
dizraelus@yahoo.com
Tue Aug 24 05:51:00 GMT 2004
I was wondering if someone knows how to do this, or if
there is a more appropriate mailing list for this kind
of question.
Thanks,
diz.
--- diz rael <dizraelus@yahoo.com> wrote:
> What is the easiest way of extracting the size of a
> symbol (eg. global variable/function)?
>
> bfd_print_symbol produces this info. but I want to
> extract just the size, and not print it to a stream.
>
> Currently, I'm just sorting symbols within their
> sections and subtracting addresses of consecutive
> entries to calculate their sizes.
>
> I'm sure there is a better way to do this, so any
> suggestions would be appreciated.
>
> Thanks!
>
>
>
> _______________________________
> Do you Yahoo!?
> Win 1 of 4,000 free domain names from Yahoo! Enter
> now.
> http://promotions.yahoo.com/goldrush
>
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail
More information about the Binutils
mailing list