aboutsummaryrefslogtreecommitdiff
path: root/libgo/go
diff options
context:
space:
mode:
authorClément Chigot <clement.chigot@atos.net>2020-09-16 13:58:17 +0200
committerIan Lance Taylor <iant@golang.org>2020-09-21 15:42:00 -0700
commitbe3027e9c8366d92f68e6b3021c1cbe815648480 (patch)
tree7bc320fd13986a8d52ec594122898eda91b98fc6 /libgo/go
parentdefceb206be0f803b8d94e746180e51adad20b87 (diff)
downloadgcc-be3027e9c8366d92f68e6b3021c1cbe815648480.zip
gcc-be3027e9c8366d92f68e6b3021c1cbe815648480.tar.gz
gcc-be3027e9c8366d92f68e6b3021c1cbe815648480.tar.bz2
go/internal/gccgoimporter: recognize aixbigafMagic archives
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/255201
Diffstat (limited to 'libgo/go')
-rw-r--r--libgo/go/go/internal/gccgoimporter/importer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/go/internal/gccgoimporter/importer.go b/libgo/go/go/internal/gccgoimporter/importer.go
index ff484a7..391477d 100644
--- a/libgo/go/go/internal/gccgoimporter/importer.go
+++ b/libgo/go/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