diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2018-02-13 21:15:41 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2018-02-13 21:15:41 +0000 |
commit | a2f5a78214edc4716e6f97b97fb7839a211e8ff7 (patch) | |
tree | f5e4bbb1924e4046c38bbf624a3a029efd08be5f /gcc/combine.c | |
parent | 4155fafc7f43234fc0c819a6f9c6ebaffc59e8cc (diff) | |
download | gcc-a2f5a78214edc4716e6f97b97fb7839a211e8ff7.zip gcc-a2f5a78214edc4716e6f97b97fb7839a211e8ff7.tar.gz gcc-a2f5a78214edc4716e6f97b97fb7839a211e8ff7.tar.bz2 |
compiler: don't export function descriptors for unexported names
They aren't needed, and could potentially cause unlikely symbol name
collisions. Also, the runtime package's reference to main could cause
the runtime package to define main.main..f, which could also be
defined in the main package if it does something like fmt.Print(main).
That will normally work but will fail with a multiple symbol
definition error when using -static-libgo.
Reviewed-on: https://go-review.googlesource.com/93656
From-SVN: r257637
Diffstat (limited to 'gcc/combine.c')
0 files changed, 0 insertions, 0 deletions