summaryrefslogtreecommitdiff
path: root/src/mapi/mapi/entry_x86-64_tls.h
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2010-12-10 17:14:04 +0800
committerChia-I Wu <olv@lunarg.com>2010-12-18 15:05:52 +0800
commitc17d4999f108d86c468cf4b11b08f915c282ce12 (patch)
treeebe64e1ef25fef106b66b188a317c84cbe21a709 /src/mapi/mapi/entry_x86-64_tls.h
parentc7119e281b21bcfc88e5fdce2a5d8ebdbf6c6b62 (diff)
mapi: Clean up u_current interface.
Try not to use macros to make u_current.h appear to be glapi.h. Use u_current.h to implement glapi.h instead whenever possible.
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 cc3d5a8d7e..2c02933802 100644
--- a/src/mapi/mapi/entry_x86-64_tls.h
+++ b/src/mapi/mapi/entry_x86-64_tls.h
@@ -46,7 +46,7 @@ __asm__(".section .note.ABI-tag, \"a\"\n\t"
__asm__(".text");
__asm__("x86_64_current_tls:\n\t"
- "movq u_current_table_tls@GOTTPOFF(%rip), %rax\n\t"
+ "movq u_current_table@GOTTPOFF(%rip), %rax\n\t"
"ret");
#define STUB_ASM_ENTRY(func) \
@@ -56,7 +56,7 @@ __asm__("x86_64_current_tls:\n\t"
func ":"
#define STUB_ASM_CODE(slot) \
- "movq u_current_table_tls@GOTTPOFF(%rip), %rax\n\t" \
+ "movq u_current_table@GOTTPOFF(%rip), %rax\n\t" \
"movq %fs:(%rax), %r11\n\t" \
"jmp *(8 * " slot ")(%r11)"