[PATCH] [ELF] Prevent ARM ELF object writer from generating deprecated relocation code R_ARM_PLT32
Jyoti Allur
jyoti.allur at samsung.com
Wed Nov 19 00:24:40 PST 2014
Hi rafael, compnerd,
This patch implements
4.6.1.11 Deprecated relocations of ARM IHI 0044E
Deprecated relocations are in the process of being retired from the specification and may be removed or marked
obsolete in future revisions. An object file containing these codes is still conforming, but producers should be
changed to use the new alternatives.
Relocation Replacement
R_ARM_PLT32 Use R_ARM_CALL or R_ARM_JUMP24
http://reviews.llvm.org/D6317
Files:
lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp
test/MC/ARM/symbol-variants.s
test/tools/llvm-readobj/reloc-types.test
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6317.16367.patch
Type: text/x-patch
Size: 1382 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141119/f917935d/attachment.bin>
More information about the llvm-commits
mailing list