OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* config/bfin/bfin.c (bfin_longcall_p): Don't use short calls for weak
[pf3gnuchains/gcc-fork.git]
/
gcc
/
config
/
bfin
/
bfin.c
diff --git
a/gcc/config/bfin/bfin.c
b/gcc/config/bfin/bfin.c
index
ed51006
..
0a7b149
100644
(file)
--- a/
gcc/config/bfin/bfin.c
+++ b/
gcc/config/bfin/bfin.c
@@
-2219,6
+2219,8
@@
bool
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)