This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Correct setting of elf_list_options


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8c3fff59dc5cbf86c354770ad66cb146f4fa0143

commit 8c3fff59dc5cbf86c354770ad66cb146f4fa0143
Author: Alan Modra <amodra@gmail.com>
Date:   Fri Apr 10 18:21:32 2015 +0930

    Correct setting of elf_list_options
    
    	* configure.ac: Set elf_list_options etc. in proper case.
    	* configure: Regenerate.

Diff:
---
 ld/ChangeLog    |  5 +++++
 ld/configure    | 13 ++++++-------
 ld/configure.ac | 13 ++++++-------
 3 files changed, 17 insertions(+), 14 deletions(-)

diff --git a/ld/ChangeLog b/ld/ChangeLog
index da54c5c..5b65746 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -6,6 +6,11 @@
 
 2015-04-10  Alan Modra  <amodra@gmail.com>
 
+	* configure.ac: Set elf_list_options etc. in proper case.
+	* configure: Regenerate.
+
+2015-04-10  Alan Modra  <amodra@gmail.com>
+
 	PR ld/18223
 	* ldlang.c (lang_process): Add _init and _fini to gc_sym_list.
 
diff --git a/ld/configure b/ld/configure
index b528f74..a558d28 100755
--- a/ld/configure
+++ b/ld/configure
@@ -17064,7 +17064,12 @@ do
 
     for i in $targ_emul $targ_extra_emuls $targ_extra_libpath; do
 	case " $all_emuls " in
-	*" e${i}.o "*)
+	*" e${i}.o "*) ;;
+	*)
+	  all_emuls="$all_emuls e${i}.o"
+	  eval result=\$tdir_$i
+	  test -z "$result" && result=$targ_alias
+	  echo tdir_$i=$result >> tdirs
 	  case "${i}" in
 	  *elf*)
 	    elf_list_options=TRUE
@@ -17078,12 +17083,6 @@ do
 	    ;;
 	  esac
 	  ;;
-	*)
-	  all_emuls="$all_emuls e${i}.o"
-	  eval result=\$tdir_$i
-	  test -z "$result" && result=$targ_alias
-	  echo tdir_$i=$result >> tdirs
-	  ;;
 	esac
     done
 
diff --git a/ld/configure.ac b/ld/configure.ac
index ac3c14f..e120a05 100644
--- a/ld/configure.ac
+++ b/ld/configure.ac
@@ -317,7 +317,12 @@ do
 
     for i in $targ_emul $targ_extra_emuls $targ_extra_libpath; do
 	case " $all_emuls " in
-	*" e${i}.o "*)
+	*" e${i}.o "*) ;;
+	*)
+	  all_emuls="$all_emuls e${i}.o"
+	  eval result=\$tdir_$i
+	  test -z "$result" && result=$targ_alias
+	  echo tdir_$i=$result >> tdirs
 	  case "${i}" in
 	  *elf*)
 	    elf_list_options=TRUE
@@ -331,12 +336,6 @@ do
 	    ;;
 	  esac
 	  ;;
-	*)
-	  all_emuls="$all_emuls e${i}.o"
-	  eval result=\$tdir_$i
-	  test -z "$result" && result=$targ_alias
-	  echo tdir_$i=$result >> tdirs
-	  ;;
 	esac
     done


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]