summaryrefslogtreecommitdiff
path: root/rt/abort-freebsd.s
diff options
context:
space:
mode:
authorAndrew Chambers <andrewchamberss@gmail.com>2016-01-16 00:04:45 +1300
committerAndrew Chambers <andrewchamberss@gmail.com>2016-01-16 00:11:34 +1300
commitfc7a3c0d5470cece4a3e444750181f7101cbe98f (patch)
tree839a6e46fc4d2c24fa0515388e76057b95d533e0 /rt/abort-freebsd.s
parent199b9cbd18da9e32a3bacdee6266a098036b34be (diff)
downloadmc-fc7a3c0d5470cece4a3e444750181f7101cbe98f.tar.gz
minor fixes to rt asm files
- replace spaces with tabs. - change label references to be rip relative
Diffstat (limited to 'rt/abort-freebsd.s')
-rw-r--r--rt/abort-freebsd.s4
1 files changed, 2 insertions, 2 deletions
diff --git a/rt/abort-freebsd.s b/rt/abort-freebsd.s
index 09297a7..a4b12bb 100644
--- a/rt/abort-freebsd.s
+++ b/rt/abort-freebsd.s
@@ -8,11 +8,11 @@ __rt$abort_oob:
movq (%rsp),%rax
movq $15,%rdx
leaq .digitchars(%rip),%r8
- leaq .pcstr(%rip),%r9
+ leaq .pcstr(%rip),%r9
.loop:
movq %rax, %rcx
andq $0xf, %rcx
- movb (%r8,%rcx),%r10b
+ movb (%r8,%rcx),%r10b
movb %r10b,(%r9,%rdx)
subq $1, %rdx
shrq $4, %rax