From 936478e797a87bcd4e002bf70430b6f58584b155 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Tue, 14 Mar 2017 11:08:11 -0400 Subject: SPARC: Remove The SPARC architecture is currently unmaintained, remove. Cc: Francois Retief Signed-off-by: Tom Rini --- examples/standalone/stubs.c | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'examples') diff --git a/examples/standalone/stubs.c b/examples/standalone/stubs.c index f7c9734..bc9ff89 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. -- cgit v1.1