diff options
author | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-03-31 09:19:20 +0000 |
---|---|---|
committer | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-03-31 09:19:20 +0000 |
commit | dc2059b58042bd5a546c0749c0747f7a9f11bbda (patch) | |
tree | 1297185d6c10c8e9f9bb9a7ac745bf4d8d19eb84 /gcc/config/sol2-protos.h | |
parent | 55738a744004aaa0cd0e19e8dd572ba1fdef4f46 (diff) | |
download | gcc-dc2059b58042bd5a546c0749c0747f7a9f11bbda.tar.gz |
gcc:
* config/sol2.c: Include output.h.
(solaris_assemble_visibility): New function.
* config/t-sol2 (sol2.o): Add output.h dependency.
* config/sol2-protos.h (solaris_assemble_visibility): Declare.
* config/sol2.h [!USE_GAS] (TARGET_ASM_ASSEMBLE_VISIBILITY):
Redefine.
gcc/testsuite:
* g++.dg/ext/visibility/pragma-override1.C: Allow for .hidden in
assembler output on *-*-solaris2*.
* g++.dg/ext/visibility/pragma-override2.C: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157856 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/sol2-protos.h')
-rw-r--r-- | gcc/config/sol2-protos.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/sol2-protos.h b/gcc/config/sol2-protos.h index 45d5bcc1ae6..800629aaba1 100644 --- a/gcc/config/sol2-protos.h +++ b/gcc/config/sol2-protos.h @@ -1,6 +1,6 @@ /* Operating system specific prototypes to be used when targeting GCC for any Solaris 2 system. - Copyright 2004, 2007 Free Software Foundation, Inc. + Copyright 2004, 2007, 2010 Free Software Foundation, Inc. This file is part of GCC. @@ -21,3 +21,4 @@ along with GCC; see the file COPYING3. If not see extern void solaris_insert_attributes (tree, tree *); extern void solaris_register_pragmas (void); extern void solaris_output_init_fini (FILE *, tree); +extern void solaris_assemble_visibility (tree, int); |