diff options
Diffstat (limited to 'apps/plugins/plugin.lds')
-rw-r--r-- | apps/plugins/plugin.lds | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/plugins/plugin.lds b/apps/plugins/plugin.lds index 2f11bd1235..f4bd64df35 100644 --- a/apps/plugins/plugin.lds +++ b/apps/plugins/plugin.lds | |||
@@ -181,6 +181,9 @@ OUTPUT_FORMAT(elf32-littlemips) | |||
181 | #elif defined OVERLAY_OFFSET | 181 | #elif defined OVERLAY_OFFSET |
182 | #define THIS_LENGTH (DRAMSIZE - OVERLAY_OFFSET) | 182 | #define THIS_LENGTH (DRAMSIZE - OVERLAY_OFFSET) |
183 | #define THIS_ORIGIN (DRAMORIG + OVERLAY_OFFSET) | 183 | #define THIS_ORIGIN (DRAMORIG + OVERLAY_OFFSET) |
184 | #elif defined IMGVDECODER_OFFSET | ||
185 | #define THIS_LENGTH (PLUGIN_LENGTH - IMGVDECODER_OFFSET) | ||
186 | #define THIS_ORIGIN (PLUGIN_ORIGIN + IMGVDECODER_OFFSET) | ||
184 | #else /* plugin */ | 187 | #else /* plugin */ |
185 | #define THIS_LENGTH PLUGIN_LENGTH | 188 | #define THIS_LENGTH PLUGIN_LENGTH |
186 | #define THIS_ORIGIN PLUGIN_ORIGIN | 189 | #define THIS_ORIGIN PLUGIN_ORIGIN |