-ffunction-sections and -fdata-sections are well supported by many
object file formats:
- ELF
- COFF
- XCOFF
- wasm
Only MachO ignores this flag.
While here, remove it from -funique-section-names. Wasm honors this
option.
Addresses PR44910.
Differential D74634
Remove "ELF Only" restriction from section flags rnk on Feb 14 2020, 11:48 AM. Authored by
Details -ffunction-sections and -fdata-sections are well supported by many
Only MachO ignores this flag. While here, remove it from -funique-section-names. Wasm honors this Addresses PR44910.
Diff Detail
Event TimelineComment Actions In the commit message, which is currently "Remove "ELF Only" restriction from section flags" maybe add "help text" or something to make it obvious this only changes the help text -- i.e. it's not removing any actual "elf only" restriction. |