diff options
author | Alan Modra <amodra@gmail.com> | 2015-04-10 18:21:32 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2015-04-10 18:22:50 +0930 |
commit | 8c3fff59dc5cbf86c354770ad66cb146f4fa0143 (patch) | |
tree | bf7688318eda1c8fe43d6582438ee32468f68f42 /ld | |
parent | e7a8570f75694284ea5bc909f095004f4ef938c6 (diff) | |
download | gdb-8c3fff59dc5cbf86c354770ad66cb146f4fa0143.zip gdb-8c3fff59dc5cbf86c354770ad66cb146f4fa0143.tar.gz gdb-8c3fff59dc5cbf86c354770ad66cb146f4fa0143.tar.bz2 |
Correct setting of elf_list_options
* configure.ac: Set elf_list_options etc. in proper case.
* configure: Regenerate.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 5 | ||||
-rwxr-xr-x | ld/configure | 13 | ||||
-rw-r--r-- | 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 |