]> Cypherpunks repositories - gostls13.git/commit
cmd/link: define a variable for the target platform's elf relocation type
authorMichael Hudson-Doyle <michael.hudson@canonical.com>
Sun, 3 Apr 2016 07:32:31 +0000 (19:32 +1200)
committerMichael Hudson-Doyle <michael.hudson@canonical.com>
Sun, 3 Apr 2016 23:20:04 +0000 (23:20 +0000)
commit1934a77f5a1680397481d5bc6ed85b017d1e8b38
treec60b402e558b3b7d3ecec7956f72d07ad4b3dc3c
parentaf74dca49732d5953331d14dc06ec635838c357c
cmd/link: define a variable for the target platform's elf relocation type

Rather than having half a dozen switch statements. Also remove some c2go dregs.

Change-Id: I19af5b64f73369126020e15421c34cad5bbcfbf8
Reviewed-on: https://go-review.googlesource.com/21442
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/link/internal/ld/elf.go