[PATCH] D59216: [LLD][ELF][ARM] Redesign of .ARM.exidx handling to use a SyntheticSection

Peter Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 26 07:44:18 PDT 2019


peter.smith updated this revision to Diff 192276.
peter.smith added a comment.

Updated the diff to just remove the .rel.ARM.exidx relocation sections when --emit-relocations is used. This is a few lines in the ARMExidxSyntheticSection constructor. This permits us to remove the additional fixup code in InputSections.cpp and OutputSections.cpp. The test remains to make sure we don't crash with --emit-relocs and to check that there are no .rel.ARM.exidx relocation sections.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D59216/new/

https://reviews.llvm.org/D59216

Files:
  ELF/OutputSections.cpp
  ELF/SyntheticSections.cpp
  ELF/SyntheticSections.h
  ELF/Writer.cpp
  test/ELF/arm-data-prel.s
  test/ELF/arm-exidx-add-missing.s
  test/ELF/arm-exidx-canunwind.s
  test/ELF/arm-exidx-dedup.s
  test/ELF/arm-exidx-discard.s
  test/ELF/arm-exidx-emit-relocs.s
  test/ELF/arm-exidx-gc.s
  test/ELF/arm-exidx-no-add-missing.s
  test/ELF/arm-exidx-shared.s
  test/ELF/arm-exidx-synthetic-link.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59216.192276.patch
Type: text/x-patch
Size: 37333 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190326/6829fc59/attachment.bin>


More information about the llvm-commits mailing list