From 6dad0ab29e6d2d290fc477ec17fce49287920408 Mon Sep 17 00:00:00 2001 From: Yotam Barnoy Date: Wed, 2 Dec 2009 20:25:01 +0000 Subject: PSP: experiment to help resolve flicker bug svn-id: r46239 --- backends/platform/psp/main_prog.ld | 6 +++++- backends/platform/psp/trace.cpp | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'backends') 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; -- cgit v1.2.3