aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/internal/objfile/objfile.go
diff options
context:
space:
mode:
authorClément Chigot <clement.chigot@atos.net>2018-10-22 17:00:37 +0200
committerIan Lance Taylor <iant@golang.org>2018-10-31 13:47:42 +0000
commit49dafc70c8558271fc2205061d07eed490f2bc18 (patch)
tree25415a8f720ef6b3d698bbb6dba121baca3405a2 /src/cmd/internal/objfile/objfile.go
parent5cc80899486027db5f0de00870f1e022e1cfb9c5 (diff)
downloadgo-49dafc70c8558271fc2205061d07eed490f2bc18.tar.xz
cmd: add XCOFF objfile and adapt cmd/nm tests
This commit adds a new file format in cmd/internal/objfile for XCOFF. It also adapts tests inside cmd/nm for AIX. Updates: #25893 Change-Id: I1e55ea0b7f7d08a871343bee27d11e2d3baad254 Reviewed-on: https://go-review.googlesource.com/c/145397 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/cmd/internal/objfile/objfile.go')
-rw-r--r--src/cmd/internal/objfile/objfile.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/internal/objfile/objfile.go b/src/cmd/internal/objfile/objfile.go
index 10307be072..41c5d9b9f5 100644
--- a/src/cmd/internal/objfile/objfile.go
+++ b/src/cmd/internal/objfile/objfile.go
@@ -61,6 +61,7 @@ var openers = []func(io.ReaderAt) (rawFile, error){
openMacho,
openPE,
openPlan9,
+ openXcoff,
}
// Open opens the named file.