From: Ian Lance Taylor Date: Tue, 15 Apr 2008 21:41:29 +0000 (+0000) Subject: * sparc.cc: Add definitions for Output_data_plt_sparc class X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4f2a9edd9c29db95518668e73369d590ecf6984b;p=binutils-gdb.git * sparc.cc: Add definitions for Output_data_plt_sparc class constants. --- diff --git a/gold/ChangeLog b/gold/ChangeLog index 1516415bf56..c0675fb6fad 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,8 @@ +2008-04-15 Ian Lance Taylor + + * sparc.cc: Add definitions for Output_data_plt_sparc class + constants. + 2008-04-14 David S. Miller * sparc.cc: New file. diff --git a/gold/sparc.cc b/gold/sparc.cc index 2812fe14370..e293ea19c1d 100644 --- a/gold/sparc.cc +++ b/gold/sparc.cc @@ -1078,6 +1078,25 @@ class Output_data_plt_sparc : public Output_section_data unsigned int count_; }; +// Define the constants as required by C++ standard. + +template +const int Output_data_plt_sparc::base_plt_entry_size; + +template +const unsigned int +Output_data_plt_sparc::plt_entries_per_block; + +template +const unsigned int Output_data_plt_sparc::plt_insn_chunk_size; + +template +const unsigned int +Output_data_plt_sparc::plt_pointer_chunk_size; + +template +const unsigned int Output_data_plt_sparc::plt_block_size; + // Create the PLT section. The ordinary .got section is an argument, // since we need to refer to the start.