From 6e0b24b426c91b93f863a5187ce9e0577f00c4dd Mon Sep 17 00:00:00 2001 From: David Schleef Date: Thu, 12 Jul 2001 10:11:33 +0000 Subject: Small fixups for powerpc --- ldso/ldso/ldso.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ldso/ldso/ldso.c') diff --git a/ldso/ldso/ldso.c b/ldso/ldso/ldso.c index 9e11cee10..920779dcd 100644 --- a/ldso/ldso/ldso.c +++ b/ldso/ldso/ldso.c @@ -244,6 +244,8 @@ DL_BOOT(unsigned long args) __asm__("\tmov %%l7,%0\n\t" : "=r" (got)) #elif defined(__arm__) __asm__("\tmov %0, r10\n\t" : "=r"(got)); +#elif defined(__powerpc__) + __asm__("\tbl _GLOBAL_OFFSET_TABLE_-4@local\n\t" : "=l"(got)); #else /* Do things the slow way in C */ { -- cgit v1.2.3