Enable ELF ld_list_options for --enable-targets=all
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 9 Apr 2015 00:05:54 +0000 (17:05 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 9 Apr 2015 00:08:45 +0000 (17:08 -0700)
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
ld/configure
ld/configure.ac

index b83c11e..9807eab 100644 (file)
@@ -1,5 +1,13 @@
 2015-04-08  H.J. Lu  <hongjiu.lu@intel.com>
 
+       * 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  <hongjiu.lu@intel.com>
+
        * emulparams/elf32bmipn32-defs.sh: Skip empty EMULATION_NAME.
 
 2015-04-08  H.J. Lu  <hongjiu.lu@intel.com>
index 44bce0e..b528f74 100755 (executable)
@@ -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`
index 572440c..ac3c14f 100644 (file)
@@ -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`