aboutsummaryrefslogtreecommitdiff
path: root/gold/object.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-09-26 07:01:35 +0000
committerIan Lance Taylor <iant@google.com>2007-09-26 07:01:35 +0000
commit9025d29d14ae287d2bc338ef1b0bfa043799e15c (patch)
tree7802e1942ac6c30223c2bd6b077dc3a64e1d9280 /gold/object.cc
parentcc941dee4852b197c1437b2eb28eafb0c9ccaff9 (diff)
downloadgdb-9025d29d14ae287d2bc338ef1b0bfa043799e15c.zip
gdb-9025d29d14ae287d2bc338ef1b0bfa043799e15c.tar.gz
gdb-9025d29d14ae287d2bc338ef1b0bfa043799e15c.tar.bz2
Put size and endianness in parameters.
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;
}