diff options
-rw-r--r-- | gcc/config.in | 4 | ||||
-rw-r--r-- | gcc/configure.ac | 22 |
2 files changed, 0 insertions, 26 deletions
diff --git a/gcc/config.in b/gcc/config.in index a31fc59d566..b6a95b53e19 100644 --- a/gcc/config.in +++ b/gcc/config.in @@ -1142,10 +1142,6 @@ #undef HAVE_LD_DEMANGLE #endif -/* Define if your linker supports plugin. */ -#ifndef USED_FOR_TARGET -#undef HAVE_LD_PLUGIN -#endif /* Define if your linker supports --eh-frame-hdr option. */ #undef HAVE_LD_EH_FRAME_HDR diff --git a/gcc/configure.ac b/gcc/configure.ac index 8d6d1649fa4..0eb2d8bddee 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -3127,28 +3127,6 @@ if test x"$demangler_in_ld" = xyes; then AC_MSG_RESULT($gcc_cv_ld_demangle) fi -if test x"$linker_plugin_in_ld" = xyes; then - AC_MSG_CHECKING(linker support) - gcc_cv_ld_plugin=no - if test x"$ld_is_gold" = xyes; then - gcc_cv_ld_plugin=yes - else if test $in_tree_ld = yes; then - if test "$gcc_cv_gld_major_version" -eq 2 -a "$gcc_cv_gld_minor_version" -ge 21 -o "$gcc_cv_gld_major_version" -gt 2; then \ - gcc_cv_ld_plugin=yes - fi - elif test x$PLUGIN_LD != x -a x"$gnu_ld" = xyes; then - # Check if the GNU linker supports --plugin-opt option - if $gcc_cv_ld --help 2>/dev/null | grep no-demangle > /dev/null; then - gcc_cv_ld_plugin=yes - fi - fi - if test x"$gcc_cv_ld_plugin" = xyes; then - AC_DEFINE(HAVE_LD_PLUGIN, 1, -[Define if your linker supports plugin.]) - fi - AC_MSG_RESULT($gcc_cv_ld_plugin) -fi - case "$target" in # All TARGET_ABI_OSF targets. alpha*-*-osf* | alpha*-*-linux* | alpha*-*-*bsd*) |