diff options
author | Jim Wilson <jimw@sifive.com> | 2020-01-06 15:34:50 -0800 |
---|---|---|
committer | Jim Wilson <jimw@sifive.com> | 2020-01-06 15:34:50 -0800 |
commit | 85f783647061e58968ecdc516137d8df9f2d5e16 (patch) | |
tree | f746bf0ec31629fbd171c10bc960c27d0571f530 /bfd/elf-m10200.c | |
parent | 85e290dc1252d77e726c0892b197be449b34bd16 (diff) | |
download | gdb-85f783647061e58968ecdc516137d8df9f2d5e16.zip gdb-85f783647061e58968ecdc516137d8df9f2d5e16.tar.gz gdb-85f783647061e58968ecdc516137d8df9f2d5e16.tar.bz2 |
RISC-V: Fix weak function call reloc overflow on llvm build.
bfd/
PR 25205
* elfnn-riscv.c (riscv_elf_relocate_section) <R_RISCV_CALL>: Add
check for !bfd_link_pic (info).
<R_RISCV_CALL_PLT>: Move next to R_RISCV_CALL.
<R_RISCV_JAL>: Add comment.
(_bfd_riscv_relax_section): For plt.offset check, add check for
bfd_link_pic (info). Add comment.
Change-Id: Ie769bc3d5adf096a51df5cc12efe3d50e80acb8f
Diffstat (limited to 'bfd/elf-m10200.c')
0 files changed, 0 insertions, 0 deletions