]> Cypherpunks repositories - gostls13.git/commit
cmd/9l: support internal linking
authorAustin Clements <austin@google.com>
Tue, 16 Dec 2014 19:59:59 +0000 (14:59 -0500)
committerAustin Clements <austin@google.com>
Wed, 7 Jan 2015 20:35:54 +0000 (20:35 +0000)
commitdb923390a01d4c992116161bed1328bd5bb32a24
tree54daaefb538fec7d954849b2ab2c3659b2ad785b
parentac5a1ac318efb7890b25cf614a0cd5b3e52c74e3
cmd/9l: support internal linking

This implements the ELF relocations and dynamic linking tables
necessary to support internal linking on ppc64.  It also marks ppc64le
ELF files as ABI v2; failing to do this doesn't seem to confuse the
loader, but it does confuse libbfd (and hence gdb, objdump, etc).

Change-Id: I559dddf89b39052e1b6288a4dd5e72693b5355e4
Reviewed-on: https://go-review.googlesource.com/2006
Reviewed-by: Russ Cox <rsc@golang.org>
include/link.h
src/cmd/9l/asm.c
src/cmd/9l/obj.c
src/cmd/ld/data.c
src/cmd/ld/elf.c
src/cmd/ld/elf.h
src/cmd/ld/ldelf.c