]> Cypherpunks repositories - gostls13.git/commit
cmd/link: improve XCOFF symbol table
authorClément Chigot <clement.chigot@atos.net>
Wed, 20 Feb 2019 14:48:22 +0000 (15:48 +0100)
committerIan Lance Taylor <iant@golang.org>
Wed, 27 Feb 2019 22:49:58 +0000 (22:49 +0000)
commit2deda8792a1f0139eba0bee527f3141659491444
tree45bf3a0c3d63540e1475474d68214caa9f1f4d50
parente32203f647370897c6a28018c16cfd9584849569
cmd/link: improve XCOFF symbol table

This commit improves symbol table for XCOFF format.
It adds symbol alignment, TLS symbols and move the whole symbol table at
the end of the FILE. As relocations in the future external linking will
need symbols' index, we cannot write the symbol table when it's
generated.

Change-Id: I5dcae85b95e538b65f1a128faf56d4e2aa15baf1
Reviewed-on: https://go-review.googlesource.com/c/163998
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/link/internal/ld/data.go
src/cmd/link/internal/ld/xcoff.go