diff options
author | Chia-I Wu <olv@lunarg.com> | 2010-08-24 15:51:57 +0800 |
---|---|---|
committer | Chia-I Wu <olv@lunarg.com> | 2011-01-20 17:15:50 +0800 |
commit | 96c52d16c1716b8974b5421342f53f36cb80c10f (patch) | |
tree | 7f1ff34df0bb3b53b766e7f5f14b4240e132698e /src/mapi/mapi/entry_x86-64_tls.h | |
parent | 6fc152f660ed995fb6c785b9e8e925bb1640532a (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-64_tls.h')
-rw-r--r-- | src/mapi/mapi/entry_x86-64_tls.h | 4 |
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 d14bf1c394..21ba434ae8 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@GOTTPOFF(%rip), %rax\n\t" + "movq " ENTRY_CURRENT_TABLE "@GOTTPOFF(%rip), %rax\n\t" "ret"); __asm__(".balign 32\n" @@ -59,7 +59,7 @@ __asm__(".balign 32\n" func ":" #define STUB_ASM_CODE(slot) \ - "movq u_current_table@GOTTPOFF(%rip), %rax\n\t" \ + "movq " ENTRY_CURRENT_TABLE "@GOTTPOFF(%rip), %rax\n\t" \ "movq %fs:(%rax), %r11\n\t" \ "jmp *(8 * " slot ")(%r11)" |