diff options
author | Ian Lance Taylor <ian@airs.com> | 2008-04-15 21:41:29 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2008-04-15 21:41:29 +0000 |
commit | 4f2a9edd9c29db95518668e73369d590ecf6984b (patch) | |
tree | 3e554880b1296ebf90438fa5849f8deeb9668c8b /gold | |
parent | 52b5ca5b35537a5081916c09c8238beae153ae29 (diff) | |
download | gdb-4f2a9edd9c29db95518668e73369d590ecf6984b.zip gdb-4f2a9edd9c29db95518668e73369d590ecf6984b.tar.gz gdb-4f2a9edd9c29db95518668e73369d590ecf6984b.tar.bz2 |
* sparc.cc: Add definitions for Output_data_plt_sparc class
constants.
Diffstat (limited to 'gold')
-rw-r--r-- | gold/ChangeLog | 5 | ||||
-rw-r--r-- | gold/sparc.cc | 19 |
2 files changed, 24 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog index 1516415..c0675fb 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,8 @@ +2008-04-15 Ian Lance Taylor <iant@google.com> + + * sparc.cc: Add definitions for Output_data_plt_sparc class + constants. + 2008-04-14 David S. Miller <davem@davemloft.net> * sparc.cc: New file. diff --git a/gold/sparc.cc b/gold/sparc.cc index 2812fe1..e293ea1 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<int size, bool big_endian> +const int Output_data_plt_sparc<size, big_endian>::base_plt_entry_size; + +template<int size, bool big_endian> +const unsigned int +Output_data_plt_sparc<size, big_endian>::plt_entries_per_block; + +template<int size, bool big_endian> +const unsigned int Output_data_plt_sparc<size, big_endian>::plt_insn_chunk_size; + +template<int size, bool big_endian> +const unsigned int +Output_data_plt_sparc<size, big_endian>::plt_pointer_chunk_size; + +template<int size, bool big_endian> +const unsigned int Output_data_plt_sparc<size, big_endian>::plt_block_size; + // Create the PLT section. The ordinary .got section is an argument, // since we need to refer to the start. |