[PATCH] D33436: [ARM] Create relocation for Thumb functions calling ARM fns.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 26 07:45:24 PDT 2017


fhahn updated this revision to Diff 100406.
fhahn added a comment.
Herald added a subscriber: srhines.

Updated patch to only emit relocations for branches to ELF function symbols. It seems like `ARM::fixup_arm_thumb_bl` isn't used for MachO binaries and I am not sure how/if we should deal with Windows binaries?


https://reviews.llvm.org/D33436

Files:
  include/llvm/MC/MCSymbolELF.h
  lib/MC/MCSymbolELF.cpp
  lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
  lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
  test/MC/ARM/big-endian-thumb-fixup.s
  test/MC/ARM/mixed-arm-thumb-bl-fixup.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33436.100406.patch
Type: text/x-patch
Size: 4962 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170526/514a71ad/attachment.bin>


More information about the llvm-commits mailing list