func getCCAndCCFLAGS(t *testing.T, env []string) (string, []string) { … } var asmSource … var goSource … // The linker used to crash if an ELF input file had multiple text sections // with the same name. func TestSectionsWithSameName(t *testing.T) { … } var cSources35779 … // TestMinusRSymsWithSameName tests a corner case in the new // loader. Prior to the fix this failed with the error 'loadelf: // $WORK/b001/_pkg_.a(ldr.syso): duplicate symbol reference: blah in // both main(.text) and main(.text)'. See issue #35779. func TestMinusRSymsWithSameName(t *testing.T) { … } func TestGNUBuildID(t *testing.T) { … } func TestMergeNoteSections(t *testing.T) { … } const pieSourceTemplate … func TestPIESize(t *testing.T) { … } func TestIssue51939(t *testing.T) { … } func TestFlagR(t *testing.T) { … }