aboutsummaryrefslogtreecommitdiff
path: root/gold/reloc.cc
AgeCommit message (Collapse)AuthorFilesLines
2008-04-02 * fileread.cc (File_read::find_view): Add byteshift and vshiftedIan Lance Taylor1-5/+5
parameters. Update for new key type to views_. Change all callers. (File_read::read): Adjust for byteshift in returned view. (File_read::add_view): New function, broken out of find_and_make_view. (File_read::make_view): New function, broken out of find_and_make_view. (File_read::find_or_make_view): Add offset and aligned parameters. Rewrite accordingly. Change all callers. (File_read::get_view): Add offset and aligned parameters. Adjust for byteshift in return value. (File_read::get_lasting_view): Likewise. * fileread.h (class File_read): Update declarations. (class File_read::View): Add byteshift_ field. Add byteshift to constructor. Add byteshift method. * archive.h (Archive::clear_uncached_views): New function. (Archive::get_view): Add aligned parameter. Change all callers. * object.h (Object::get_view): Add aligned parameter. Change all callers. (Object::get_lasting_view): Likewise. * fileread.cc (File_read::release): Don't call clear_views if there are multiple objects. * fileread.h (File_read::clear_uncached_views): New function. * archive.cc (Add_archive_symbols::run): Call clear_uncached_views on the archive.
2008-03-13Update copyright years. Update language files.Ian Lance Taylor1-1/+1
2008-02-28Read input scripts which look like input objects with properIan Lance Taylor1-3/+3
serialization.
2008-02-28From Craig Silverstein: Have Parameters point to General_options.Ian Lance Taylor1-8/+9
2008-02-27Implement -q/--emit-relocs.Ian Lance Taylor1-26/+209
2008-02-06Initial -r support.Ian Lance Taylor1-18/+82
2008-01-02Reduce the number of system calls. Use readv instead of pread. DoIan Lance Taylor1-3/+43
better handling of cached views.
2007-12-21Correct handling of non-section symbol in merged section. Avoid someIan Lance Taylor1-1/+2
64-bit signed/unsigned warnings.
2007-12-21Speed up relocations against local symbols in merged sections.Ian Lance Taylor1-1/+100
2007-12-20Convert more instances of off_t to be 32-bit types.Ian Lance Taylor1-3/+3
2007-12-14Rewrite workqueue. This version eliminates the master thread, andIan Lance Taylor1-61/+37
reduces the amount of locking required to find a new thread to run.
2007-12-06From Cary Coutant: More support for generating shared libraries.Ian Lance Taylor1-1/+1
2007-12-01Compress all debug sections.Ian Lance Taylor1-14/+65
2007-11-22Add threading support.Ian Lance Taylor1-0/+27
2007-11-15From Cary Coutant: Count textrel with output sections rather thanIan Lance Taylor1-5/+10
setting a flag as we add each reloc in the target code.
2007-11-12From Craig Silverstein: Track_relocs doesn't need to hold onto theIan Lance Taylor1-3/+1
object.
2007-11-09Generate a complete exception frame header. Discard duplicateIan Lance Taylor1-29/+189
exception frame information.
2007-10-14Run all error handling through an Errors object. Delete output fileIan Lance Taylor1-37/+27
on error.
2007-10-02From Craig Silverstein: avoid some signed/unsigned warnings from gcc 4.2.Ian Lance Taylor1-2/+2
2007-09-25Add cache parameter to get_view. Discard uncached views on unlock.Ian Lance Taylor1-5/+8
Fix bug this exposed in archive armap symbol name handling.
2007-09-22Add licensing text to every source file.Ian Lance Taylor1-0/+20
2007-09-04Add support for --enable-target to control which templateIan Lance Taylor1-0/+48
specializations we generate.
2007-05-16Add support for SHF_MERGE sections.Ian Lance Taylor1-0/+3
2006-12-06Generate version information.Ian Lance Taylor1-1/+1
2006-12-01Can now dynamically link hello, world.Ian Lance Taylor1-0/+2
2006-11-30Added a testsuite. More support for COPY relocations.Ian Lance Taylor1-19/+156
2006-11-29Hash tables, dynamic section, i386 PLT, gold_assert.Ian Lance Taylor1-8/+54
2006-11-16Snapshot. Includes first cut at output relocation sections.Ian Lance Taylor1-1/+1
2006-11-14More dynamic object support, initial scripting support.Ian Lance Taylor1-0/+1
2006-11-07Add Elf_file interface which can be used by both Sized_relobj andIan Lance Taylor1-6/+6
Sized_dynobj.
2006-11-06Split Object into Dynobj and Relobj, incorporate elfcpp swapping changes.Ian Lance Taylor1-17/+17
2006-11-03Can now do a full static link of hello, world in C or C++Ian Lance Taylor1-7/+27
2006-10-20Framework for relocation scanning. Implement simple static TLSIan Lance Taylor1-21/+290
relocations.
2006-09-29Snapshot. Now able to produce a minimal executable which actuallyIan Lance Taylor1-0/+260
runs.