Commit Graph

5 Commits

Author SHA1 Message Date
Cary Coutant 2a77e2ab18 gold/
* dwp.cc (Dwp_output_file::add_cu_set): Check for duplicate CUs.
	(Dwp_output_file::Dwp_index::enter_set): Add assert.
2012-12-15 00:57:30 +00:00
Cary Coutant c1a8d56e4e gold/
* dwp.cc (usage): Add file and exit status parameters;
	add --help and --version options.
	(print_version): New function.
	(main): Add --help and --version options.
2012-10-29 23:01:51 +00:00
H.J. Lu d361fafb73 Issue a fatal error on bad fwrite return
* dwp.cc (Dwo_file::record_target_info): Issue a fatal error
	on bad fwrite return.
2012-10-25 20:51:32 +00:00
H.J. Lu 598c7410cc Use section_offset_type in remap_str_offset
* dwp.cc (Dwo_file::remap_str_offset): Use section_offset_type
	on val.
2012-10-25 20:50:24 +00:00
Cary Coutant 774299092d gold/
* dwp.h: New header file.
	* dwp.cc: New source file.
	* gold.h: Move shared declarations to system.h.
	* system.h: New header file.
	* Makefile.am: Add dwp.
	* Makefile.in: Regenerate.
2012-10-24 02:26:39 +00:00