24 Feb
2003
24 Feb
'03
2:11 a.m.
Ulrich Weigand wrote:
From what I can see, you are actually getting LE model code (omitting the ebp stuff which you can avoid using -fomit-frame-pointer):
movl %gs:0, %eax movl __foo_dispatch(a)NTPOFF(%eax), %edx movl (%edx), %ecx jmp *%ecx
Note that NTPOFF is used; for IE, you'd see INDNTPOFF or GOTNTPOFF and an additional indirection.
Right, thanks! Makes sense. -- Gareth Hughes (gareth(a)nvidia.com) OpenGL Developer, NVIDIA Corporation