gold patch: Fixes to build with gcc 4.4

Ian Lance Taylor iant@google.com
Wed Jan 28 20:10:00 GMT 2009


I committed these patches to let gold build with mainline gcc.

Ian


2009-01-28  Ian Lance Taylor  <iant@google.com>

	* gold.h: Include <cstring> and <stdint.h>.
	* version.cc: Include <cstdio>.
	* object.cc (Sized_relobj::do_layout): Initialize gc_sd to avoid a
	warning.
	* reduced_debug_output.cc (insert_into_vector): Rename from
	Insert_into_vector; change all callers.  Use Swap_unaligned to
	avoid aliasing issue; remove union since it is unnecessary.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-patch
Size: 4460 bytes
Desc: Build with gcc 4.4
URL: <https://sourceware.org/pipermail/binutils/attachments/20090128/a0a5e026/attachment.bin>


More information about the Binutils mailing list