summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/sandbox/lib/common.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/sandbox/lib/common.c b/arch/sandbox/lib/common.c
index e8f43177d1..f5e16d2963 100644
--- a/arch/sandbox/lib/common.c
+++ b/arch/sandbox/lib/common.c
@@ -321,6 +321,11 @@ int main(int argc, char *argv[])
return 0;
}
+#ifdef __PPC__
+/* HACK: we need this symbol on PPC, better ask a PPC export about this :) */
+char _SDA_BASE_[4096];
+#endif
+
static void print_usage(const char *prgname)
{
printf(