This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
emitting "section start" and "section end" symbols in relocatable objects
- From: "Prasad Boddupalli" <bprasad at cs dot arizona dot edu>
- To: binutils <binutils at sources dot redhat dot com>
- Date: Mon, 14 May 2007 17:31:38 -0700
- Subject: 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.