From e84992bbac6f16ec51ed0ad03db26b403c2b05e0 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 2 Oct 2007 22:10:10 +0000 Subject: From Craig Silverstein: correct x86_64 dynamic tags. --- gold/x86_64.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gold/x86_64.cc b/gold/x86_64.cc index f9de8ab..d7a6ea9 100644 --- a/gold/x86_64.cc +++ b/gold/x86_64.cc @@ -1035,9 +1035,9 @@ Target_x86_64::do_finalize_sections(Layout* layout) { const Output_data* od = this->rel_dyn_; odyn->add_section_address(elfcpp::DT_RELA, od); - odyn->add_section_size(elfcpp::DT_RELSZ, od); + odyn->add_section_size(elfcpp::DT_RELASZ, od); odyn->add_constant(elfcpp::DT_RELAENT, - elfcpp::Elf_sizes<64>::rel_size); + elfcpp::Elf_sizes<64>::rela_size); } if (!parameters->output_is_shared()) -- cgit v1.1