re PR target/52717 (thunk referenced in discarded section when building samba with...
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 9 Apr 2012 08:53:27 +0000 (08:53 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 9 Apr 2012 08:53:27 +0000 (08:53 +0000)
commit5ff5b41ca3bbb8cc659d6ccb7b4dcebfa7678a6e
tree5bf5e2eef7a0fb52e7de45649c4ca94eaa873e22
parent7df2d73c7ee27406b56e7223f871a845d529ba22
re PR target/52717 (thunk referenced in discarded section when building samba with -flto)

PR target/52717
* config/sparc/sparc.c (sparc_file_end): Set TREE_PUBLIC explicitly on
the DECL generated for the special GOT helper.

From-SVN: r186237
gcc/ChangeLog
gcc/config/sparc/sparc.c