mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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>
This commit is contained in:
parent
5cc8089948
commit
49dafc70c8
3 changed files with 161 additions and 10 deletions
|
|
@ -61,6 +61,7 @@ var openers = []func(io.ReaderAt) (rawFile, error){
|
|||
openMacho,
|
||||
openPE,
|
||||
openPlan9,
|
||||
openXcoff,
|
||||
}
|
||||
|
||||
// Open opens the named file.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue