[gold][patch] Move the reader and writer classes to incremental.h

Rafael Espindola espindola@google.com
Wed Dec 2 21:01:00 GMT 2009


To use the reader classes in incremental-dump.cc I have to move them
to the .h file. IMHO it looks more natural to move the writer too.

I changed the classes slightly: They now have a typedef for the
Convert types. This was done to avoid adding "using elfcpp::Convert"
to the header file or using more than 80 characters in a line.

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

	* incremental.h (Incremental_inputs_header)
	(Incremental_inputs_header_write, Incremental_inputs_entry,
	Incremental_inputs_entry_write): Move ...
	* incremental.cc (Incremental_inputs_header)
	(Incremental_inputs_header_write, Incremental_inputs_entry,
	Incremental_inputs_entry_write): here.

Cheers,
-- 
Rafael Ávila de Espíndola



More information about the Binutils mailing list