aboutsummaryrefslogtreecommitdiff
path: root/backends/plugins/elf/shorts-segment-manager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backends/plugins/elf/shorts-segment-manager.cpp')
-rw-r--r--backends/plugins/elf/shorts-segment-manager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/plugins/elf/shorts-segment-manager.cpp b/backends/plugins/elf/shorts-segment-manager.cpp
index b3a9531c2d..caa328a4f2 100644
--- a/backends/plugins/elf/shorts-segment-manager.cpp
+++ b/backends/plugins/elf/shorts-segment-manager.cpp
@@ -33,7 +33,9 @@ extern char __plugin_hole_start; // Indicates start of hole in program file for
extern char __plugin_hole_end; // Indicates end of hole in program file
extern char _gp[]; // Value of gp register
+namespace Common {
DECLARE_SINGLETON(ShortSegmentManager); // For singleton
+}
ShortSegmentManager::ShortSegmentManager() {
_shortsStart = &__plugin_hole_start ; //shorts segment begins at the plugin hole we made when linking