[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
Wed Jun 12 22:57:13 PDT 2019


MaskRay updated this revision to Diff 204426.
MaskRay edited the summary of this revision.
MaskRay added a comment.

Don't define __global_pointer$ for -shared


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.204426.patch
Type: text/x-patch
Size: 6328 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190613/68a67260/attachment.bin>


More information about the llvm-commits mailing list