aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
authorMichael Hudson-Doyle <michael.hudson@canonical.com>2015-10-30 11:48:43 +1300
committerMichael Hudson-Doyle <michael.hudson@canonical.com>2015-11-01 19:52:33 +0000
commit35d71d6727a6605aa7ee33ef1a5d986a140287d2 (patch)
tree7ef69a9da84ce288b72dc638810a68230af8037b /src/runtime
parentb50b21d3e130cf19de99c2736d038b636dde75c3 (diff)
downloadgo-35d71d6727a6605aa7ee33ef1a5d986a140287d2.tar.xz
cmd/go, runtime: define GOBUILDMODE_shared rather than shared when dynamically linking
To avoid collisions with what existing code may already be doing. Change-Id: Ice639440aafc0724714c25333d90a49954372230 Reviewed-on: https://go-review.googlesource.com/16503 Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime')
-rw-r--r--src/runtime/sys_linux_386.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/sys_linux_386.s b/src/runtime/sys_linux_386.s
index f2beb18455..9e0e87cafc 100644
--- a/src/runtime/sys_linux_386.s
+++ b/src/runtime/sys_linux_386.s
@@ -10,7 +10,7 @@
#include "go_tls.h"
#include "textflag.h"
-#ifdef shared
+#ifdef GOBUILDMODE_shared
#define INVOKE_SYSINFO CALL 0x10(GS)
#else
#define INVOKE_SYSINFO CALL *runtimeĀ·_vdso(SB)