summaryrefslogtreecommitdiff
path: root/src/mapi/mapi/entry_x86_tls.h
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2010-08-24 15:51:57 +0800
committerChia-I Wu <olv@lunarg.com>2011-01-20 17:15:50 +0800
commit96c52d16c1716b8974b5421342f53f36cb80c10f (patch)
tree7f1ff34df0bb3b53b766e7f5f14b4240e132698e /src/mapi/mapi/entry_x86_tls.h
parent6fc152f660ed995fb6c785b9e8e925bb1640532a (diff)
mapi: u_current_table may be renamed.
When MAPI_MODE_GLAPI is defined, u_current_table is renamed to _glapi_Dispatch or _glapi_tls_Dispatch. The ASM dispatchers should not use hardcoded name.
Diffstat (limited to 'src/mapi/mapi/entry_x86_tls.h')
-rw-r--r--src/mapi/mapi/entry_x86_tls.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapi/mapi/entry_x86_tls.h b/src/mapi/mapi/entry_x86_tls.h
index ea63490e1c..43f3489564 100644
--- a/src/mapi/mapi/entry_x86_tls.h
+++ b/src/mapi/mapi/entry_x86_tls.h
@@ -50,7 +50,7 @@ __asm__("x86_current_tls:\n\t"
"1:\n\t"
"popl %eax\n\t"
"addl $_GLOBAL_OFFSET_TABLE_+[.-1b], %eax\n\t"
- "movl u_current_table@GOTNTPOFF(%eax), %eax\n\t"
+ "movl " ENTRY_CURRENT_TABLE "@GOTNTPOFF(%eax), %eax\n\t"
"ret");
#ifndef GLX_X86_READONLY_TEXT