diff options
author | Alan Modra <amodra@gmail.com> | 2020-06-21 14:23:46 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2020-06-21 22:16:10 +0930 |
commit | 0381901e629115f5f0d92a27fe74b1814f6f389a (patch) | |
tree | 70d1c2ebef5f3039131b03ae96d7af9841a77f03 /ld/configure.ac | |
parent | 48e9cc84058771da089a2e8e652f70ac20a8fac0 (diff) | |
download | gdb-0381901e629115f5f0d92a27fe74b1814f6f389a.zip gdb-0381901e629115f5f0d92a27fe74b1814f6f389a.tar.gz gdb-0381901e629115f5f0d92a27fe74b1814f6f389a.tar.bz2 |
Do without ld ENABLE_PLUGINS
Instead, use BFD_SUPPORTS_PLUGINS.
* ldfile.c: Replace uses of ENABLE_PLUGINS with BFD_SUPPORTS_PLUGINS.
* ldlang.c: Likewise.
* ldlang.h: Likewise.
* ldlex.h: Likewise.
* ldmain.c: Likewise.
* lexsup.c: Likewise.
* plugin.c: Wrap body of file in #if BFD_SUPPORTS_PLUGINS.
* testplug.c: Likewise.
* testplug2.c: Likewise.
* testplug3.c: Likewise.
* testplug4.c: Likewise.
* configure.ac (ENABLE_PLUGINS): Don't define AM_CONTITIONAL.
* Makefile.am: Remove ENABLE_PLUGINS conditionals.
(PLUGIN_CFLAGS): Don't define.
(PLUGIN_C, PLUGIN_H, PLUGIN_OBJECT): Likewise. Substitute all
uses with plugin file name.
* configure: Regenerate.
* Makefile.in: Regenerate.
Diffstat (limited to 'ld/configure.ac')
-rw-r--r-- | ld/configure.ac | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ld/configure.ac b/ld/configure.ac index 99957df..2b6c048 100644 --- a/ld/configure.ac +++ b/ld/configure.ac @@ -274,7 +274,6 @@ dnl AC_CHECK_HEADERS(sys/mman.h) AC_FUNC_MMAP AC_SEARCH_LIBS([dlopen], [dl]) -AM_CONDITIONAL([ENABLE_PLUGINS], [test x$plugins = xyes]) AC_ARG_ENABLE(initfini-array, [ --disable-initfini-array do not use .init_array/.fini_array sections], |