diff options
| author | Shenghou Ma <minux@golang.org> | 2014-08-12 21:22:27 -0400 |
|---|---|---|
| committer | Shenghou Ma <minux@golang.org> | 2014-08-12 21:22:27 -0400 |
| commit | 3e4dfdad34053d05be47bfe06c4243350bedd48f (patch) | |
| tree | 989553e2a43b575694b01b3d0e1dcd013b090156 /src/cmd/ld/lib.c | |
| parent | 860f941e7fdcb22c6b4956f187cb47fd06833c12 (diff) | |
| download | go-3e4dfdad34053d05be47bfe06c4243350bedd48f.tar.xz | |
[dev.power64] cmd/9g, cmd/gc, cmd/ld: fix build.
1. disable nonsplit stack overflow check
2. disable OLROT recognition
3. emit correct instructions for adding offsets to an address
LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/123310043
Diffstat (limited to 'src/cmd/ld/lib.c')
| -rw-r--r-- | src/cmd/ld/lib.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cmd/ld/lib.c b/src/cmd/ld/lib.c index bdba217478..b4134da368 100644 --- a/src/cmd/ld/lib.c +++ b/src/cmd/ld/lib.c @@ -1045,6 +1045,9 @@ dostkcheck(void) { Chain ch; LSym *s; + + if(thechar == '9') + return; morestack = linklookup(ctxt, "runtime.morestack", 0); newstack = linklookup(ctxt, "runtime.newstack", 0); |
