aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2021-09-10 08:18:45 +0200
committerRichard Biener <rguenther@suse.de>2021-09-13 11:17:33 +0200
commit2ebb6f6e5162f2c759a883a30c3a49fbedbf5892 (patch)
tree717175e6525cc756433fb18e34b7f0816cf26e97 /gcc/doc
parentfc4a29c0781186269dc5f668e76ecea82030dde3 (diff)
downloadgcc-2ebb6f6e5162f2c759a883a30c3a49fbedbf5892.zip
gcc-2ebb6f6e5162f2c759a883a30c3a49fbedbf5892.tar.gz
gcc-2ebb6f6e5162f2c759a883a30c3a49fbedbf5892.tar.bz2
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.
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/install.texi4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
index 99b4470..88e453c 100644
--- a/gcc/doc/install.texi
+++ b/gcc/doc/install.texi
@@ -5131,6 +5131,10 @@ GCC will build with and support only MinGW runtime 3.12 and later.
Earlier versions of headers are incompatible with the new default semantics
of @code{extern inline} in @code{-std=c99} and @code{-std=gnu99} modes.
+To support emitting DWARF debugging info you need to use GNU binutils
+version 2.16 or above containing support for the @code{.secrel32}
+assembler pseudo-op.
+
@html
<hr />
@end html