]> Cypherpunks.ru repositories - gostls13.git/blobdiff - misc/cgo/testshared/shared_test.go
all: use ":" for compiler generated symbols
[gostls13.git] / misc / cgo / testshared / shared_test.go
index 756c4baa6b3a7ffdab14e36f5399b972c9fe477a..634d7556a8f9d8073adcf6fd23f1677616b401bd 100644 (file)
@@ -589,12 +589,12 @@ func testABIHashNote(t *testing.T, f *elf.File, note *note) {
                return
        }
        for _, sym := range symbols {
-               if sym.Name == "go.link.abihashbytes" {
+               if sym.Name == "go:link.abihashbytes" {
                        hashbytes = sym
                }
        }
        if hashbytes.Name == "" {
-               t.Errorf("no symbol called go.link.abihashbytes")
+               t.Errorf("no symbol called go:link.abihashbytes")
                return
        }
        if elf.ST_BIND(hashbytes.Info) != elf.STB_LOCAL {