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 | ee6a4ba096d22a0f44f636278e47eb62a6fb8821 (patch) | |
tree | 5575a44abcd7e496e1eb2625b383714a318bcafa /src/cmd/ld/lib.c | |
parent | aa440488c960620581115b2a708fb41105e596c2 (diff) | |
download | go-ee6a4ba096d22a0f44f636278e47eb62a6fb8821.tar.gz |
[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://codereview.appspot.com/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 bdba21747..b4134da36 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); |