https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85238
--- Comment #11 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- > So we in additional to that require a target hook that can be queried > from dwarf2out_early_finish () to disable the output of the sections. > Or somehow query the simple-object capability there. Can't we just put a single kludge in the middle-end, for example based on TARGET_PECOFF which is already used for a kludge in varasm.c?