aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/linux/amd64/sys.s
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2010-01-25 18:52:55 -0800
committerRuss Cox <rsc@golang.org>2010-01-25 18:52:55 -0800
commit718be3215ffd6f8d4bfd8fa836cb2799d3366501 (patch)
tree5de75ffa5504b39acc53f938e513f3261b173454 /src/pkg/runtime/linux/amd64/sys.s
parentc90b05bf7dab3a03a018f018d56b456b7ce7c2c5 (diff)
downloadgo-718be3215ffd6f8d4bfd8fa836cb2799d3366501.tar.xz
in C and asm, replace pkg·name with ·name
(eliminate assumption of package global name space, make code easier to move between packages). R=r CC=golang-dev https://golang.org/cl/194072
Diffstat (limited to 'src/pkg/runtime/linux/amd64/sys.s')
-rw-r--r--src/pkg/runtime/linux/amd64/sys.s10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/pkg/runtime/linux/amd64/sys.s b/src/pkg/runtime/linux/amd64/sys.s
index 6565d86de2..8e0905ee15 100644
--- a/src/pkg/runtime/linux/amd64/sys.s
+++ b/src/pkg/runtime/linux/amd64/sys.s
@@ -36,7 +36,7 @@ TEXT write(SB),7,$0-24
SYSCALL
RET
-TEXT runtime·write(SB),7,$0-24
+TEXT ·write(SB),7,$0-24
MOVL 8(SP), DI
MOVQ 16(SP), SI
MOVL 24(SP), DX
@@ -69,7 +69,7 @@ TEXT sigreturn(SB),7,$0
SYSCALL
INT $3 // not reached
-TEXT runtime·mmap(SB),7,$0-32
+TEXT ·mmap(SB),7,$0-32
MOVQ 8(SP), DI
MOVQ $0, SI
MOVL 16(SP), SI
@@ -91,7 +91,7 @@ TEXT notok(SB),7,$0
MOVQ BP, (BP)
RET
-TEXT runtime·memclr(SB),7,$0-16
+TEXT ·memclr(SB),7,$0-16
MOVQ 8(SP), DI // arg 1 addr
MOVL 16(SP), CX // arg 2 count (cannot be zero)
ADDL $7, CX
@@ -102,12 +102,12 @@ TEXT runtime·memclr(SB),7,$0-16
STOSQ
RET
-TEXT runtime·getcallerpc+0(SB),7,$0
+TEXT ·getcallerpc+0(SB),7,$0
MOVQ x+0(FP),AX // addr of first arg
MOVQ -8(AX),AX // get calling pc
RET
-TEXT runtime·setcallerpc+0(SB),7,$0
+TEXT ·setcallerpc+0(SB),7,$0
MOVQ x+0(FP),AX // addr of first arg
MOVQ x+8(FP), BX
MOVQ BX, -8(AX) // set calling pc