mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-24 18:44:20 +08:00
* x86_64.cc (do_adjust_output_section): Set entsize to
plt_entry_size.
This commit is contained in:
parent
b92b73c2f6
commit
b0481b0b2c
@ -1,3 +1,8 @@
|
||||
2009-04-27 Ian Lance Taylor <iant@google.com>
|
||||
|
||||
* x86_64.cc (do_adjust_output_section): Set entsize to
|
||||
plt_entry_size.
|
||||
|
||||
2008-04-23 Elliott Hughes <enh@google.com>
|
||||
|
||||
* output.cc (Output_file::close): After short writes, continue
|
||||
|
@ -601,9 +601,7 @@ Output_data_plt_x86_64::Output_data_plt_x86_64(Layout* layout,
|
||||
void
|
||||
Output_data_plt_x86_64::do_adjust_output_section(Output_section* os)
|
||||
{
|
||||
// UnixWare sets the entsize of .plt to 4, and so does the old GNU
|
||||
// linker, and so do we.
|
||||
os->set_entsize(4);
|
||||
os->set_entsize(plt_entry_size);
|
||||
}
|
||||
|
||||
// Add an entry to the PLT.
|
||||
|
Loading…
Reference in New Issue
Block a user