[llvm-dev] BLX relocation regression on Thumb2 bot

Tim Northover via llvm-dev llvm-dev at lists.llvm.org
Wed May 18 07:12:49 PDT 2016

On 18 May 2016 at 04:12, Renato Golin via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> relocation truncated to fit: R_ARM_THM_JUMP24 against symbol `operator
> delete(void*)@@GLIBCXX_3.4' defined in .text section in
> /usr/lib/gcc/arm-linux-gnueabihf/4.8/libstdc++.so

I don't suppose you could grab a -save-temps output for MallocChecker.cpp?

> If I read the AAELF ABI document correctly, that relocation is used
> when the linker is building a veneer for under-reaching branches,
> which seems to be one of your changes (269101), though that was
> supposed to be MachO only.

I think we only produce R_ARM_THM_JUMP24 for tail calls. The veneer is
then needed if a mode change is required because there's no "bx (imm)"

I'm not aware of any better candidate than r269101 for a cause, but
I'm still rather confused about how. Hopefully the intermediate files
will shed some light on at least what's wrong.



More information about the llvm-dev mailing list