diff options
Diffstat (limited to 'ldso/ldso/ld-uClibc.c')
-rw-r--r-- | ldso/ldso/ld-uClibc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ldso/ldso/ld-uClibc.c b/ldso/ldso/ld-uClibc.c index 9e11cee10..920779dcd 100644 --- a/ldso/ldso/ld-uClibc.c +++ b/ldso/ldso/ld-uClibc.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 */ { |