Linker script

Michael Svetlik
Thu Jun 26 13:29:00 GMT 2003

> I think you misunderstod my problem here. It is not a c program that
> shall access this variable, i want the value of etext to be place on a
> fixed adress of the binary image. This is because a let another program
> interpret the binary image and calcualte a checksum on it i.e i need to
> know the value of etext data without running the program.
> Regards, Daniel Lidsten


I think, the SIZEOF function at
is what you need.
Unnecessary to say, that the symbol carrying the image length must be located 
on a fixed place - OUTSIDE - the text image....


Want more information?  See the CrossGCC FAQ,
Want to unsubscribe? Send a note to

More information about the crossgcc mailing list