bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/18668] relocation truncated to fit: R_AARCH64_CALL26 (veneers no


From: jiwang at gcc dot gnu.org
Subject: [Bug ld/18668] relocation truncated to fit: R_AARCH64_CALL26 (veneers not inserted)
Date: Tue, 14 Jul 2015 16:27:42 +0000

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]