summaryrefslogtreecommitdiff
path: root/gold/dynobj.cc
Commit message (Collapse)AuthorAgeFilesLines
* * fileread.cc (File_read::find_view): Add byteshift and vshiftedIan Lance Taylor2008-04-021-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Increase maximum bucket size for dynamic hash tables.Ian Lance Taylor2008-03-071-2/+2
|
* From Craig Silverstein: implement --hash-bucket-empty-fraction for real.Ian Lance Taylor2008-03-071-1/+3
|
* Remove gcc 3.2 compatibility hacks.Ian Lance Taylor2008-02-291-39/+23
|
* From Craig Silverstein: Have Parameters point to General_options.Ian Lance Taylor2008-02-281-10/+10
|
* From Craig Silverstein: rework handling of Script_options.Ian Lance Taylor2008-02-261-4/+4
|
* Assignments in linker scripts override definitions from object files.Ian Lance Taylor2008-02-131-1/+1
|
* Don't pass around the target in order to define symbols; get it fromIan Lance Taylor2008-01-261-3/+3
| | | | the parameters instead.
* Originally from Craig Silverstein, with changes: support using aIan Lance Taylor2008-01-241-4/+1
| | | | version script to force symbols to be local.
* Don't include options.h in fileread.h. Remove General_optionsIan Lance Taylor2008-01-181-0/+2
| | | | reference from Output_file class.
* From Andrew Chatham and Craig Silverstein: Add support for versionIan Lance Taylor2008-01-151-13/+51
| | | | scripts.
* Reduce the number of system calls. Use readv instead of pread. DoIan Lance Taylor2008-01-021-1/+5
| | | | better handling of cached views.
* From Cary Coutant: Fix handling of versioned symbols, add some tests.Ian Lance Taylor2007-12-211-0/+1
|
* Avoid some warnings which showed up in 64-bit mode.Ian Lance Taylor2007-12-191-16/+22
|
* Add section_size_type and section_offset_type, use them to replace aIan Lance Taylor2007-12-181-9/+11
| | | | lot of instances of off_t.
* From Craig Silverstein: Add support for --demangle.Ian Lance Taylor2007-11-151-1/+1
|
* Warn about undefined references in shared libraries if we have seenIan Lance Taylor2007-11-141-41/+54
| | | | all the DT_NEEDED entries for that library.
* Generate a complete exception frame header. Discard duplicateIan Lance Taylor2007-11-091-0/+2
| | | | exception frame information.
* From Craig Silverstein: Handle a .so file in a .a file.Ian Lance Taylor2007-11-071-3/+26
|
* Add support for PT_GNU_STACK.Ian Lance Taylor2007-10-231-6/+5
|
* Fix versions of copied symbols.Ian Lance Taylor2007-10-221-13/+30
|
* Run all error handling through an Errors object. Delete output fileIan Lance Taylor2007-10-141-110/+61
| | | | on error.
* Add an option for Stringpools to not copy strings.Ian Lance Taylor2007-10-121-2/+2
|
* Fix soname for library found in search path.Ian Lance Taylor2007-10-091-1/+1
|
* From Craig Silverstein: avoid some signed/unsigned warnings from gcc 4.2.Ian Lance Taylor2007-10-021-1/+1
|
* Put size and endianness in parameters.Ian Lance Taylor2007-09-261-29/+65
|
* Add cache parameter to get_view. Discard uncached views on unlock.Ian Lance Taylor2007-09-251-5/+7
| | | | Fix bug this exposed in archive armap symbol name handling.
* Add licensing text to every source file.Ian Lance Taylor2007-09-221-0/+20
|
* Add global parameters.Ian Lance Taylor2007-09-211-14/+8
|
* Don't try to find version definition index when creating an executable.Ian Lance Taylor2007-09-121-4/+14
|
* Only create a version definition for a shared library. Set theIan Lance Taylor2007-09-111-1/+5
| | | | | dynamic symbol index for a version definition when finalizing versions.
* Add support for --enable-target to control which templateIan Lance Taylor2007-09-041-0/+32
| | | | specializations we generate.
* Don't emit symbols seen only in dynamic object, don't read duplicateIan Lance Taylor2006-12-061-6/+6
| | | | dynamic object.
* gcc 3.2.2 and 4.1.0 portability hacks.Ian Lance Taylor2006-12-061-70/+95
|
* Generate version information.Ian Lance Taylor2006-12-061-148/+693
|
* Hash tables, dynamic section, i386 PLT, gold_assert.Ian Lance Taylor2006-11-291-14/+421
|
* More dynamic object support, initial scripting support.Ian Lance Taylor2006-11-141-0/+670