aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/linux
diff options
context:
space:
mode:
authorDevon H. O'Dell <devon.odell@gmail.com>2009-11-17 08:20:58 -0800
committerRuss Cox <rsc@golang.org>2009-11-17 08:20:58 -0800
commit0489a260da4e128eddedf38a2eec78ef5da80140 (patch)
treecd7048f173aa5c41d4953e4e87e5bc8f08d7b8b4 /src/pkg/runtime/linux
parent30b1b9a36a2d871e9c1cd6db8b6cc7dab47ba862 (diff)
downloadgo-0489a260da4e128eddedf38a2eec78ef5da80140.tar.xz
FreeBSD-specific porting work.
cgo/libmach remain unimplemented. However, compilers, runtime, and packages are 100%. I still need to go through and implement missing syscalls (at least make sure they're all listed), but for all shipped functionality, this is done. Ship! ;) R=rsc, VenkateshSrinivas https://golang.org/cl/152142
Diffstat (limited to 'src/pkg/runtime/linux')
-rw-r--r--src/pkg/runtime/linux/amd64/rt0.s1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pkg/runtime/linux/amd64/rt0.s b/src/pkg/runtime/linux/amd64/rt0.s
index e04866458a..6b1b297752 100644
--- a/src/pkg/runtime/linux/amd64/rt0.s
+++ b/src/pkg/runtime/linux/amd64/rt0.s
@@ -11,6 +11,7 @@ TEXT _rt0_amd64_linux(SB),7,$-8
CALL AX
MOVQ $_rt0_amd64(SB), AX
+ MOVQ SP, DI
JMP AX
GLOBL initcgo(SB), $8