This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
src/gold ChangeLog merge.cc merge.h
- From: ccoutant at sourceware dot org
- To: binutils-cvs at sourceware dot org
- Date: 21 Jul 2010 21:03:54 -0000
- Subject: src/gold ChangeLog merge.cc merge.h
CVSROOT: /cvs/src
Module name: src
Changes by: ccoutant@sourceware.org 2010-07-21 21:03:54
Modified files:
gold : ChangeLog merge.cc merge.h
Log message:
* merge.h (Output_merge_string::Merged_string): Remove object, shndx,
string, and length fields.
(Output_merge_string::Merged_strings_list): New type.
(Output_merge_string::Merged_strings_lists): New typedef.
(Output_merge_string): Replace merged_strings_ with
merged_strings_lists_.
* merge.cc (Output_merge_string::do_add_input_section): Allocate new
Merged_strings_list per input object and section. Don't store pointer
to the string. Don't store length with each merged string entry.
(Output_merge_string::finalize_merged_data): Loop over list of merged
strings lists. Recompute length of each merged string.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gold/ChangeLog.diff?cvsroot=src&r1=1.595&r2=1.596
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gold/merge.cc.diff?cvsroot=src&r1=1.36&r2=1.37
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gold/merge.h.diff?cvsroot=src&r1=1.24&r2=1.25