mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-09 22:48:57 +02:00
* Use rip-relative offsets in assembler, fixes linking text mode IDE with internal linker. The better way would be to get rid of this assembler altogether.
git-svn-id: trunk@19149 -
This commit is contained in:
parent
8b0cb2c1d5
commit
6f20627220
@ -578,9 +578,9 @@ begin
|
||||
pushq %rsi
|
||||
pushq %rdi
|
||||
xorq %rcx,%rcx
|
||||
movq VideoBuf,%rsi
|
||||
movq OldVideoBuf,%rdi
|
||||
movl VideoBufSize,%ecx
|
||||
movq VideoBuf(%rip),%rsi
|
||||
movq OldVideoBuf(%rip),%rdi
|
||||
movl VideoBufSize(%rip),%ecx
|
||||
shrq $2,%rcx
|
||||
repe
|
||||
cmpsl
|
||||
|
Loading…
Reference in New Issue
Block a user