aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/ovlymgr.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/ovlymgr.c')
-rw-r--r--gdb/testsuite/gdb.base/ovlymgr.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/ovlymgr.c b/gdb/testsuite/gdb.base/ovlymgr.c
index f4958ed..533606b 100644
--- a/gdb/testsuite/gdb.base/ovlymgr.c
+++ b/gdb/testsuite/gdb.base/ovlymgr.c
@@ -5,6 +5,18 @@
#include "ovlymgr.h"
+#ifdef __SPU__
+/* SPU tool chain provides its own overlay manager. */
+bool
+OverlayLoad (unsigned long ovlyno)
+{
+}
+bool
+OverlayUnload (unsigned long ovlyno)
+{
+}
+#else /* __SPU__ */
+
/* Local functions and data: */
extern unsigned long _ovly_table[][4];
@@ -231,3 +243,4 @@ ovly_copy (unsigned long dst, unsigned long src, long size)
return;
}
+#endif /* __SPU__ */