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, 3 insertions, 0 deletions
diff --git a/gold/object.cc b/gold/object.cc
index d64e120..3051909 100644
--- a/gold/object.cc
+++ b/gold/object.cc
@@ -794,6 +794,9 @@ Input_objects::add_object(Object* obj)
gold_exit(false);
}
+ set_parameters_size_and_endianness(target->get_size(),
+ target->is_big_endian());
+
return true;
}