Use unified syntax for builtins/arm/aeabi_mem*.S.

Kor Nielsen via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 13 03:15:41 PDT 2016


Use unified syntax for builtins/arm/aeabi_mem*.S.

This makes these files consistent with the others.

Without this change, __aeabi_memcpy (for thumb) is assembled like this:

00000000 <__aeabi_memcpy>:
   0:   e7fe            b.n     0 <memcpy>

This can cause trouble for the linker, which can fail with the message
"relocation truncated to fit: R_ARM_THM_JUMP11 against symbol"

With this change, the assembler generates this:

00000000 <__aeabi_memcpy>:
   0:   f7ff bffe       b.w     0 <memcpy>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160713/795b92b2/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arm-membuiltins-unified.patch
Type: text/x-patch
Size: 1364 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160713/795b92b2/attachment-0001.bin>


More information about the llvm-commits mailing list