• Matthew Dempsky's avatar
    cmd/link: remove -H elf flag · 71ab3c1c
    Matthew Dempsky authored
    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: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    71ab3c1c
sym.go 5.39 KB