Need for an additional flag
Michael Matz
matz@suse.de
Fri Sep 19 14:31:00 GMT 2003
Hi,
I have a need for introducing something like a new flag to ELF sections.
It would only apply to SHF_MERGE|SHF_STRINGS. There is space in the SHF_
namespace. But I can't map it to any bfd SEC_xxx, because there're no
bits left. Currently I'm thinking about reusing SEC_ROM for that flag,
because it doesn't seem to be handled in very many places, so special
casing SEC_STRING section with SEC_ROM attribute is feasible.
Of course that's ugly. Is there a better way to communicate some ELF
section flag to the linker (this is where I actually need this)?
Ciao,
Michael.
More information about the Binutils
mailing list