[PATCH] D66798: [ELF][RISCV] Assign st_shndx of __global_pointer$ to 1 if .sdata does not exist
Chih-Mao Chen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 27 12:08:56 PDT 2019
PkmX added a comment.
This should be fine since lld doesn't support linker relaxation, so we just need to fabricate a dummy value for `__global_pointer$` that allows it to link.
Repository:
rLLD LLVM Linker
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D66798/new/
https://reviews.llvm.org/D66798
More information about the llvm-commits
mailing list