|
|
|
@ -54,7 +54,7 @@
|
|
|
|
push %ecx # _cmd
|
|
|
|
push %ecx # _cmd
|
|
|
|
push %eax # &self
|
|
|
|
push %eax # &self
|
|
|
|
.cfi_def_cfa_offset 12
|
|
|
|
.cfi_def_cfa_offset 12
|
|
|
|
call slowMsgLookup@PLT
|
|
|
|
call CDECL(slowMsgLookup)@PLT
|
|
|
|
add $8, %esp # restore the stack
|
|
|
|
add $8, %esp # restore the stack
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -65,8 +65,14 @@
|
|
|
|
7:
|
|
|
|
7:
|
|
|
|
popl %ebx;
|
|
|
|
popl %ebx;
|
|
|
|
8:
|
|
|
|
8:
|
|
|
|
|
|
|
|
#if __ELF__
|
|
|
|
|
|
|
|
# ELF can support GOT-relative addressing;
|
|
|
|
|
|
|
|
# PE/COFF and Mach-O need a text relocation.
|
|
|
|
addl $_GLOBAL_OFFSET_TABLE_+(8b-7b), %ebx
|
|
|
|
addl $_GLOBAL_OFFSET_TABLE_+(8b-7b), %ebx
|
|
|
|
leal SmallObjectClasses@GOTOFF(%ebx), %eax
|
|
|
|
leal SmallObjectClasses@GOTOFF(%ebx), %eax
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
|
|
|
leal CDECL(SmallObjectClasses), %eax
|
|
|
|
|
|
|
|
#endif
|
|
|
|
mov (%eax), %eax
|
|
|
|
mov (%eax), %eax
|
|
|
|
popl %ebx
|
|
|
|
popl %ebx
|
|
|
|
jmp 1b
|
|
|
|
jmp 1b
|
|
|
|
|