[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:36:40 PDT 2019
MaskRay updated this revision to Diff 204089.
MaskRay retitled this revision from "[ELF][RISCV] Change __global_pointer$ from STV_HIDDEN to STV_DEFAULT and add test" to "[ELF][RISCV] Create dummy .sdata for __global_pointer$ if .sdata does not exist".
MaskRay edited the summary of this revision.
MaskRay added a comment.
Synthesize .sdata
_GLOBAL_OFFSET_TABLE_ has a similar behavior: it forces the creation of .got.plt or .got
Repository:
rLLD LLVM Linker
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D63132/new/
https://reviews.llvm.org/D63132
Files:
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.204089.patch
Type: text/x-patch
Size: 4306 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190611/a6474a43/attachment.bin>
More information about the llvm-commits
mailing list