[gold][patch] Write 0 as the data_offset of scripts

Rafael Espindola espindola@google.com
Tue Dec 1 21:25:00 GMT 2009


Linker scripts don't need any additional information. Write 0 for the
data_offset. This is mostly to reduce the noise from the following
patches.

2009-12-01  Rafael Avila de Espindola  <espindola@google.com>

	* incremental-dump.cc (main): Check that the offeset of a script is 0.
	* incremental.cc (Incremental_inputs::sized_create_inputs_section_data):
	Write 0 for the data_offset of scripts.

Cheers,
-- 
Rafael Ávila de Espíndola
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linker.patch
Type: text/x-diff
Size: 1703 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20091201/497875ee/attachment.bin>


More information about the Binutils mailing list