mirror of https://github.com/mpv-player/mpv
.align -> .balign
patch by Björn Sandell <biorn@dce.chalmers.se> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8288 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
a43812d21c
commit
35836a6b77
|
@ -15,12 +15,12 @@ wrapper_target:
|
|||
.section .text
|
||||
.globl null_call
|
||||
.type null_call, @function
|
||||
.align 16,0x90
|
||||
.balign 16,0x90
|
||||
null_call:
|
||||
ret
|
||||
.globl wrapper
|
||||
.type wrapper, @function
|
||||
.align 16,0x90
|
||||
.balign 16,0x90
|
||||
wrapper:
|
||||
pusha # store registers (EAX, ECX, EDX, EBX, ESP, EBP, ESI, EDI)
|
||||
pushf # store flags
|
||||
|
@ -53,7 +53,7 @@ wrapper:
|
|||
|
||||
jmp *wrapper_target # wrapper_target should return at .Lwrapper_return
|
||||
|
||||
.align 16, 0x90
|
||||
.balign 16, 0x90
|
||||
.Lwrapper_return:
|
||||
pushl caller_return # restore the original return address
|
||||
pusha # more for reference sake here
|
||||
|
|
Loading…
Reference in New Issue