Always default to DWARF2 debug for cygwin and mingw
authorRichard Biener <rguenther@suse.de>
Fri, 10 Sep 2021 06:18:45 +0000 (08:18 +0200)
committerRichard Biener <rguenther@suse.de>
Mon, 13 Sep 2021 09:17:33 +0000 (11:17 +0200)
commit2ebb6f6e5162f2c759a883a30c3a49fbedbf5892
tree717175e6525cc756433fb18e34b7f0816cf26e97
parentfc4a29c0781186269dc5f668e76ecea82030dde3
Always default to DWARF2 debug for cygwin and mingw

This removes the fallback to STABS as default for cygwin and mingw
when the assembler does not support .secrel32 and the default is
to emit 32bit code.  Support for .secrel32 was added to binutils 2.16
released in 2005 so instead document that as requirement.

I left the now unused check for .secrel32 in configure around
in case somebody wants to turn that into an error or warning.

2021-09-10  Richard Biener  <rguenther@suse.de>

* config/i386/cygming.h: Always default to DWARF2 debugging.
Do not define DBX_DEBUGGING_INFO, that's done via dbxcoff.h
already.
* doc/install.texi: Document binutils 2.16 as minimum
requirement for mingw.
gcc/config/i386/cygming.h
gcc/doc/install.texi