diff options
Diffstat (limited to 'backends')
-rw-r--r-- | backends/platform/psp/main_prog.ld | 6 | ||||
-rw-r--r-- | backends/platform/psp/trace.cpp | 1 |
2 files changed, 6 insertions, 1 deletions
diff --git a/backends/platform/psp/main_prog.ld b/backends/platform/psp/main_prog.ld index b9ebf1284b..4216e7f0ab 100644 --- a/backends/platform/psp/main_prog.ld +++ b/backends/platform/psp/main_prog.ld @@ -198,11 +198,15 @@ SECTIONS __plugin_hole_start = .; . = _gp + 0x7ff0; __plugin_hole_end = .; + COMMON : + { + *(COMMON) + } + . = ALIGN(32 / 8); .bss : { *(.dynbss) *(.bss .bss.* .gnu.linkonce.b.*) - *(COMMON) /* Align here to ensure that the .bss section occupies space up to _end. Align after .bss to ensure correct alignment even if the .bss section disappears because there are no input sections. */ diff --git a/backends/platform/psp/trace.cpp b/backends/platform/psp/trace.cpp index 752c0b8306..28696c30a6 100644 --- a/backends/platform/psp/trace.cpp +++ b/backends/platform/psp/trace.cpp @@ -27,6 +27,7 @@ #include "./trace.h" + void PSPDebugTrace (const char *format, ...) { #ifdef __PSP_DEBUG__ va_list opt; |