aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/rt0_linux_amd64.s
diff options
context:
space:
mode:
authorSrdjan Petrovic <spetrovic@google.com>2015-04-22 11:44:46 -0700
committerIan Lance Taylor <iant@golang.org>2015-04-23 23:09:03 +0000
commit1f65c9c1411220ad6abd200703906dfa27695b16 (patch)
tree27e4207f0d21de70cea7d240a2c780c18ef66588 /src/runtime/rt0_linux_amd64.s
parented09e0e2bfb146dede246014381b447246885b00 (diff)
downloadgo-1f65c9c1411220ad6abd200703906dfa27695b16.tar.gz
go-1f65c9c1411220ad6abd200703906dfa27695b16.zip
runtime: deflake TestNewOSProc0, fix _rt0_amd64_linux_lib stack alignment
This addresses iant's comments from CL 9164. Change-Id: I7b5b282f61b11aab587402c2d302697e76666376 Reviewed-on: https://go-review.googlesource.com/9222 Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime/rt0_linux_amd64.s')
-rw-r--r--src/runtime/rt0_linux_amd64.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/rt0_linux_amd64.s b/src/runtime/rt0_linux_amd64.s
index cd7c55e6f5..726b550d35 100644
--- a/src/runtime/rt0_linux_amd64.s
+++ b/src/runtime/rt0_linux_amd64.s
@@ -12,7 +12,7 @@ TEXT _rt0_amd64_linux(SB),NOSPLIT,$-8
// When building with -buildmode=c-shared, this symbol is called when the shared
// library is loaded.
-TEXT _rt0_amd64_linux_lib(SB),NOSPLIT,$0x40
+TEXT _rt0_amd64_linux_lib(SB),NOSPLIT,$0x48
MOVQ BX, 0x10(SP)
MOVQ BP, 0x18(SP)
MOVQ R12, 0x20(SP)