summaryrefslogtreecommitdiffstats
path: root/gold/layout.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gold/layout.cc')
-rw-r--r--gold/layout.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/layout.cc b/gold/layout.cc
index 8b17f83ab4..faae577336 100644
--- a/gold/layout.cc
+++ b/gold/layout.cc
@@ -891,7 +891,7 @@ off_t
Layout::finalize(const Input_objects* input_objects, Symbol_table* symtab,
const Task* task)
{
- Target* const target = input_objects->target();
+ Target* const target = parameters->target();
target->finalize_sections(this);
OpenPOWER on IntegriCloud