summaryrefslogtreecommitdiffstats
path: root/llvm/docs/CommandGuide/llvm-nm.rst
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2019-06-11 13:39:08 +0000
committerFangrui Song <maskray@google.com>2019-06-11 13:39:08 +0000
commit47d77365aa7148bc7d7b2883cb93ed14bd88999d (patch)
treec11d5423fe38146bcb9c5fe99e0d56de7f5c1644 /llvm/docs/CommandGuide/llvm-nm.rst
parentb37ccc5fece1b08b0c1dacdd78ae6d7740fd5347 (diff)
downloadbcm5719-llvm-47d77365aa7148bc7d7b2883cb93ed14bd88999d.tar.gz
bcm5719-llvm-47d77365aa7148bc7d7b2883cb93ed14bd88999d.zip
[ELF][RISCV] Add R_RISCV_PC_INDIRECT to isRelExpr()
So that R_RISCV_PCREL_LO12_[IS] are considered as link-time constants in -pie mode, otherwise there are bogus errors: ld.lld: error: can't create dynamic relocation R_RISCV_PCREL_LO12_I against symbol: .L0 in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output Reviewed By: ruiu Differential Revision: https://reviews.llvm.org/D63123 llvm-svn: 363064
Diffstat (limited to 'llvm/docs/CommandGuide/llvm-nm.rst')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud