This is the mail archive of the
mailing list for the binutils project.
Re: gold patch to discard .note.callgraph sections in the final link.
Cary Coutant <email@example.com> writes:
>> As I understand it, SHF_EXCLUDE sections should not be discarded by an
>> ld -r link. ÂIf gold is doing that today, which it probably is, that
>> should be fixed. ÂSo, yeah, SHF_EXCLUDE sounds like a much better way to
>> deal with this.
> Sounds good to me. Now we either need an assembly syntax for
> SHF_EXCLUDE, or Sri will need to add his section to the list of
> special cases in special_sections in bfd/elf.c.
Well, an assembly syntax would be a really bad idea because....nah, just
kidding, obviously the assembler should have syntax for setting the
flags and type of any random ELF section.