go/internal/gccgoimporter: recognize aixbigafMagic archives

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/255201
This commit is contained in:
Clément Chigot 2020-09-16 13:58:17 +02:00 committed by Ian Lance Taylor
parent defceb206b
commit be3027e9c8
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
f2706d92d9560657333682a3de548f1f98e9f9b0
6f309797e4f7eed635950687e902a294126e6fc6
The first line of this file holds the git revision number of the last
merge done from the gofrontend repository.

View File

@ -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