]> Cypherpunks repositories - gostls13.git/commit
cmd/link: add new loading package for XCOFF files
authorClément Chigot <clement.chigot@atos.net>
Fri, 28 Sep 2018 14:19:18 +0000 (16:19 +0200)
committerIan Lance Taylor <iant@golang.org>
Tue, 23 Oct 2018 14:05:04 +0000 (14:05 +0000)
commitb171b281386670713acf3d5a696b1f520b60798e
tree79cde6dd12f502622fde954165b10fcb4b733716
parentdaaf361f74c3665bcb364356c5a9dd9f536c78c3
cmd/link: add new loading package for XCOFF files

This commit adds the new package cmd/link/internal/loadxcoff.

It also adds a new symbol kind in cmd/link/internal/sym package, which
aims to represent TOC entries for XCOFF files.

cmd/dist is updated to add this new package and cmd/internal/xcoff during
the bootstrap.

Updates: #25893

Change-Id: I42b6578cf0ba4cc28ad4aa98122a91ab1d1bbf6e
Reviewed-on: https://go-review.googlesource.com/c/138728
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/dist/buildtool.go
src/cmd/link/internal/loadxcoff/ldxcoff.go [new file with mode: 0644]
src/cmd/link/internal/sym/symkind.go
src/cmd/link/internal/sym/symkind_string.go