This is the mail archive of the 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.
> --
> 	* (ELF_CLFAGS): New.
> 	* (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.
> 	* Regenerated.
> 	* configure: Likewise.
> 	* emulparams/ (PLT_UNWIND): New.
> 	* emultempl/elf32.em (gld_list_options): New.
> 	(gld${EMULATION_NAME}_list_options): Define only if BNDPLT or
> 	(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

checking whether ANSI C string concatenation works... yes
checking size of void *... 8
/scratch/sellcey/repos/sim-bug/src/binutils/ld/configure: unhandled
make: *** [configure-ld] Error 1
Error: Make command failed, stopping build.

Has anyone else seen this?

Steve Ellcey

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