Change how we do GOT-relative relocations in objc_msgSend on i386 to make gas

happier.
main
theraven 13 years ago
parent bfc1a2ed11
commit 5cd0a37e27

@ -76,11 +76,9 @@
jmp *%eax
6: # smallObject:
6: # smallObject:
push %ebx # Save old %ebx
call __i686.get_pc_thunk.bx
addl $_GLOBAL_OFFSET_TABLE_, %ebx
mov SmallObjectClasses@GOT(%ebx), %eax
leal SmallObjectClasses@GOTOFF(%ebx), %eax
mov (%eax), %eax
popl %ebx
jmp 1b

Loading…
Cancel
Save