From fbfba5088712eb014b9051baa71f9636359d159e Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 6 Feb 2008 20:32:10 +0000 Subject: Support creating empty output when there are no input objects. --- gold/layout.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gold/layout.cc') diff --git a/gold/layout.cc b/gold/layout.cc index 8b17f83..faae577 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); -- cgit v1.1