[gold patch committed] Fix 32-bit build

Ian Lance Taylor iant@google.com
Thu Aug 19 06:41:00 GMT 2010


There are some warnings in gold about signed/unsigned comparisons when
building on a host for which ptrdiff_t is the same size as unsigned int.
Fixed with this patch.  Committed to mainline.

Ian


2010-08-18  Ian Lance Taylor  <iant@google.com>

	* incremental.cc
	(Output_section_incremental_inputs::write_input_files): Add cast
	to avoid signed/unsigned comparison warning.
	(Output_section_incremental_inputs::write_info_blocks): Likewise.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 1890 bytes
Desc: signed
URL: <https://sourceware.org/pipermail/binutils/attachments/20100819/f8e2b238/attachment.bin>


More information about the Binutils mailing list