aboutsummaryrefslogtreecommitdiff
path: root/gold/stringpool.h
AgeCommit message (Collapse)AuthorFilesLines
2009-06-23 PR 10133Ian Lance Taylor1-0/+8
* stringpool.h (class Stringpool_template): Add optimize_ field. (Stringpool_template::set_optimize): New function. * stringpool.cc (Stringpool_template::Stringpool_template): Initialize optimize_ field. (Stringpool_template::set_string_offsets): Test local optimize fild rather than parameter. * layout.cc (Layout::Layout): Call set_optimize on the section name stringpool.
2008-07-24 * stringpool.cc (Stringpool_template::add_with_length): Set key toIan Lance Taylor1-2/+2
array size plus one. (Stringpool_template::set_string_offsets): Subtract one from key before using it as an array index. (Stringpool_template::get_offset_with_length): Likewise. (Stringpool_template::write_to_buffer): Likewise. * stringpool.h (Stringpool_template::get_offset_from_key): Likewise.
2008-03-13Update copyright years. Update language files.Ian Lance Taylor1-1/+1
2007-12-19Move Stringpool offsets into a chunked_vector indexed by keys.Ian Lance Taylor1-13/+94
2007-12-19Use string length when available when calling Stringpool. CompareIan Lance Taylor1-4/+10
pointers first when looking up Stringpool entries.
2007-12-18Add section_size_type and section_offset_type, use them to replace aIan Lance Taylor1-6/+6
lot of instances of off_t.
2007-12-14From Craig Silverstein: size hash tables to avoid resizing.Ian Lance Taylor1-0/+6
2007-12-05Rework Stringpool to not compute the hash code twice when adding a newIan Lance Taylor1-33/+57
string.
2007-12-05Stringpool stats. Also make Symbol_table support functions inline.Ian Lance Taylor1-0/+4
2007-12-01Compress all debug sections.Ian Lance Taylor1-1/+1
2007-11-30From Craig Silverstein: Add support for compressing .debug_str section.Ian Lance Taylor1-0/+10
2007-10-12Add an option for Stringpools to not copy strings.Ian Lance Taylor1-11/+10
2007-09-22Add licensing text to every source file.Ian Lance Taylor1-0/+20
2007-09-21Set Stringpool zero_null option via a call, not a default constructorIan Lance Taylor1-5/+9
argument.
2007-09-19Note that a Stringpool keeps a copy of a string.Ian Lance Taylor1-0/+3
2007-09-19Better comments for Stringpool.Ian Lance Taylor1-31/+71
2007-09-18Compute string lengths before sorting. From Craig Silverstein.Ian Lance Taylor1-4/+14
2007-05-16Add support for SHF_MERGE sections.Ian Lance Taylor1-28/+43
2006-11-29Hash tables, dynamic section, i386 PLT, gold_assert.Ian Lance Taylor1-1/+4
2006-11-07Rework stringpool and hash tables so that we always generate the sameIan Lance Taylor1-15/+36
output regardless of randomize_va_space.
2006-09-29Snapshot. Now able to produce a minimal executable which actuallyIan Lance Taylor1-10/+62
runs.
2006-09-26g++ 3.2.2 portability fixes.Ian Lance Taylor1-0/+6
2006-08-18Another snapshot of the current state of the sources. Gets to theIan Lance Taylor1-0/+70
point of symbol resolution and can now issue a multiple definition error. Also added target selection infrastructure.