I am checking in the patch below to remove the inclusion of the
default manifest in final links for the Cygwin and MinGW targets. The
.rsrc section merging code has a bug which generates corrupt
executables (16807) and the manifest support triggers other build-time
and run-time problems.
It has been decided to move the manifest itself into its own project,
and to move the responsibility for including the manifest in a
Cygwin/MinGW binary into gcc, so the PE linker scripts no longer need
to specifically include it. I will be creating a follow up patch to
remove the rest of the default manifest support code tomorrow, but I
wanted to make sure that the linker is able to produce working
binaries today.