[PATCH] D86263: [ELF] Keep st_type for symbol assignment

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 19 22:54:11 PDT 2020


MaskRay updated this revision to Diff 286712.
MaskRay added a comment.

Add an ARM test. Set st_type in LinkerScript::addSymbol (which runs before relocation processing) to make this affect relocation processing


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D86263

Files:
  lld/ELF/LinkerScript.cpp
  lld/ELF/LinkerScript.h
  lld/test/ELF/arm-thumb-interwork-ifunc.s
  lld/test/ELF/linkerscript/common-assign.s
  lld/test/ELF/linkerscript/symbol-assign-type.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86263.286712.patch
Type: text/x-patch
Size: 5306 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200820/a5e73178/attachment.bin>


More information about the llvm-commits mailing list