> My preference would be to add the | SECTION_EXCLUDE unconditionally, and > instead guard the > if (flags & SECTION_EXCLUDE) > *f++ = 'e'; > in varasm.c (default_elf_asm_named_section). The only other user of > SECTION_EXCLUDE seems to be -gsplit-dwarf right now, Cary, is such a change > ok with you?
Yes, that sounds fine. > If you have new gas and old linker, I'd expect it would just ignore > SHF_EXCLUDE. Agreed. -cary