]> Cypherpunks repositories - gostls13.git/commit
cmd/link: pass -Wl,-z,relro to host linker in -buildmode=PIE
authorMichael Hudson-Doyle <michael.hudson@canonical.com>
Mon, 2 May 2016 01:58:48 +0000 (13:58 +1200)
committerMichael Hudson-Doyle <michael.hudson@canonical.com>
Mon, 2 May 2016 04:38:52 +0000 (04:38 +0000)
commit45f39fb46747d0c46bc25e6ef605c00e96e2dc07
tree081fc5bd316de071a4a51ab4f1a70f0bec2cda68
parent5325fbc7dbab155a88efab0bcd128236e97b3349
cmd/link: pass -Wl,-z,relro to host linker in -buildmode=PIE

Fixes #15485

Change-Id: I8e9314be91db89873130b232b589a284822e6643
Reviewed-on: https://go-review.googlesource.com/22687
Run-TryBot: Michael Hudson-Doyle <michael.hudson@canonical.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/link/internal/ld/lib.go