- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for gccNoPie (0.21 sec)
-
src/cmd/go/internal/work/gccgo.go
// link, and libgo picks up non-split-stack code from // libffi. ldflags = append(ldflags, "-Wl,-r", "-nostdlib") ldflags = append(ldflags, goLibBegin...) if nopie := b.gccNoPie([]string{tools.linker()}); nopie != "" { ldflags = append(ldflags, nopie) } // We are creating an object file, so we don't want a build ID. if root.buildID == "" { ldflags = b.disableBuildID(ldflags)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 02 22:18:34 UTC 2024 - 19K bytes - Viewed (0) -
src/cmd/go/internal/work/exec.go
a = append(a, "-fno-common") } return a } // gccNoPie returns the flag to use to request non-PIE. On systems // with PIE (position independent executables) enabled by default, // -no-pie must be passed when doing a partial link with -Wl,-r. // But -no-pie is not supported by all compilers, and clang spells it -nopie. func (b *Builder) gccNoPie(linker []string) string { if b.gccSupportsFlag(linker, "-no-pie") {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 14:46:37 UTC 2024 - 105.6K bytes - Viewed (0)