]> Cypherpunks repositories - gostls13.git/commit
cmd/gc, cmd/ld: use go.weak instead of weak as the weak symbol prefix
authorRuss Cox <rsc@golang.org>
Tue, 23 Oct 2012 15:16:08 +0000 (11:16 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 23 Oct 2012 15:16:08 +0000 (11:16 -0400)
commit80dbe74360e8576337208ec68baca7a63946a72a
treefd4eb107e169b672f3c55a58659194e8d3a5cdc7
parent7c44edf4250d8e1ad0ed37bf4ae27ec7f6c07ab6
cmd/gc, cmd/ld: use go.weak instead of weak as the weak symbol prefix

Also defend our symbol prefixes (now just "go" and "type")
from use as import paths.

Fixes #4257.

R=ken2
CC=golang-dev
https://golang.org/cl/6744072
src/cmd/gc/export.c
src/cmd/gc/go.y
src/cmd/gc/lex.c
src/cmd/gc/subr.c
src/cmd/gc/y.tab.c
src/cmd/gc/y.tab.h
src/cmd/ld/go.c