aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/debug
diff options
context:
space:
mode:
authorAustin Clements <austin@google.com>2014-10-27 17:27:03 -0400
committerAustin Clements <austin@google.com>2014-10-27 17:27:03 -0400
commit062e354c8412e338a3a7c7c2c81d72226e431bd5 (patch)
treea47732526e200a05b973ac8b54c31641a268bdac /src/runtime/debug
parent6be0c8a566f6747fd18e9f5f49df37a6cd289407 (diff)
downloadgo-062e354c8412e338a3a7c7c2c81d72226e431bd5.tar.xz
[dev.power64] runtime: power64 fixes and ports of changes
Fix include paths that got moved in the great pkg/ rename. Add missing runtime/arch_* files for power64. Port changes that happened on default since branching to runtime/{asm,atomic,sys_linux}_power64x.s (precise stacks, calling convention change, various new and deleted functions. Port struct renaming and fix some bugs in runtime/defs_linux_power64.h. LGTM=rsc R=rsc, dave CC=golang-codereviews https://golang.org/cl/161450043
Diffstat (limited to 'src/runtime/debug')
-rw-r--r--src/runtime/debug/stubs.s6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/runtime/debug/stubs.s b/src/runtime/debug/stubs.s
index d56274f2dc..1e883b72c0 100644
--- a/src/runtime/debug/stubs.s
+++ b/src/runtime/debug/stubs.s
@@ -7,6 +7,12 @@
#ifdef GOARCH_arm
#define JMP B
#endif
+#ifdef GOARCH_power64
+#define JMP BR
+#endif
+#ifdef GOARCH_power64le
+#define JMP BR
+#endif
TEXT ·setMaxStack(SB),NOSPLIT,$0-0
JMP runtime·setMaxStack(SB)