> The real heart of the matter though is that most of the people that > contribute to gcc aren't themselves users of these targets, and so it's > only natural that they don't know about or care about the status of any > target-specific issues. What has worried me lately however is how much > ELF-specific design has been creeping into gcc, notably in the areas of > plugins and LTO. If this trend continues it will result in the PECOFF > targets becoming even more of a backwater than they already are, which I > find to be a sad future for the 90%.
If you really want to solve this then you could always stop using PE/COFF. The ARM EABI (and in particular the arm-none-symbianelf target) demonstrates how this can be done. Basically the toolchain generates ELF objects, executables and DSOs, then you feed them through a postlinker to generate target (PE/COFF) images. Paul