Lines Matching refs:PIE
464 // Test internal linking of PIE binaries where it is supported.
468 heading: "internal linking of -buildmode=pie",
470 t.addCmd(dt, "src", "go", "test", "reflect", "-short", "-buildmode=pie", "-ldflags=-linkmode=internal", t.timeout(60), t.tags(), t.runFlag(""))
894 if pair != "freebsd-amd64" { // clang -pie fails to link misc/cgo/test
896 cc, "-xc", "-o", "/dev/null", "-pie", "-")
900 fmt.Println("No support for -pie found, skip cgo PIE test.")
902 cmd = t.addCmd(dt, "misc/cgo/test", "go", "test", "-ldflags", `-linkmode=external -extldflags "-pie"`)
905 cmd = t.addCmd(dt, "misc/cgo/testtls", "go", "test", "-ldflags", `-linkmode=external -extldflags "-pie"`)
908 cmd = t.addCmd(dt, "misc/cgo/nocgo", "go", "test", "-ldflags", `-linkmode=external -extldflags "-pie"`)