aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog5
-rwxr-xr-xld/configure13
-rw-r--r--ld/configure.ac13
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