diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-10-04 15:38:43 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-10-04 15:38:43 +0000 |
commit | a115dd2cd61b9394f674b8bd6cb91570607cfc17 (patch) | |
tree | 1298c17673de6e773093d7f4c0512bcb6ca503ee /gcc/config/darwin.c | |
parent | a1f1781ae8b54c384b7d193c2fd3ac8efc86932a (diff) | |
download | gcc-a115dd2cd61b9394f674b8bd6cb91570607cfc17.tar.gz |
* config/darwin.c (darwin_assemble_visibility): Treat
VISIBILITY_INTERNAL as hidden.
* config/darwin-c.c (find_subframework_file): Add missing const.
(framework_construct_pathname): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192085 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/darwin.c')
-rw-r--r-- | gcc/config/darwin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/darwin.c b/gcc/config/darwin.c index 54c92d16b75..5a9f50a9fdb 100644 --- a/gcc/config/darwin.c +++ b/gcc/config/darwin.c @@ -2623,7 +2623,7 @@ darwin_assemble_visibility (tree decl, int vis) { if (vis == VISIBILITY_DEFAULT) ; - else if (vis == VISIBILITY_HIDDEN) + else if (vis == VISIBILITY_HIDDEN || vis == VISIBILITY_INTERNAL) { fputs ("\t.private_extern ", asm_out_file); assemble_name (asm_out_file, @@ -2631,7 +2631,7 @@ darwin_assemble_visibility (tree decl, int vis) fputs ("\n", asm_out_file); } else - warning (OPT_Wattributes, "internal and protected visibility attributes " + warning (OPT_Wattributes, "protected visibility attribute " "not supported in this configuration; ignored"); } |