aboutsummaryrefslogtreecommitdiff
path: root/gold/layout.h
AgeCommit message (Collapse)AuthorFilesLines
2008-03-25 * options.h (class General_options): Define build_id option.Ian Lance Taylor1-0/+15
* layout.h (class Layout): Declare write_build_id, create_note, create_build_id. Add build_id_note_ member. * layout.cc: Include <cerrno>, <fcntl.h>, <unistd.h>, "libiberty.h", "md5.h", "sha1.h". (Layout::Layout): Initialize eh_frame_data_, eh_frame_hdr_section_, and build_id_note_. (Layout::finalize): Call create_build_id. (Layout::create_note): New function, broken out of Layout::create_gold_note. (Layout::create_gold_note): Call create_note. (Layout::create_build_id): New function. (Layout::write_build_id): New function. (Close_task_runner::run): Call write_build_id.
2008-03-12Combine read-only .eh_frame sections with read-write .eh_frameIan Lance Taylor1-0/+4
sections.
2008-03-11If we a section with no flags followed by a section with the same nameIan Lance Taylor1-0/+8
with flags, put them in the same output section.
2008-02-29Remove gcc 3.2 compatibility hacks.Ian Lance Taylor1-2/+1
2008-02-28Don't check assertions until symbols are finalized. Create an outputIan Lance Taylor1-0/+9
section if the script uses a data statement with no input sections. Don't create a loadable segment for the headers if there is no room.
2008-02-28From Craig Silverstein: Have Parameters point to General_options.Ian Lance Taylor1-2/+4
2008-02-07Support --oformat binary.Ian Lance Taylor1-2/+9
2008-02-06Fix group signature handling for relocatable link, add bootstrapIan Lance Taylor1-0/+25
relocatable test.
2008-02-06Initial -r support.Ian Lance Taylor1-0/+28
2008-02-04Implement SIZEOF_HEADERS, section constraints, other minor linkerIan Lance Taylor1-0/+4
script items.
2008-02-04Fully implement the SECTIONS clause.Ian Lance Taylor1-6/+30
2008-01-26Don't pass around the target in order to define symbols; get it fromIan Lance Taylor1-6/+6
the parameters instead.
2008-01-09Support assignments and expressions in linker scripts.Ian Lance Taylor1-10/+18
2008-01-06Add support for -e and for ENTRY in linker scripts.Ian Lance Taylor1-0/+9
2008-01-02Reduce the number of system calls. Use readv instead of pread. DoIan Lance Taylor1-2/+1
better handling of cached views.
2007-12-14Rewrite workqueue. This version eliminates the master thread, andIan Lance Taylor1-28/+34
reduces the amount of locking required to find a new thread to run.
2007-12-11From Cary Coutant: Set DF_STATIC_TLS as appropriate.Ian Lance Taylor1-0/+12
2007-12-06From Cary Coutant: More support for generating shared libraries.Ian Lance Taylor1-1/+11
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-6/+0
2007-11-30From Craig Silverstein: Add support for compressing .debug_str section.Ian Lance Taylor1-2/+18
2007-11-29Clean up setting address and section offset.Ian Lance Taylor1-5/+7
2007-11-22Add threading support.Ian Lance Taylor1-0/+16
2007-11-15From Cary Coutant: Count textrel with output sections rather thanIan Lance Taylor1-7/+0
setting a flag as we add each reloc in the target code.
2007-11-14From Cary Coutant: Improve i386 shared library TLS support.Ian Lance Taylor1-0/+7
2007-11-14Add heuristics for undefined symbol warnings.Ian Lance Taylor1-4/+5
2007-11-09Generate a complete exception frame header. Discard duplicateIan Lance Taylor1-13/+117
exception frame information.
2007-11-07From Craig Silverstein and Cary Coutant: fix assignment of sectionIan Lance Taylor1-3/+8
indexes to sections which are not associated with segments.
2007-10-27From Cary Coutant: Set offsets of sections with data before finalizingIan Lance Taylor1-1/+1
local symbols.
2007-10-23Add support for PT_GNU_STACK.Ian Lance Taylor1-1/+21
2007-10-22Fix versions of copied symbols.Ian Lance Taylor1-0/+2
2007-10-12Add --stats option to print runtime and memory usage statistics.Ian Lance Taylor1-0/+7
2007-10-09Create a note section with the version of gold.Ian Lance Taylor1-0/+4
2007-09-26Put size and endianness in parameters.Ian Lance Taylor1-10/+6
2007-09-26Add basic exception frame header, plus test.Ian Lance Taylor1-0/+9
2007-09-22Add licensing text to every source file.Ian Lance Taylor1-0/+20
2007-09-22Define __start and __stop symbols.Ian Lance Taylor1-0/+4
2006-12-06gcc 3.2.2 and 4.1.0 portability hacks.Ian Lance Taylor1-1/+2
2006-12-06Generate version information.Ian Lance Taylor1-2/+20
2006-12-01Can now dynamically link hello, world.Ian Lance Taylor1-10/+40
2006-11-29Hash tables, dynamic section, i386 PLT, gold_assert.Ian Lance Taylor1-13/+31
2006-11-14More dynamic object support, initial scripting support.Ian Lance Taylor1-9/+21
2006-11-07Rework stringpool and hash tables so that we always generate the sameIan Lance Taylor1-3/+3
output regardless of randomize_va_space.
2006-11-06Split Object into Dynobj and Relobj, incorporate elfcpp swapping changes.Ian Lance Taylor1-1/+1
2006-11-03Can now do a full static link of hello, world in C or C++Ian Lance Taylor1-14/+52
2006-10-20Framework for relocation scanning. Implement simple static TLSIan Lance Taylor1-37/+25
relocations.
2006-10-06Lay out object file sections when we add the symbols to the symbolIan Lance Taylor1-5/+3
table.
2006-09-29Snapshot. Now able to produce a minimal executable which actuallyIan Lance Taylor1-2/+102
runs.
2006-09-27Finished layout code.Ian Lance Taylor1-14/+32
2006-09-26gcc 4.1.0 portability fixes.Ian Lance Taylor1-2/+1