commit | 2456149860808a2b4e899b202fbe40c24145e903 | [log] [tgz] |
---|---|---|
author | Marcus Meissner <meissner@suse.de> | Tue Aug 20 00:00:35 2002 +0000 |
committer | Alexandre Julliard <julliard@winehq.org> | Tue Aug 20 00:00:35 2002 +0000 |
tree | 6455f37be91ef27b16fa5b4ff984640f5534e14a | |
parent | 4d54db752c06b9ebf9d6003ce28742212949712c [diff] [blame] |
Use r2 instead of r13 for TLS, since r13 is used in the ELF32 PPC ABI.
diff --git a/include/winnt.h b/include/winnt.h index dd495a4..7808dbf 100644 --- a/include/winnt.h +++ b/include/winnt.h
@@ -2332,7 +2332,7 @@ extern inline struct _TEB * WINAPI NtCurrentTeb(void) { struct _TEB *teb; - __asm__("\tmr %0, 13" : "=r" (teb)); + __asm__("\tmr %0, 2" : "=r" (teb)); return teb; } #else