* 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:
sergei 2011-09-19 15:18:28 +00:00
parent 8b0cb2c1d5
commit 6f20627220

View File

@ -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