> On 15 Aug 2018, at 20:07, Joseph Myers <jos...@codesourcery.com> wrote: > > On Wed, 15 Aug 2018, Iain Sandoe wrote: > >> One of my Grand Ideas (i.e. things that might never happen because of >> time) would be to split out the Well Known Sections used by GCC into >> file/files with .defs for the different flavours. This would mean one >> place to add a new GCC named section - which would make it much less >> likely for folks to forget to add the Darwin ones (assuming there are no >> targets left without named sections). > > Targets without named sections are pdp11 and 32-bit PA HP-UX (plus > m68k-openbsd and vax-openbsd, but I think the non-ELF OpenBSD targets are > for very old OpenBSD versions, probably long obsolete).
So, I suppose, one would need to make it possible to put .data / .text to pick the “most suitable” substitute for those (I guess somehow that’s already done for existing generic infra. that uses named sections). Iain