This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC 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]

sizeof(function) functionality


Hello,

Other than instantiating a volatile variable right after a function and
evaluating variable - &funcname, is there another way of retrieving the
size a function occupies in memory using gcc ? Is there a way to tell
gcc to create additional symbols when it compiles that mark the end of a
function (e.g. __<functionname>_end)?

Thanks,
Kristis 


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