aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorClément Chigot <chigot.c@gmail.com>2020-09-16 13:55:38 +0200
committerIan Lance Taylor <iant@golang.org>2020-09-19 05:13:19 +0000
commitccf581f126e03590993454b62d2676b759120adf (patch)
treec9e6e658d3d97bf4feb85026a1e8da0b2a57d8d7 /src
parent09dd2b004aadb95887c4d6047ecb1a675a569ad2 (diff)
downloadgo-ccf581f126e03590993454b62d2676b759120adf.tar.xz
go/internal/gccgoimporter: recognize aixbigafMagic archives
Change-Id: I61a13f7d6410e4931efaa20307bdf1cc0037afc0 Reviewed-on: https://go-review.googlesource.com/c/go/+/255200 Run-TryBot: Ian Lance Taylor <iant@golang.org> Run-TryBot: Robert Griesemer <gri@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org> Trust: Robert Griesemer <gri@golang.org> Trust: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src')
-rw-r--r--src/go/internal/gccgoimporter/importer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/go/internal/gccgoimporter/importer.go b/src/go/internal/gccgoimporter/importer.go
index 6856611026..2494fd7b2a 100644
--- a/src/go/internal/gccgoimporter/importer.go
+++ b/src/go/internal/gccgoimporter/importer.go
@@ -198,7 +198,7 @@ func GetImporter(searchpaths []string, initmap map[*types.Package]InitData) Impo
return
}
- if magics == archiveMagic {
+ if magics == archiveMagic || magics == aixbigafMagic {
reader, err = arExportData(reader)
if err != nil {
return