mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
2a0d985349
bfd/ * elfnn-riscv.c (riscv_elf_relocate_section): Use bfd_reloc_dangerous when pcrel_lo reloc has an addend. Use reloc_dangerous callback for bfd_reloc_dangerous. Use einfo instead of warning callback for errors. Add %X%P to error messages. ld/ * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run pcrel-lo-addend test. * testsuite/ld-riscv-elf/pcrel-lo-addend.d: New. * testsuite/ld-riscv-elf/pcrel-lo-addend.s: New. |
||
---|---|---|
.. | ||
c-lui.d | ||
c-lui.s | ||
disas-jalr.d | ||
disas-jalr.s | ||
gp-test-lib.sd | ||
gp-test.s | ||
gp-test.sd | ||
ld-riscv-elf.exp | ||
pcrel-lo-addend.d | ||
pcrel-lo-addend.s |