mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-10 20:30:23 +02:00
* Fix incorrect instruction size
git-svn-id: trunk@15935 -
This commit is contained in:
parent
9518188c4d
commit
61547f6a5a
@ -408,14 +408,14 @@ procedure Exe_entry;[public,alias:'_FPC_EXE_Entry'];
|
||||
end;
|
||||
StackTop:=st;
|
||||
asm
|
||||
xorl %rax,%rax
|
||||
xorq %rax,%rax
|
||||
movw %ss,%ax
|
||||
{$ifdef FPC_HAS_RIP_RELATIVE}
|
||||
movl %eax,_SS(%rip)
|
||||
{$else}
|
||||
movl %eax,_SS
|
||||
{$endif}
|
||||
xorl %rbp,%rbp
|
||||
xorq %rbp,%rbp
|
||||
call PASCALMAIN
|
||||
popq %rbp
|
||||
popq %rax
|
||||
|
Loading…
Reference in New Issue
Block a user