From 82d8e420ab39cf227aa8e0869a54fb0a29b0a00d Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Wed, 8 Apr 2015 17:05:54 -0700 Subject: [PATCH] Enable ELF ld_list_options for --enable-targets=all When --enable-targets=all is used with non-ELF target, we should enable ELF ld_list_options. * configure.ac (elf_list_options): Set to TRUE for --enable-targets=all. (elf_shlib_list_options): Likewise. (elf_plt_unwind_list_options): Likewise. * configure: Regenerated. --- ld/ChangeLog | 8 ++++++++ ld/configure | 3 +++ ld/configure.ac | 3 +++ 3 files changed, 14 insertions(+) diff --git a/ld/ChangeLog b/ld/ChangeLog index b83c11e255b..9807eabfb90 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,11 @@ +2015-04-08 H.J. Lu + + * configure.ac (elf_list_options): Set to TRUE for + --enable-targets=all. + (elf_shlib_list_options): Likewise. + (elf_plt_unwind_list_options): Likewise. + * configure: Regenerated. + 2015-04-08 H.J. Lu * emulparams/elf32bmipn32-defs.sh: Skip empty EMULATION_NAME. diff --git a/ld/configure b/ld/configure index 44bce0ee069..b528f74d65f 100755 --- a/ld/configure +++ b/ld/configure @@ -17035,6 +17035,9 @@ for targ_alias in `echo $target_alias $enable_targets | sed 's/,/ /g'` do if test "$targ_alias" = "all"; then all_targets=true + elf_list_options=TRUE + elf_shlib_list_options=TRUE + elf_plt_unwind_list_options=TRUE else # Canonicalize the secondary target names. result=`$ac_config_sub $targ_alias 2>/dev/null` diff --git a/ld/configure.ac b/ld/configure.ac index 572440c8014..ac3c14f01a1 100644 --- a/ld/configure.ac +++ b/ld/configure.ac @@ -288,6 +288,9 @@ for targ_alias in `echo $target_alias $enable_targets | sed 's/,/ /g'` do if test "$targ_alias" = "all"; then all_targets=true + elf_list_options=TRUE + elf_shlib_list_options=TRUE + elf_plt_unwind_list_options=TRUE else # Canonicalize the secondary target names. result=`$ac_config_sub $targ_alias 2>/dev/null`