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]

[patch,RFC] LD support for powerpc64-freebsd


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.

Attachment: ld_20111120-1.diff
Description: Text document


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