summaryrefslogtreecommitdiff
path: root/src/mapi/mapi/entry_x86-64_tls.h
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2010-08-21 12:10:02 +0800
committerChia-I Wu <olv@lunarg.com>2010-08-21 14:13:59 +0800
commitdf98423f24bca147b36076e39fe53f42028052ef (patch)
tree71ba561949eae4b13070a39b426a731410b34945 /src/mapi/mapi/entry_x86-64_tls.h
parent760451baaec42bced6ade5026546ed3759495d70 (diff)
mapi: Prefix functions in u_current.h by u_current.
That is, replace the old _glapi_* names by new names that start with u_current_. When MAPI_GLAPI_CURRENT is defined, u_current.h defines rename macros to restore the old names. That is done for ABI compatibility.
Diffstat (limited to 'src/mapi/mapi/entry_x86-64_tls.h')
-rw-r--r--src/mapi/mapi/entry_x86-64_tls.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mapi/mapi/entry_x86-64_tls.h b/src/mapi/mapi/entry_x86-64_tls.h
index d4c9907b89..0f6e8125e8 100644
--- a/src/mapi/mapi/entry_x86-64_tls.h
+++ b/src/mapi/mapi/entry_x86-64_tls.h
@@ -33,7 +33,7 @@
__asm__(".text");
__asm__("x86_64_current_tls:\n\t"
- "movq _glapi_tls_Dispatch@GOTTPOFF(%rip), %rax\n\t"
+ "movq u_current_table_tls@GOTTPOFF(%rip), %rax\n\t"
"ret");
#define STUB_ASM_ENTRY(func) \
@@ -43,7 +43,7 @@ __asm__("x86_64_current_tls:\n\t"
func ":"
#define STUB_ASM_CODE(slot) \
- "movq _glapi_tls_Dispatch@GOTTPOFF(%rip), %rax\n\t" \
+ "movq u_current_table_tls@GOTTPOFF(%rip), %rax\n\t" \
"movq %fs:(%rax), %r11\n\t" \
"jmp *(8 * " slot ")(%r11)"