aboutsummaryrefslogtreecommitdiff
path: root/gold/x86_64.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2009-04-27 16:23:57 +0000
committerIan Lance Taylor <ian@airs.com>2009-04-27 16:23:57 +0000
commitb0481b0b2c6ee1a516f1b3331ecfa3c7229800b4 (patch)
tree9e78cc677116083da02dee23fdf80f478fb2b2f7 /gold/x86_64.cc
parentb92b73c2f6ad8b32a231a63412da77d230f0a6d6 (diff)
downloadfsf-binutils-gdb-b0481b0b2c6ee1a516f1b3331ecfa3c7229800b4.zip
fsf-binutils-gdb-b0481b0b2c6ee1a516f1b3331ecfa3c7229800b4.tar.gz
fsf-binutils-gdb-b0481b0b2c6ee1a516f1b3331ecfa3c7229800b4.tar.bz2
* x86_64.cc (do_adjust_output_section): Set entsize to
plt_entry_size.
Diffstat (limited to 'gold/x86_64.cc')
-rw-r--r--gold/x86_64.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/gold/x86_64.cc b/gold/x86_64.cc
index a486da0..611c37e 100644
--- a/gold/x86_64.cc
+++ b/gold/x86_64.cc
@@ -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.