aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/dc/plugin.x
diff options
context:
space:
mode:
authorMarcus Comstedt2016-09-26 15:16:41 +0200
committerMarcus Comstedt2016-09-27 13:06:15 +0200
commit4aacc41fff5f96b3e318e99d036796424dadff7f (patch)
tree3d2adc020cc550f1f8a2cfe30f79bd2b26cd4de5 /backends/platform/dc/plugin.x
parent9c235b3d6e543ab880c0d506d8cf6cfe2871051b (diff)
downloadscummvm-rg350-4aacc41fff5f96b3e318e99d036796424dadff7f.tar.gz
scummvm-rg350-4aacc41fff5f96b3e318e99d036796424dadff7f.tar.bz2
scummvm-rg350-4aacc41fff5f96b3e318e99d036796424dadff7f.zip
DC: Implement atexit handling for plugins
Diffstat (limited to 'backends/platform/dc/plugin.x')
-rw-r--r--backends/platform/dc/plugin.x1
1 files changed, 1 insertions, 0 deletions
diff --git a/backends/platform/dc/plugin.x b/backends/platform/dc/plugin.x
index 2c8469a335..039fca81cf 100644
--- a/backends/platform/dc/plugin.x
+++ b/backends/platform/dc/plugin.x
@@ -9,6 +9,7 @@ SECTIONS
. = 0;
.text :
{
+ ___dso_handle = .;
*(.text .stub .text.* .gnu.linkonce.t.*)
*(.gnu.warning)
} :plugin =0