[PATCH] Add ld_list_options
Steve Ellcey
sellcey@imgtec.com
Wed Apr 8 16:16:00 GMT 2015
On Tue, 2015-04-07 at 10:12 -0700, H.J. Lu wrote:
> This patch adds ld_list_options for ELF targets to avoid duplicated
> outputs from ld --help. Any comments, suggestions or objections?
>
> H.J.
> --
> * 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.
I am not entirely sure this patch is at fault (I will double check) but
this morning when I tried to build a cross linker (running on x86 linux
and targetting mips-mti-linux-gnu) I got this failure during the ld
configure:
checking whether ANSI C string concatenation works... yes
checking size of void *... 8
/scratch/sellcey/repos/sim-bug/src/binutils/ld/configure: unhandled
emulation
make: *** [configure-ld] Error 1
Error: Make command failed, stopping build.
Has anyone else seen this?
Steve Ellcey
sellcey@imgtec.com
More information about the Binutils
mailing list