symbols.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151685
138bc75d-0d04-0410-961f-
82ee72b054a4
+2009-09-14 Bernd Schmidt <bernd.schmidt@analog.com>
+
+ * config/bfin/bfin.c (bfin_longcall_p): Don't use short calls for weak
+ symbols.
+
2009-09-14 Richard Guenther <rguenther@suse.de>
PR middle-end/41350
bfin_longcall_p (rtx op, int call_cookie)
{
gcc_assert (GET_CODE (op) == SYMBOL_REF);
+ if (SYMBOL_REF_WEAK (op))
+ return 1;
if (call_cookie & CALL_SHORT)
return 0;
if (call_cookie & CALL_LONG)