Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [test] Fix lld/test/ELF/riscv-pcrel-hilo-error.s after D73211 | James Clarke | 2020-01-23 | 1 | -0/+6 |
| | | | | (cherry picked from commit ddfe8751b16a1d57b0586fb48d1109c98234bc3f) | ||||
* | [ELF][RISCV] Error on R_RISCV_PCREL_LO12_[IS] that point to absolute symbols | Fangrui Song | 2019-07-03 | 1 | -0/+7 |
The referenced symbol is expected to point to an R_RISCV_*_HI20 relocation. An absolute symbol has no associated section, therefore there cannot be a matching R_RISCV_*_HI20. This fixes the crash reported by PR42038. For reference, ld.bfd errors: (.init+0x4): dangerous relocation: %pcrel_lo missing matching %pcrel_hi Differential Revision: https://reviews.llvm.org/D63273 llvm-svn: 365049 |