]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
dwarflint: Move check registrars to .cc files
authorPetr Machata <pmachata@redhat.com>
Fri, 27 Aug 2010 15:36:31 +0000 (17:36 +0200)
committerPetr Machata <pmachata@redhat.com>
Fri, 27 Aug 2010 15:36:31 +0000 (17:36 +0200)
dwarflint/check_debug_abbrev.cc
dwarflint/check_debug_abbrev.hh
dwarflint/check_debug_aranges.cc
dwarflint/check_debug_aranges.hh
dwarflint/check_debug_info.cc
dwarflint/check_debug_info.hh

index c4cb2e1f071055387ae0aef8ad9377f7cac61b63..8023d389c376fdbd58074613a5ace1395ae13358 100644 (file)
@@ -38,6 +38,8 @@
 #include <cassert>
 #include <algorithm>
 
+static reg<check_debug_abbrev> reg_debug_abbrev;
+
 struct abbrev *
 abbrev_table_find_abbrev (struct abbrev_table const *abbrevs,
                          uint64_t abbrev_code)
index 6739433b9968d26f40e4a92b63cd00a8c7189371..4ad0d8752450e7e45498c084aa0af33cf69e6b8a 100644 (file)
@@ -44,6 +44,5 @@ public:
   check_debug_abbrev (checkstack &stack, dwarflint &lint);
   ~check_debug_abbrev ();
 };
-static reg<check_debug_abbrev> reg_debug_abbrev;
 
 #endif//DWARFLINT_CHECK_DEBUG_ABBREV_HH
index 4ca69e630ac108116ef69d337c5b24aba1b9fb4b..15a12ceac09e5cf368f897b09b71b4b254f24092 100644 (file)
@@ -33,6 +33,8 @@
 #include "check_debug_info.hh"
 #include "check_debug_loc_range.hh"
 
+static reg<check_debug_aranges> reg_debug_aranges;
+
 check_debug_aranges::check_debug_aranges (checkstack &stack, dwarflint &lint)
   : _m_sec_aranges (lint.check (stack, _m_sec_aranges))
 {
index ac14030e329d63583f33775bc1123cb386828eb7..d787b35c12f2767e003924977721a9e879daf78e 100644 (file)
@@ -43,6 +43,5 @@ public:
 
   check_debug_aranges (checkstack &stack, dwarflint &lint);
 };
-static reg<check_debug_aranges> reg_debug_aranges;
 
 #endif//DWARFLINT_CHECKS_LOW_HH
index f103f2bc903c106a19236d6cf865b6016a8eac11..5db9d8cc5921536a9f60caa2c1a91192d4fb06a1 100644 (file)
@@ -40,6 +40,8 @@
 #include "check_debug_abbrev.hh"
 #include "check_debug_info.hh"
 
+static reg<check_debug_info> reg_debug_info;
+
 namespace
 {
   bool
index d9449e7eb018f73318a0ee4ec3bc89f8e24c9855..63082e74143fa99f9d9d662779b88b8ac0f22b02 100644 (file)
@@ -87,6 +87,5 @@ public:
 
   cu *find_cu (::Dwarf_Off offset);
 };
-static reg<check_debug_info> reg_debug_info;
 
 #endif//DWARFLINT_CHECK_DEBUG_INFO_HH