This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Add ld_list_options


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]