[patch,RFC] LD support for powerpc64-freebsd

Andreas Tobler andreast-list@fgznet.ch
Sun Nov 20 21:24:00 GMT 2011


Hi,

this one is the third patch for powerpc64-*-freebsd support for 
binutils. It is for ld.

Here I'd like to thank Alan for answering my questions!

With this patch I'm able to build the ld and run the test suite with 
only a few failures. Some of them are due to passing -ldl to the 
build/link which is not needed on FreeBSD.
Others are in the static array area. I'll certainly have a look at these 
once I understand more. But for the moment I'm satiesfied with the result.

Would you mind giving me here a review and eventually consider this 
patch for trunk too?

TIA,
Andreas

2011-11-20  Andreas Tobler  <andreast@fgznet.ch>

	* Makefile.am (ALL_64_EMULATION_SOURCES): Add powerpc64-*-freebsd
	source.
	(eelf64ppc_fbsd.c): Add rules to build this file.
	* Makefile.in: Regenerate.
	* configure.tgt: Add target definition for powerpc64-*-freebsd*.
	Adjust powerpc-*-freebsd*.
	* emultempl/ppc64elf.em: Add a mechanism to override the default
	value of 0 for plt_static_chain.
	* emulparams/elf32ppc_fbsd.sh (OUTPUT_FORMAT): Override the default.
	* emulparams/elf64ppc_fbsd.sh (OUTPUT_FORMAT): Likewise.
	(DEFAULT_PLT_STATIC_CHAIN): Define to 1.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ld_20111120-1.diff
URL: <https://sourceware.org/pipermail/binutils/attachments/20111120/91d11fc0/attachment.ksh>


More information about the Binutils mailing list