* archive.cc (Archive::get_file_and_offset): Use filename instead
authorCary Coutant <ccoutant@google.com>
Mon, 29 Sep 2008 21:23:02 +0000 (21:23 +0000)
committerCary Coutant <ccoutant@google.com>
Mon, 29 Sep 2008 21:23:02 +0000 (21:23 +0000)
commitfbd8a2572efc74ed0951e6b33b151bc13015e772
tree6d2d573d901db9e7c01a7c102e691c04a4c0f414
parenteff458138e2978ee9a3aef4ebee40d53da11e764
* archive.cc (Archive::get_file_and_offset): Use filename instead
of name to get library path.
(Archive::include_member): Unlock external member of a thin archive.

* testsuite/Makefile.am (TEST_AR): New variable.
(thin_archive_test_1): New test.
(thin_archive_test_2): New test.
gold/ChangeLog
gold/archive.cc
gold/testsuite/Makefile.am
gold/testsuite/Makefile.in
gold/testsuite/thin_archive_main.cc [new file with mode: 0644]
gold/testsuite/thin_archive_test_1.cc [new file with mode: 0644]
gold/testsuite/thin_archive_test_2.cc [new file with mode: 0644]
gold/testsuite/thin_archive_test_3.cc [new file with mode: 0644]
gold/testsuite/thin_archive_test_4.cc [new file with mode: 0644]