]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - ld/ChangeLog-2015
Add ld_list_options
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 8 Apr 2015 11:55:07 +0000 (04:55 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 8 Apr 2015 11:55:23 +0000 (04:55 -0700)
commitc58212eaf957ef39484ed71316074fd8366e9c4a
tree9ae83a3ffcd15b0661e03f89269f059f91910682
parent4496bed7f346afbb2f2b4f939373920a4d69da11
Add ld_list_options

This patch adds ld_list_options for ELF targets to avoid duplicated
outputs from ld --help.

* Makefile.am (ELF_CLFAGS): New.
(AM_CFLAGS): Add $(ELF_CLFAGS).
* configure.ac (elf_list_options): New.  AC_SUBST.
(elf_shlib_list_options): Likewise.
(elf_plt_unwind_list_options): Likewise.
* lexsup.c (elf_shlib_list_options): New.
(elf_static_list_options): Likewise.
(elf_plt_unwind_list_options): Likewise.
(ld_list_options): Likewise.
(help): Call ld_list_options.
* Makefile.in: Regenerated.
* configure: Likewise.
* emulparams/plt_unwind.sh (PLT_UNWIND): New.
(PARSE_AND_LIST_OPTIONS): Removed.
* emultempl/elf32.em (gld_list_options): New.
(gld${EMULATION_NAME}_list_options): Define only if BNDPLT or
PARSE_AND_LIST_OPTIONS is defined.
(ld_${EMULATION_NAME}_emulation): Replace
gld${EMULATION_NAME}_list_options with ${gld_list_options.
ld/ChangeLog
ld/Makefile.am
ld/Makefile.in
ld/configure
ld/configure.ac
ld/emulparams/plt_unwind.sh
ld/emultempl/elf32.em
ld/lexsup.c