mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-16 04:29:20 +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 %rsi
|
||||||
pushq %rdi
|
pushq %rdi
|
||||||
xorq %rcx,%rcx
|
xorq %rcx,%rcx
|
||||||
movq VideoBuf,%rsi
|
movq VideoBuf(%rip),%rsi
|
||||||
movq OldVideoBuf,%rdi
|
movq OldVideoBuf(%rip),%rdi
|
||||||
movl VideoBufSize,%ecx
|
movl VideoBufSize(%rip),%ecx
|
||||||
shrq $2,%rcx
|
shrq $2,%rcx
|
||||||
repe
|
repe
|
||||||
cmpsl
|
cmpsl
|
||||||
|
Loading…
Reference in New Issue
Block a user