gold patch committed: Build fixes for clang

Ian Lance Taylor iant@google.com
Thu Apr 26 00:32:00 GMT 2012


I got a report of some warnings building gold with clang.  This patch
fixes them.  Committed to mainline.

Ian


2012-04-25  Ian Lance Taylor  <iant@google.com>

	* arm.cc (Target_arm::do_is_defined_by_abi): Make sym a const
	pointer.
	(Stub_addend_reader::operator()): Declare Arm_relocate_functions
	as a class, not a struct.
	(Target_arm::scan_span_for_cortex_a8_erratum): Likewise.
	(Target_arm::apply_cortex_a8_workaround): Likewise.
	* gc.h: Declare Reloc_types as a struct, not a class.
	* object.h: Declare Symbols_data as a struct.
	* reloc.h: Declare Read_relocs_data as a struct.
	* target.h: Declare Relocate_info as a struct.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 4313 bytes
Desc: patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20120426/51a67b00/attachment.bin>


More information about the Binutils mailing list