* i386.cc (class Output_data_plt_i386): Add layout_ field.
authorIan Lance Taylor <ian@airs.com>
Fri, 15 Jul 2011 15:31:54 +0000 (15:31 +0000)
committerIan Lance Taylor <ian@airs.com>
Fri, 15 Jul 2011 15:31:54 +0000 (15:31 +0000)
commit7d1726872032004915cd16e53cc781af2adb2873
tree2073f1991cba644c41db0bb9fc44c49284fb3daf
parent2b1260ab1758b95f36263c48961bb4a113b0f238
* i386.cc (class Output_data_plt_i386): Add layout_ field.
(Output_data_plt_i386::Output_data_plt_i386): Initialize layout_.
(Output_data_plt_i386::do_write): Write address of .dynamic
section to first entry in .got.plt section.
* x86_64.cc (class Output_data_plt_x86_64): Add layout_ field.
(Output_data_plt_x86_64::Output_data_plt_x86_64) [both versions]:
Initialize layout_.
(Output_data_plt_x86_64::do_write): Write address of .dynamic
section to first entry in .got.plt section.
* layout.h (Layout::dynamic_section): New function.
gold/ChangeLog
gold/i386.cc
gold/layout.h
gold/x86_64.cc