[PATCH] D72197: [MC][ELF] Emit a relocation if target is defined in the same section and is non-local

James Henderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 11 01:35:18 PST 2020


jhenderson added a comment.

In D72197#1868770 <https://reviews.llvm.org/D72197#1868770>, @MaskRay wrote:

> Protected symbols are rare.


I'm not taking a stance on the general topic under discussion here, but this statement is not necessarily true for all systems. For example, a system might use protected symbols for exports in general, and not use default visibility, to avoid symbol interposition issues.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D72197





More information about the llvm-commits mailing list