diff options
author | Paul Pluzhnikov <ppluzhnikov@google.com> | 2009-04-30 17:19:24 -0700 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2009-05-01 00:19:24 +0000 |
commit | cd5336897ef7e5c7ec137838308ccdcac458b8c3 (patch) | |
tree | bc6a0299750d5af207ceb8cfc2dd5ed3e2f0d9dc /gcc/config.in | |
parent | 76547252330a60b9a97c1afa84effc701a0ec6db (diff) | |
download | gcc-cd5336897ef7e5c7ec137838308ccdcac458b8c3.zip gcc-cd5336897ef7e5c7ec137838308ccdcac458b8c3.tar.gz gcc-cd5336897ef7e5c7ec137838308ccdcac458b8c3.tar.bz2 |
configure.ac (HAVE_LD_BUILDID): New check for ld --build-id support.
* configure.ac (HAVE_LD_BUILDID): New check for ld --build-id
support.
(ENABLE_LD_BUILDID): New configuration option.
* gcc.c [HAVE_LD_BUILDID and ENABLE_LD_BUILDID]
(LINK_BUILDID_SPEC): New macro.
(init_spec): If defined, prepend it between LINK_EH_SPEC and
link_spec.
* doc/install.texi: Document --enable-linker-build-id option.
* configure: Rebuild.
* config.in: Rebuild.
Co-Authored-By: Roland McGrath <roland@redhat.com>
From-SVN: r147029
Diffstat (limited to 'gcc/config.in')
-rw-r--r-- | gcc/config.in | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/config.in b/gcc/config.in index 9cbae32..76a7810 100644 --- a/gcc/config.in +++ b/gcc/config.in @@ -101,6 +101,12 @@ #endif +/* Define if gcc should always pass --build-id to linker. */ +#ifndef USED_FOR_TARGET +#undef ENABLE_LD_BUILDID +#endif + + /* Define to 1 if translation of program messages to the user's native language is requested. */ #ifndef USED_FOR_TARGET @@ -1025,6 +1031,12 @@ #endif +/* Define if your linker supports --build-id. */ +#ifndef USED_FOR_TARGET +#undef HAVE_LD_BUILDID +#endif + + /* Define if your linker supports --demangle option. */ #ifndef USED_FOR_TARGET #undef HAVE_LD_DEMANGLE |