aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2019-07-03 12:48:04 +0000
committerFangrui Song <maskray@google.com>2019-07-03 12:48:04 +0000
commit5cf3cc624609b420319acef498becf48cc011c9a (patch)
tree9a0a4e8b04084fcaaf665602266ecc1578cd15f3 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parenta10bf0939d65c24a63ae081b46ca617fa2cfd581 (diff)
downloadllvm-5cf3cc624609b420319acef498becf48cc011c9a.zip
llvm-5cf3cc624609b420319acef498becf48cc011c9a.tar.gz
llvm-5cf3cc624609b420319acef498becf48cc011c9a.tar.bz2
[ELF][RISCV] Allow R_RISCV_ADD in relocateNonAlloc()
gcc may generate .debug_info/.debug_aranges/.debug_line/etc that are relocated by R_RISCV_ADD*/R_RISCV_SUB* pairs. Allow R_RISCV_ADD in non-SHF_ALLOC section to fix link errors like: ld.lld: error: print.c:(.debug_frame+0x60): has non-ABS relocation R_RISCV_ADD64 against symbol '.L0 ' Differential Revision: https://reviews.llvm.org/D63259 llvm-svn: 365035
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions