emitting "section start" and "section end" symbols in relocatable objects

Prasad Boddupalli bprasad@cs.arizona.edu
Tue May 15 00:31:00 GMT 2007


Is it possible to have the compiler or linker (if linking partially
using -r option) generate symbols for the start address and end
address of user defined sections in relocatable object files ?

They seem to be generated for shared objects. For example, if there is
a user defined section "set_modmetadata_set", then the symbols
"__start_set_modmetadata_set" and "__stop_set_modmetadata_set" are
automatically generated.

thank you,
Prasad.



More information about the Binutils mailing list