aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/arm/arm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c
index fec43fb..0bded8d 100644
--- a/gcc/config/arm/arm.c
+++ b/gcc/config/arm/arm.c
@@ -5255,7 +5255,7 @@ arm_function_ok_for_sibcall (tree decl, tree exp)
sibling calls. */
if (TARGET_AAPCS_BASED
&& arm_abi == ARM_ABI_AAPCS
- && lookup_attribute ("weak", DECL_ATTRIBUTES (decl)))
+ && DECL_WEAK (decl))
return false;
/* Everything else is ok. */