configure.ac (gcc_cv_as_hidden): Enable on *-*-darwin*.
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Thu, 9 Jun 2011 07:08:00 +0000 (07:08 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Thu, 9 Jun 2011 07:08:00 +0000 (07:08 +0000)
commitee610fcd4d08b101e426b13827d70b8a387e0498
treefacd661921ca763f2c6699b2804e74acd1049588
parent8f2e22ff77819ca19eff4da9e2430943f95d5947
configure.ac (gcc_cv_as_hidden): Enable on *-*-darwin*.

* configure.ac (gcc_cv_as_hidden): Enable on *-*-darwin*.
(gcc_cv_ld_hidden): Likewise.
* configure: Regenerate.
* config/i386/i386.c (USE_HIDDEN_LINKONCE): Remove TARGET_MACHO.
(ix86_stack_protect_fail): Mark unused.
(TARGET_STACK_PROTECT_FAIL) [TARGET_MACHO]: Don't redefine.
* config/rs6000/rs6000.c (rs6000_assemble_visibility)
[TARGET_MACHO]: Don't define.
(TARGET_ASM_ASSEMBLE_VISIBILITY): Likewise.
(TARGET_STACK_PROTECT_FAIL): Likewise.
(rs6000_stack_protect_fail): Mark unused.
* dwarf2asm.c (dw2_output_indirect_constant_1): Mark decl hidden if
USE_LINKONCE_INDIRECT.
Don't emit .hidden expicitly.

From-SVN: r174837
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/config/rs6000/rs6000.c
gcc/configure
gcc/configure.ac
gcc/dwarf2asm.c