ELF options may be missing from `ld --help' output
authorChung-Lin Tang <cltang@codesourcery.com>
Thu, 14 May 2015 10:40:57 +0000 (18:40 +0800)
committerAlan Modra <amodra@gmail.com>
Sun, 17 May 2015 04:55:24 +0000 (14:25 +0930)
commit68880f311c1d5629c47c3ab9749061fe3138be63
treea19437f424b6fefa1eebbe97e3b1e60524182071
parent20ef91414ed2272cc379dcf8364f5f48eeff6362
ELF options may be missing from `ld --help' output

nios2-linux has an emulation named "nios2linux", and happens to not include
another extra emulation with a name matching *elf*.  This makes nios2-linux
left out of the ELF options printing targets, which is unintended.

* configure.ac (AC_PROG_GREP): Check for grep program.
(elf_list_options,elf_shlib_list_options,elf_plt_unwind_list_options):
Enable ELF option printing for emulations containing
'TEMPLATE_NAME=elf32'.
* configure: Regenerate.
ld/ChangeLog
ld/configure
ld/configure.ac