Cary Coutant
a12074662b
2008-03-31 Cary Coutant <ccoutant@google.com>
...
Add thin archive support.
* archive.cc (Archive::armagt): New const.
(Archive::setup): Remove task parameter and calls to unlock.
(Archive::unlock_nested_archives): New function.
(Archive::read_header): Add nested_off parameter. Change
all callers.
(Archive::interpret_header): Likewise.
(Archive::include_all_members): Change to handle thin
archives.
(Archive::include_member): Likewise.
* archive.h (Archive::Archive): Add new parameters and
initializers.
(Archive::armagt): New const.
(Archive::setup): Remove task parameter.
(Archive::unlock_nested_archives): New function.
(Archive::read_header): Add nested_off parameter.
(Archive::interpret_header): Likewise.
(Archive::Nested_archive_table): New typedef.
(Archive::is_thin_archive_): New field.
(Archive::nested_archives_): New field.
(Archive::options_): New field.
(Archive::dirpath_): New field.
(Archive::task_): New field.
* readsyms.cc (Read_symbols::do_read_symbols): Add check
for thin archives. Pass additional parameters to
Archive::Archive. Unlock the archive file after calling
Archive::setup.
2008-04-01 20:57:36 +00:00
Ian Lance Taylor
ebdbb4583d
Update copyright years. Update language files.
2008-03-13 21:04:21 +00:00
Ian Lance Taylor
da769d5629
Read input scripts which look like input objects with proper
...
serialization.
2008-02-28 19:46:06 +00:00
Ian Lance Taylor
8bc7a1c115
Permit ordinary object files in groups.
2008-01-26 01:35:10 +00:00
Ian Lance Taylor
17a1d0a9b2
Rewrite workqueue. This version eliminates the master thread, and
...
reduces the amount of locking required to find a new thread to run.
2007-12-14 19:00:21 +00:00
Ian Lance Taylor
c79126688f
Add threading support.
2007-11-22 00:05:51 +00:00
Ian Lance Taylor
ee6d2efee9
Correct locking if a file could not be opened.
2007-10-22 18:02:36 +00:00
Ian Lance Taylor
75f2446ec3
Run all error handling through an Errors object. Delete output file
...
on error.
2007-10-14 06:49:14 +00:00
Ian Lance Taylor
51dee2fec3
From Craig Silverstein: add support for searching for input files
...
named in linker scripts.
2007-10-02 21:24:41 +00:00
Ian Lance Taylor
82dcae9de0
Rework File_read interface. Get file size. Use pread when
...
available.
2007-09-25 06:43:17 +00:00
Ian Lance Taylor
bae3688d8f
Remove get_view_and_size.
2007-09-25 05:16:35 +00:00
Ian Lance Taylor
ba45d2478b
Break out default pbytes argument to read and get_view routines,
...
adding new routines.
2007-09-25 00:27:29 +00:00
Ian Lance Taylor
6cb15b7f89
Add licensing text to every source file.
2007-09-22 21:02:10 +00:00
Ian Lance Taylor
7e1edb9089
Add global parameters.
2007-09-21 07:20:01 +00:00
Ian Lance Taylor
008db82ec1
Don't emit symbols seen only in dynamic object, don't read duplicate
...
dynamic object.
2006-12-06 06:28:56 +00:00
Ian Lance Taylor
5a6f7e2db5
Added a testsuite. More support for COPY relocations.
2006-11-30 23:52:50 +00:00
Ian Lance Taylor
a3ad94edd4
Hash tables, dynamic section, i386 PLT, gold_assert.
2006-11-29 17:56:40 +00:00
Ian Lance Taylor
dbe717effb
More dynamic object support, initial scripting support.
2006-11-14 19:21:05 +00:00
Ian Lance Taylor
f6ce93d6e9
Split Object into Dynobj and Relobj, incorporate elfcpp swapping changes.
2006-11-06 22:46:08 +00:00
Ian Lance Taylor
ead1e4244a
Can now do a full static link of hello, world in C or C++
2006-11-03 18:26:11 +00:00
Ian Lance Taylor
92e059d8dc
Framework for relocation scanning. Implement simple static TLS
...
relocations.
2006-10-20 20:40:49 +00:00
Ian Lance Taylor
12e14209f0
Lay out object file sections when we add the symbols to the symbol
...
table.
2006-10-06 20:40:16 +00:00
Ian Lance Taylor
61ba1cf936
Snapshot. Now able to produce a minimal executable which actually
...
runs.
2006-09-29 19:58:17 +00:00
Ian Lance Taylor
54dc642545
More section layout code.
2006-09-26 21:00:34 +00:00
Ian Lance Taylor
a2fb1b05e4
New drop, with first cut of section layout code.
2006-09-21 22:13:18 +00:00
Ian Lance Taylor
14bfc3f555
Another snapshot of the current state of the sources. Gets to the
...
point of symbol resolution and can now issue a multiple definition
error. Also added target selection infrastructure.
2006-08-18 22:29:20 +00:00
Ian Lance Taylor
bae7f79e03
Initial CVS checkin of gold
2006-08-04 23:10:59 +00:00