[PATCH] gold: add incremental input structures definitions

Mikolaj Zalewski mikolajz@google.com
Fri Feb 27 16:18:00 GMT 2009


  This patch adds some of the structures needed by incremental
linking. It has no effect yet, but I wanted to show it already. I have
chosen the next available SHT_ - is it OK, or should they be chosen
with care? As the incremental linking is specific to our linker, the
structures should go to gold/, or should they go to elfcpp/?
  If I understand, the design assumes that the command line is stored
as one string. Wouldn't it be easier to store it as a vector of
strings? This could make it easier to remove the --incremental-*
options.

2009-02-27  Mikolaj Zalewski  <mikolajz@google.com>

	* elfcpp/elfcpp.h: Add SHT_GNU_INCREMENTAL_INPUTS
	* gold/Makefile.in: Add incremental.cc
	* gold/Makefile.am: Add incremental.cc
	* gold/incremental.cc: New file
	* include/elf/common.h: Add SHT_GNU_INCREMENTAL_INPUTS
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-gold-add-incremental-input-structures-definitions.patch
Type: text/x-patch
Size: 8787 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20090227/998337ab/attachment.bin>


More information about the Binutils mailing list