aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-10-02 22:10:10 +0000
committerIan Lance Taylor <iant@google.com>2007-10-02 22:10:10 +0000
commite84992bbac6f16ec51ed0ad03db26b403c2b05e0 (patch)
treeb966d40fa6f9b861a8fc63cae01a6c0d339be04a
parent51dee2fec3afad5e6fc9f78b8c1d8486ebf3a334 (diff)
downloadgdb-e84992bbac6f16ec51ed0ad03db26b403c2b05e0.zip
gdb-e84992bbac6f16ec51ed0ad03db26b403c2b05e0.tar.gz
gdb-e84992bbac6f16ec51ed0ad03db26b403c2b05e0.tar.bz2
From Craig Silverstein: correct x86_64 dynamic tags.
-rw-r--r--gold/x86_64.cc4
1 files 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())