diff options
| author | Bryan C. Mills <bcmills@google.com> | 2023-03-10 15:37:17 -0500 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2023-03-15 13:31:05 +0000 |
| commit | bbf795ebb114918a8e8dc7fd4d825cd5928d3f4d (patch) | |
| tree | 814cd8f52220d444b6bf621b8b2c798ec643858d /src/syscall | |
| parent | a8cd10f2ab66d15ec43c6c6f688c3362f638237f (diff) | |
| download | go-bbf795ebb114918a8e8dc7fd4d825cd5928d3f4d.tar.xz | |
internal/platform: add a function to report whether default builds are PIE
This consolidates a condition that was previously repeated (in
different approximations) in several different places in the code.
For #58807.
Change-Id: Idd308759f6262b1f5c61f79022965612319edf94
Reviewed-on: https://go-review.googlesource.com/c/go/+/475457
Run-TryBot: Bryan Mills <bcmills@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Diffstat (limited to 'src/syscall')
0 files changed, 0 insertions, 0 deletions
