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][GOLD] Add make_elf_object target hooks.


Hi,

    This patch adds hooks in the Target class for creating ELF objects
via a target.  The hooks are useful for targets requiring
target-specific extension to the existing ELF object classes via
sub-classing.  This is tested on x86_64-unknown-linux-gnu.

-Doug

2009-08-17  Doug Kwan  <dougkwan@google.com>

	* object.cc(make_elf_sized_object): Find target and ask target to
	make an ELF object.
	* target.cc: Include dynobj.h.
	(make_elf_object_implementation): New.
 	(Target::do_make_elf_object): New.
	* target.h (Target::make_elf_object): New.
	(Target::do_make_elf_object): New.

Attachment: patch.txt
Description: Text document


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