This is the mail archive of the
mailing list for the GCC project.
Re: [lto]: PATCH: New section names.
Mark Mitchell wrote:
> Richard Earnshaw wrote:
>> On Fri, 2006-09-08 at 19:17, Kenneth Zadeck wrote:
>> Hmm, I think the name ought to be something like .gnu.lto_$name. The
>> elf spec has the following to say on this subject:
> Yes, that's a good idea. I'm somewhat surprised I didn't suggest that
> myself. :-)
I will change the symbol LTO_SECTION_NAME_PREFIX next time I put
something back unless some else beats me to it.
>> Also, there are no parts of the section type number space that are
>> reserved to the toolchain vendor; there are parts for the architecture,
>> parts for the OS, and parts for the user in the section type field, but
>> sadly none for the compiler.
> I'm not sure precisely why we would need our own section type; it just
> seemed like a good idea in the abstract so that, for example, readelf
> could key off of that, rather than the name, when dumping the section
> data. I guess we can live without.