diff options
author | Ian Lance Taylor <iant@google.com> | 2007-09-04 20:00:53 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2007-09-04 20:00:53 +0000 |
commit | 193a53d920ac7248cf6a3d8e36f74e9b9100b93b (patch) | |
tree | fe5c87514693b22f2705d4f8d92fd94d7978781e /gold/resolve.cc | |
parent | 64707334c75cdf16a0c2d317fc381c9b158beed9 (diff) | |
download | gdb-193a53d920ac7248cf6a3d8e36f74e9b9100b93b.zip gdb-193a53d920ac7248cf6a3d8e36f74e9b9100b93b.tar.gz gdb-193a53d920ac7248cf6a3d8e36f74e9b9100b93b.tar.bz2 |
Add support for --enable-target to control which template
specializations we generate.
Diffstat (limited to 'gold/resolve.cc')
-rw-r--r-- | gold/resolve.cc | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/gold/resolve.cc b/gold/resolve.cc index d021598..e5ca6e3 100644 --- a/gold/resolve.cc +++ b/gold/resolve.cc @@ -520,36 +520,44 @@ Symbol_table::resolve(Sized_symbol<size>* to, // script to restrict this to only the ones needed for implemented // targets. +#ifdef HAVE_TARGET_32_LITTLE template void -Symbol_table::resolve<32, true>( +Symbol_table::resolve<32, false>( Sized_symbol<32>* to, - const elfcpp::Sym<32, true>& sym, + const elfcpp::Sym<32, false>& sym, Object* object, const char* version); +#endif +#ifdef HAVE_TARGET_32_BIG template void -Symbol_table::resolve<32, false>( +Symbol_table::resolve<32, true>( Sized_symbol<32>* to, - const elfcpp::Sym<32, false>& sym, + const elfcpp::Sym<32, true>& sym, Object* object, const char* version); +#endif +#ifdef HAVE_TARGET_64_LITTLE template void -Symbol_table::resolve<64, true>( +Symbol_table::resolve<64, false>( Sized_symbol<64>* to, - const elfcpp::Sym<64, true>& sym, + const elfcpp::Sym<64, false>& sym, Object* object, const char* version); +#endif +#ifdef HAVE_TARGET_64_BIG template void -Symbol_table::resolve<64, false>( +Symbol_table::resolve<64, true>( Sized_symbol<64>* to, - const elfcpp::Sym<64, false>& sym, + const elfcpp::Sym<64, true>& sym, Object* object, const char* version); +#endif } // End namespace gold. |