summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/standalone/stubs.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/examples/standalone/stubs.c b/examples/standalone/stubs.c
index f7c973432e..bc9ff89527 100644
--- a/examples/standalone/stubs.c
+++ b/examples/standalone/stubs.c
@@ -172,21 +172,6 @@ gd_t *global_data;
" nop\n" \
" nop\n" \
: : "i"(offsetof(gd_t, jt)), "i"(FO(x)) : "r1", "r2");
-#elif defined(CONFIG_SPARC)
-/*
- * g7 holds the pointer to the global_data. g1 is call clobbered.
- */
-#define EXPORT_FUNC(f, a, x, ...) \
- asm volatile( \
-" .globl\t" #x "\n" \
-#x ":\n" \
-" set %0, %%g1\n" \
-" or %%g1, %%g7, %%g1\n" \
-" ld [%%g1], %%g1\n" \
-" ld [%%g1 + %1], %%g1\n" \
-" jmp %%g1\n" \
-" nop\n" \
- : : "i"(offsetof(gd_t, jt)), "i"(FO(x)) : "g1");
#elif defined(CONFIG_NDS32)
/*
* r16 holds the pointer to the global_data. gp is call clobbered.