[PATCH] D63132: [ELF][RISCV] Create dummy .sdata for __global_pointer$ if .sdata does not exist

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 11 09:50:52 PDT 2019


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

Check if __global_pointer$ is referenced.


Repository:
  rLLD LLVM Linker

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

https://reviews.llvm.org/D63132

Files:
  ELF/Symbols.cpp
  ELF/Symbols.h
  ELF/SyntheticSections.cpp
  ELF/SyntheticSections.h
  ELF/Writer.cpp
  test/ELF/riscv-gp-dummy-sdata.s
  test/ELF/riscv-gp.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63132.204092.patch
Type: text/x-patch
Size: 5956 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190611/a7cf4551/attachment.bin>


More information about the llvm-commits mailing list