aboutsummaryrefslogtreecommitdiff
path: root/riscv/extension.cc
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@eecs.berkeley.edu>2014-01-28 03:38:28 -0800
committerAndrew Waterman <waterman@eecs.berkeley.edu>2014-01-28 03:38:28 -0800
commit9a9df0230ff3b0eba855d1184079806855b70ede (patch)
tree986496445277876bfae2a008bbf99c3edfc380d9 /riscv/extension.cc
parent2c1ddd17819e26fdb6a00a9e6de7a6cab2995855 (diff)
downloadspike-9a9df0230ff3b0eba855d1184079806855b70ede.zip
spike-9a9df0230ff3b0eba855d1184079806855b70ede.tar.gz
spike-9a9df0230ff3b0eba855d1184079806855b70ede.tar.bz2
Force extension loaders to be linked in
Diffstat (limited to 'riscv/extension.cc')
-rw-r--r--riscv/extension.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/riscv/extension.cc b/riscv/extension.cc
index 34d3f4f..b758eef 100644
--- a/riscv/extension.cc
+++ b/riscv/extension.cc
@@ -1,12 +1,6 @@
#include "extension.h"
#include "trap.h"
-std::map<std::string, std::function<extension_t*()>>& extensions()
-{
- static std::map<std::string, std::function<extension_t*()>> v;
- return v;
-}
-
extension_t::~extension_t()
{
}