1commit 31245c9b262fa983d9711f7795b35ad31c3a6618 2Author: Ben Gras <ben@minix3.org> 3Date: Sat May 3 19:40:19 2014 +0200 4 5 plt 6 7diff --git a/gold/i386.cc b/gold/i386.cc 8index a2f7522..f06d60d 100644 9--- a/gold/i386.cc 10+++ b/gold/i386.cc 11@@ -2543,6 +2543,10 @@ Target_i386::do_finalize_sections( 12 Symbol* sym = this->global_offset_table_; 13 if (sym != NULL) 14 { 15+ // create a plt 16+ if (this->plt_ == NULL) 17+ this->make_plt_section(symtab, layout); 18+ 19 uint32_t data_size = this->got_plt_->current_data_size(); 20 symtab->get_sized_symbol<32>(sym)->set_symsize(data_size); 21 } 22