aboutsummaryrefslogtreecommitdiff
path: root/contrib/gcc/config/rs6000/rs6000.c
diff options
context:
space:
mode:
authorAlexander Kabaev <kan@FreeBSD.org>2007-08-14 02:45:23 +0000
committerAlexander Kabaev <kan@FreeBSD.org>2007-08-14 02:45:23 +0000
commit23baddbde1e3e9e59547d9f4e0429ef69906b216 (patch)
tree7b2fa7d3de8706d9ca72fdb284ce2a57f67d460a /contrib/gcc/config/rs6000/rs6000.c
parent888346df5fa8bb2a862c2298910fe7ae332efbcb (diff)
GCC 4.2.1 release.
Notes
Notes: svn path=/vendor/gcc/dist/; revision=171825
Diffstat (limited to 'contrib/gcc/config/rs6000/rs6000.c')
-rw-r--r--contrib/gcc/config/rs6000/rs6000.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/gcc/config/rs6000/rs6000.c b/contrib/gcc/config/rs6000/rs6000.c
index 5e9d0fef02e7..6670a2034f20 100644
--- a/contrib/gcc/config/rs6000/rs6000.c
+++ b/contrib/gcc/config/rs6000/rs6000.c
@@ -13515,7 +13515,8 @@ rs6000_function_ok_for_sibcall (tree decl, tree exp ATTRIBUTE_UNUSED)
}
}
if (DEFAULT_ABI == ABI_DARWIN
- || (*targetm.binds_local_p) (decl))
+ || ((*targetm.binds_local_p) (decl)
+ && (DEFAULT_ABI != ABI_AIX || !DECL_EXTERNAL (decl))))
{
tree attr_list = TYPE_ATTRIBUTES (TREE_TYPE (decl));