aboutsummaryrefslogtreecommitdiff
path: root/gold/gold.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2006-11-06 22:46:08 +0000
committerIan Lance Taylor <iant@google.com>2006-11-06 22:46:08 +0000
commitf6ce93d6e999d1a0c450c5e71c5b3468e6217f0a (patch)
tree945ecd482d35d1c2a590645ef3d5f41fb83dcc4b /gold/gold.cc
parent8d9455b422d98d97f090923445aa2680e6882f20 (diff)
downloadgdb-f6ce93d6e999d1a0c450c5e71c5b3468e6217f0a.zip
gdb-f6ce93d6e999d1a0c450c5e71c5b3468e6217f0a.tar.gz
gdb-f6ce93d6e999d1a0c450c5e71c5b3468e6217f0a.tar.bz2
Split Object into Dynobj and Relobj, incorporate elfcpp swapping changes.
Diffstat (limited to 'gold/gold.cc')
-rw-r--r--gold/gold.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/gold/gold.cc b/gold/gold.cc
index 31598dc..c2372ad 100644
--- a/gold/gold.cc
+++ b/gold/gold.cc
@@ -153,8 +153,8 @@ queue_middle_tasks(const General_options& options,
// of references made to the symbols.
Task_token* blocker = new Task_token();
Task_token* symtab_lock = new Task_token();
- for (Input_objects::Object_list::const_iterator p = input_objects->begin();
- p != input_objects->end();
+ for (Input_objects::Relobj_iterator p = input_objects->relobj_begin();
+ p != input_objects->relobj_end();
++p)
{
// We can read and process the relocations in any order. But we
@@ -198,8 +198,8 @@ queue_final_tasks(const General_options& options,
// Queue a task for each input object to relocate the sections and
// write out the local symbols.
- for (Input_objects::Object_list::const_iterator p = input_objects->begin();
- p != input_objects->end();
+ for (Input_objects::Relobj_iterator p = input_objects->relobj_begin();
+ p != input_objects->relobj_end();
++p)
{
final_blocker->add_blocker();