diff options
author | Ian Lance Taylor <iant@google.com> | 2006-10-20 20:40:49 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2006-10-20 20:40:49 +0000 |
commit | 92e059d8dc78c3f65e29e48e368f6e47ea0ab671 (patch) | |
tree | f448eb3317d9cbb0f5946422cc28ef157a5f65cb /gold/readsyms.cc | |
parent | af4658dc3db33004d6166b161588221ecb463a5f (diff) | |
download | gdb-92e059d8dc78c3f65e29e48e368f6e47ea0ab671.zip gdb-92e059d8dc78c3f65e29e48e368f6e47ea0ab671.tar.gz gdb-92e059d8dc78c3f65e29e48e368f6e47ea0ab671.tar.bz2 |
Framework for relocation scanning. Implement simple static TLS
relocations.
Diffstat (limited to 'gold/readsyms.cc')
-rw-r--r-- | gold/readsyms.cc | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/gold/readsyms.cc b/gold/readsyms.cc index adc8fac..3a5650a 100644 --- a/gold/readsyms.cc +++ b/gold/readsyms.cc @@ -76,10 +76,10 @@ Read_symbols::run(Workqueue* workqueue) Read_symbols_data* sd = new Read_symbols_data; obj->read_symbols(sd); - workqueue->queue(new Add_symbols(this->symtab_, this->layout_, - obj, sd, - this->this_blocker_, - this->next_blocker_)); + workqueue->queue_front(new Add_symbols(this->symtab_, this->layout_, + obj, sd, + this->this_blocker_, + this->next_blocker_)); // Opening the file locked it, so now we need to unlock it. input_file->file().unlock(); @@ -105,8 +105,7 @@ Read_symbols::run(Workqueue* workqueue) } } - // Here we have to handle archives and any other input file - // types we need. + // Here we have to handle any other input file types we need. fprintf(stderr, _("%s: %s: not an object or archive\n"), program_name, input_file->file().filename().c_str()); gold_exit(false); |