diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2020-12-13 17:21:16 +0000 |
---|---|---|
committer | Iain Sandoe <iain@sandoe.co.uk> | 2021-07-05 20:40:45 +0100 |
commit | 3b5e8ee4f1ecc6d407f391695f65960bcbd63cff (patch) | |
tree | 56c6da96a8fef14fde6e9e57f9d06ae33c8b2e58 /gcc/config/darwin.h | |
parent | be8749f939a933bca6de19d9cf1a510d5954c2fa (diff) | |
download | gcc-3b5e8ee4f1ecc6d407f391695f65960bcbd63cff.zip gcc-3b5e8ee4f1ecc6d407f391695f65960bcbd63cff.tar.gz gcc-3b5e8ee4f1ecc6d407f391695f65960bcbd63cff.tar.bz2 |
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.
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.
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/darwin.h')
-rw-r--r-- | gcc/config/darwin.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h index 5f11978..20d6b1e 100644 --- a/gcc/config/darwin.h +++ b/gcc/config/darwin.h @@ -240,8 +240,6 @@ extern GTY(()) int darwin_ms_struct; DARWIN_NOCOMPACT_UNWIND \ "}}}}}}} %<pie %<no-pie %<rdynamic %<X " -#define DSYMUTIL "\ndsymutil" - /* Spec that controls whether the debug linker is run automatically for a link step. This needs to be done if there is a source file on the command line which will result in a temporary object (and debug is |