File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -1171,10 +1171,12 @@ arc64_legitimize_address_1 (rtx x, rtx scratch)
11711171 base = gen_sym_unspec (x , ARC64_UNSPEC_GOTOFF );
11721172 return base ;
11731173 }
1174- else if (flag_pic == 1 )
1174+ else if (flag_pic )
11751175 {
11761176 /* Global symbol, we access it via a load from the GOT
11771177 (small model). */
1178+ /* FIXME! to enable LARGE/small pic models make the above
1179+ condition flag_pic == 1. */
11781180 base = gen_sym_unspec (x , ARC64_UNSPEC_GOT32 );
11791181 return gen_const_mem (Pmode , base );
11801182 }
@@ -1427,6 +1429,9 @@ arc64_is_long_call_p (rtx sym)
14271429 && !targetm .binds_local_p (decl ))
14281430 return true;
14291431
1432+ /* FIXME! it will return FLASE for libgcc calls routines. We can
1433+ force checking SYM using SYMBOL_REF_LOCAL_P (x) if there is no
1434+ decl. */
14301435 return false;
14311436}
14321437
You can’t perform that action at this time.
0 commit comments