26c26
< * $FreeBSD: head/lib/libc/powerpc/gen/_set_tp.c 133754 2004-08-15 16:18:52Z dfr $
---
> * $FreeBSD: head/lib/libc/powerpc/gen/_set_tp.c 161729 2006-08-30 00:57:35Z marcel $
32c32
< register void* tp __asm__("r2");
---
> register void *tp __asm__("r2");
34c34
< tp = (char*) tpval + 0x7008;
---
> __asm __volatile("mr %0,%1" : "=r"(tp) : "r"((char*)tpval + 0x7008));
< * $FreeBSD: head/lib/libc/powerpc/gen/_set_tp.c 133754 2004-08-15 16:18:52Z dfr $
---
> * $FreeBSD: head/lib/libc/powerpc/gen/_set_tp.c 161729 2006-08-30 00:57:35Z marcel $
32c32
< register void* tp __asm__("r2");
---
> register void *tp __asm__("r2");
34c34
< tp = (char*) tpval + 0x7008;
---
> __asm __volatile("mr %0,%1" : "=r"(tp) : "r"((char*)tpval + 0x7008));