gold patch committed: Unify ELF tests

Ian Lance Taylor iant@google.com
Tue Mar 24 18:43:00 GMT 2009


I committed this gold patch from Rafael to unify two separate tests for
whether a file is an ELF file.

Ian


2009-03-24  Rafael Avila de Espindola  <espindola@google.com>

	* object.cc (is_elf_object): Define.
	* object.h (is_elf_object): Declare.
	* archive.cc (Archive::get_elf_object_for_member): Call
	is_elf_object.
	* readsymc.cc (Read_symbols::do_read_symbols): Likewise.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-patch
Size: 7484 bytes
Desc: Unify ELF tests
URL: <https://sourceware.org/pipermail/binutils/attachments/20090324/25a0b431/attachment.bin>


More information about the Binutils mailing list