[PATCH] Support arm32 R_ARM_V4BX relocation format

Adhemerval Zanella adhemerval.zanella at linaro.org
Tue Apr 21 11:20:56 PDT 2015


Hi ruiu, shankar.easwaran,

ARM32 ELF R_ARM_V4BX relocation format is a special relocation type
that records the location of an ARMv4t BX instruction to enable a
static linker to generate ARMv4 compatible instructions.  This
relocation does not contain a reference symbol.

This patch enabled its creation by removing the requeriment of a
relocation symbol target in ELFState<ELFT>::writeSectionContent.

http://reviews.llvm.org/D9162

Files:
  test/Object/yaml2obj-elf-rel-noref.yaml
  tools/yaml2obj/yaml2elf.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9162.24149.patch
Type: text/x-patch
Size: 3419 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150421/28f482f1/attachment.bin>


More information about the llvm-commits mailing list