Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

get start and end of .text from C

I am trying to get the start and end of the .text section in C code. I have currently tried: extern int stext; extern int etext; struct ta { void * start; void * end; }; struct ta tex...