]> Cypherpunks repositories - gostls13.git/commit
cmd/link: remove -H elf flag
authorMatthew Dempsky <mdempsky@google.com>
Thu, 31 Mar 2016 05:56:00 +0000 (22:56 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Thu, 31 Mar 2016 06:33:01 +0000 (06:33 +0000)
commit71ab3c1ccfebbc065c10531e4846f02d44f4be0d
treebaec0c08bd2529159ba5caee57f1b9240664bad2
parent758447cdc94e4ae0b5d26a784a930403a633cd03
cmd/link: remove -H elf flag

We create appropriate ELF files automatically based on GOOS. There's
no point in supporting -H elf flag, particularly since we need to emit
different flavors of ELF depending on GOOS anyway.

If that weren't reason enough, -H elf appears to be broken since at
least Go 1.4. At least I wasn't able to find a way to make use of it.

As best I can tell digging through commit history, -H elf is just an
artifact leftover from Plan 9's 6l linker.

Change-Id: I7393caaadbc60107bbd6bc99b976a4f4fe6b5451
Reviewed-on: https://go-review.googlesource.com/21343
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/internal/obj/link.go
src/cmd/internal/obj/sym.go
src/cmd/link/internal/amd64/asm.go
src/cmd/link/internal/amd64/obj.go
src/cmd/link/internal/ld/sym.go