OSDN Git Service

PR 10979
authorian <ian>
Thu, 31 Dec 2009 12:48:46 +0000 (12:48 +0000)
committerian <ian>
Thu, 31 Dec 2009 12:48:46 +0000 (12:48 +0000)
commit7c325a5676943ab31a2d2113661f288e7c42c58c
tree6045908402a6f32108da21121f8b13e63eabc8e5
parentdb5b9ed535a76edab29aac9c46c0f9c85332c5a3
PR 10979
* script.cc (read_input_script): If we see a new SECTIONS clause,
and we have added an input section, give an error.
* layout.h (class Layout): Add have_added_input_section function.
Add have_added_input_section_ field.
* layout.cc (Layout::Layout): Initialize
have_added_input_section_.
(Layout::layout): Set have_added_input_section_.
(Layout::layout_eh_frame): Likewise.
gold/ChangeLog
gold/layout.cc
gold/layout.h
gold/script.cc