[PATCH] D71100: [lld][RISCV] Fixup PC-relative relocations to undefined weak symbols.

John Baldwin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 5 16:51:53 PST 2019


bsdjhb created this revision.
bsdjhb added reviewers: MaskRay, ruiu.
Herald added subscribers: llvm-commits, luismarques, apazos, sameer.abuasal, pzheng, s.egerton, lenary, Jim, benna, psnobl, jocewei, PkmX, rkruppe, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, shiva0217, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, arichardson, emaste.
Herald added a reviewer: espindola.
Herald added a project: LLVM.

Load an explicit NULL address for non-PIC linkage when possible.
Report an error for conditional branches that target undefined weak
symbols.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D71100

Files:
  lld/ELF/InputSection.cpp
  lld/test/ELF/riscv-undefined-weak-branch.s
  lld/test/ELF/riscv-undefined-weak.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71100.232474.patch
Type: text/x-patch
Size: 4059 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191206/667010e1/attachment-0001.bin>


More information about the llvm-commits mailing list