basebuilder_pel7ppc64bebuilder0
6 years ago
2 changed files with 35 additions and 3 deletions
@ -0,0 +1,30 @@
@@ -0,0 +1,30 @@
|
||||
--- src/cmd/link/internal/ld/config.go 2019-03-14 20:43:37.000000000 +0100 |
||||
+++ src/cmd/link/internal/ld/config.go 2019-03-20 23:50:07.660000000 +0100 |
||||
@@ -247,9 +247,6 @@ |
||||
} |
||||
ctxt.LinkMode = LinkInternal |
||||
case "1": |
||||
- if objabi.GOARCH == "ppc64" { |
||||
- Exitf("external linking requested via GO_EXTLINK_ENABLED but not supported for %s/ppc64", objabi.GOOS) |
||||
- } |
||||
ctxt.LinkMode = LinkExternal |
||||
default: |
||||
if needed, _ := mustLinkExternal(ctxt); needed { |
||||
@@ -261,17 +258,10 @@ |
||||
} else { |
||||
ctxt.LinkMode = LinkInternal |
||||
} |
||||
- if objabi.GOARCH == "ppc64" && ctxt.LinkMode == LinkExternal { |
||||
- Exitf("external linking is not supported for %s/ppc64", objabi.GOOS) |
||||
- } |
||||
} |
||||
case LinkInternal: |
||||
if needed, reason := mustLinkExternal(ctxt); needed { |
||||
Exitf("internal linking requested but external linking required: %s", reason) |
||||
} |
||||
- case LinkExternal: |
||||
- if objabi.GOARCH == "ppc64" { |
||||
- Exitf("external linking not supported for %s/ppc64", objabi.GOOS) |
||||
- } |
||||
} |
||||
} |
Loading…
Reference in new issue