This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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]

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


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.


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