How to get start/end information about functions?

Nick Clifton nickc@redhat.com
Mon Apr 14 08:54:00 GMT 2008


Hi PRC,

> But how about the last function of the image, since it does not have a next function
> after it? Is there an easy way to do this?

Assuming that all of your functions are in the .text section then the 
end address of the last function will be equal to the start address of 
the .text section plus its size.

Cheers
   Nick




More information about the Binutils mailing list