* object.cc (Sized_relobj::do_layout): Defer layout for reloc sections.
authorCary Coutant <ccoutant@google.com>
Thu, 10 Jun 2010 17:20:27 +0000 (17:20 +0000)
committerCary Coutant <ccoutant@google.com>
Thu, 10 Jun 2010 17:20:27 +0000 (17:20 +0000)
commitf3a2388fc96c63c0233cdc3449ea61cf36e4975b
treed073b85cc10872fe8a3f3a93207f829932255370
parent7530c4809276954eebc6cfa9a41452d15da31bdb
* object.cc (Sized_relobj::do_layout): Defer layout for reloc sections.
(Sized_relobj::do_layout_deferred_sections): Do layout for deferred
reloc sections.
* object.h (Sized_relobj::deferred_layout_relocs_): New data member.

PR 11683
* symtab.h (Symbol::is_placeholder): New member function.
* target-reloc.h (relocate_section): Check for placeholder symbols.

* testsuite/Makefile.am (plugin_test_8): New test.
(plugin_test_9): New test.
* testsuite/Makefile.in: Regenerate.
gold/ChangeLog
gold/object.cc
gold/object.h
gold/symtab.h
gold/target-reloc.h
gold/testsuite/Makefile.am
gold/testsuite/Makefile.in