]> Cypherpunks repositories - gostls13.git/commit
6l, 8l: support for linking ELF and Mach-O .o files
authorRuss Cox <rsc@golang.org>
Wed, 8 Dec 2010 18:56:43 +0000 (13:56 -0500)
committerRuss Cox <rsc@golang.org>
Wed, 8 Dec 2010 18:56:43 +0000 (13:56 -0500)
commitf5690004c2f5a5e478b66c2390d7ddba96cd7291
tree32d33548e9b7a1a35248a315af8cec95c7e9fa22
parent9042c2ce6840a7679739e6ec6ff59b57db30c459
6l, 8l: support for linking ELF and Mach-O .o files

More support for references to dynamic symbols,
including full GOT and PLT for ELF objects.

For Mach-O everything ends up in the GOT: dealing
with the real lazy PLT is too hard for now so we punt.

R=iant, iant2
CC=golang-dev
https://golang.org/cl/3491042
14 files changed:
src/cmd/6l/Makefile
src/cmd/6l/asm.c
src/cmd/6l/l.h
src/cmd/8l/8.out.h
src/cmd/8l/Makefile
src/cmd/8l/asm.c
src/cmd/8l/l.h
src/cmd/ld/data.c
src/cmd/ld/elf.c
src/cmd/ld/go.c
src/cmd/ld/lib.c
src/cmd/ld/lib.h
src/cmd/ld/macho.c
src/cmd/ld/macho.h