summaryrefslogtreecommitdiff
path: root/gcc/config.in
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2020-12-13 17:21:16 +0000
committerIain Sandoe <iain@sandoe.co.uk>2022-04-14 06:20:21 +0100
commit10abab4127b41f59f293a45cfdf647855e7724d6 (patch)
treea375f49caa9a4ffc89205e00e01a2cbda7a3b1f0 /gcc/config.in
parentd744051777cc9fe5ea14b6f480e6eea6092c7b29 (diff)
downloadgcc-10abab4127b41f59f293a45cfdf647855e7724d6.tar.gz
Darwin, configury : Allow for specification and detection of dsymutil.
In order to enable DWARF versions > 2 we need a sufficiently modern version of dsymutil (in addition to the assembler / linker). This allows the user to configure a different path from the installed one. In addition, there are several sources of dsymutil so we differentiate these in order to be get accurate version information. Backported from commits 3b5e8ee4f1ecc6d407f391695f65960bcbd63cff and b019b28ebd65462a092c96d95e9e356c8bb39b78 Signed-off-by: Iain Sandoe <iain@sandoe.co.uk> gcc/ChangeLog: * configure.ac: Handle --with-dsymutil in the same way as we do for the assembler and linker. (DEFAULT_DSYMUTIL): New. Extract the type and version for the dsymutil configured or found by the default searches. * config.in: Regenerated. * configure: Regenerated. * collect2.c (do_dsymutil): Handle locating dsymutil in the same way as for the assembler and linker. * config/darwin.h (DSYMUTIL): Delete. * gcc.c: Report a configured dsymutil correctly. * exec-tool.in: Allow for dsymutil. * doc/install.texi: Document --with-dsymutil. ChangeLog: * Makefile.def: Add dsymutil defs. * Makefile.in: Regenerated. * Makefile.tpl: Add dsymutil to flags. * configure: Regenerated. * configure.ac: Add dsymutil to target and build recipes.
Diffstat (limited to 'gcc/config.in')
-rw-r--r--gcc/config.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/config.in b/gcc/config.in
index 2de5a463315..048bf52e8c2 100644
--- a/gcc/config.in
+++ b/gcc/config.in
@@ -55,6 +55,12 @@
#endif
+/* Define to enable the use of a default debug linker. */
+#ifndef USED_FOR_TARGET
+#undef DEFAULT_DSYMUTIL
+#endif
+
+
/* Define to enable the use of a default linker. */
#ifndef USED_FOR_TARGET
#undef DEFAULT_LINKER
@@ -94,6 +100,12 @@
#endif
+/* Define to the dsymutil version. */
+#ifndef USED_FOR_TARGET
+#undef DSYMUTIL_VERSION
+#endif
+
+
/* Define 0/1 if static analyzer feature is enabled. */
#ifndef USED_FOR_TARGET
#undef ENABLE_ANALYZER