[PATCH] D66798: [ELF][RISCV] Assign st_shndx of __global_pointer$ to 1 if .sdata does not exist

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 27 04:43:37 PDT 2019


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

This is used by __rela_iplt_start, __dso_handle, etc


Repository:
  rLLD LLVM Linker

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

https://reviews.llvm.org/D66798

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66798.217368.patch
Type: text/x-patch
Size: 5560 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190827/0dc41498/attachment-0001.bin>


More information about the llvm-commits mailing list