https://sourceware.org/bugzilla/show_bug.cgi?id=18668

--- Comment #2 from Jiong Wang <jiwang at gcc dot gnu.org> ---
> 
> Looking at AArch64 backend in aarch64_type_of_stub there is a check:
> 
> 2287   if ((r_type == AARCH64_R (CALL26) || r_type == AARCH64_R (JUMP26))
> 2288       && (branch_offset > AARCH64_MAX_FWD_BRANCH_OFFSET
> 2289           || branch_offset < AARCH64_MAX_BWD_BRANCH_OFFSET))
> 2290     {
> 2291       stub_type = aarch64_stub_long_branch;
> 2292     }
> 
> I guess, the mechanism for adding stub/veneer exist, but it's somehow it's
> not applied here.

It's not applied because the "st_type == STT_FUNC" at the head of the function.

Can I reproduce this issue by building OpenLoops svn head?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to