aboutsummaryrefslogtreecommitdiff
path: root/gold/object.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gold/object.cc')
-rw-r--r--gold/object.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/gold/object.cc b/gold/object.cc
index ecefa8b..fee249f 100644
--- a/gold/object.cc
+++ b/gold/object.cc
@@ -1103,8 +1103,7 @@ Input_objects::add_object(Object* obj)
}
}
- set_parameters_size_and_endianness(target->get_size(),
- target->is_big_endian());
+ set_parameters_target(target);
return true;
}