Mercurial > sdl-ios-xcode
diff src/hermes/x86p_16.asm @ 3983:540466e900db SDL-1.2
Removed textrels from hermes code.
Partially fixes Bugzilla #418.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Wed, 27 Jun 2007 10:12:49 +0000 |
parents | eb4d9d99849b |
children |
line wrap: on
line diff
--- a/src/hermes/x86p_16.asm Tue Jun 26 20:04:15 2007 +0000 +++ b/src/hermes/x86p_16.asm Wed Jun 27 10:12:49 2007 +0000 @@ -20,7 +20,6 @@ SDL_FUNC _ConvertX86p16_8RGB332 EXTERN _ConvertX86 -EXTERN _x86return SECTION .text @@ -49,7 +48,7 @@ dec ecx jnz .L1 .L2 - jmp _x86return + retn .L3 ; head mov eax,edi @@ -127,7 +126,7 @@ add edi,BYTE 2 .L7 - jmp _x86return + retn @@ -156,7 +155,7 @@ dec ecx jnz .L1 .L2 - jmp _x86return + retn .L3 ; head mov eax,edi @@ -235,7 +234,7 @@ jmp SHORT .L6 .L7 pop ebp - jmp _x86return + retn @@ -269,7 +268,7 @@ dec ecx jnz .L1 .L2 - jmp _x86return + retn .L3 ; head mov eax,edi @@ -353,7 +352,7 @@ add edi,BYTE 2 .L7 - jmp _x86return + retn @@ -386,7 +385,7 @@ dec ecx jnz .L1 .L2 - jmp _x86return + retn .L3 mov eax,edi and eax,BYTE 11b @@ -484,7 +483,7 @@ jnz .L6 .L7 pop ebp - jmp _x86return + retn %ifidn __OUTPUT_FORMAT__,elf section .note.GNU-stack noalloc noexec nowrite progbits