or1k relocation truncated to fit: R_OR1K_GOT16 even when using -mcmodel=large
authorLuca Bonissi <gcc@scarsita.it>
Wed, 10 May 2023 11:08:28 +0000 (12:08 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 10 May 2023 11:08:28 +0000 (12:08 +0100)
commit8b7b3b2bf4357781439e5434c4a5942ea29e983d
tree965a8206dd4999cc4376dfa2fad1d1f5337500ea
parent496917ce466c703c1ae3bf1cbbe753de1c091445
or1k relocation truncated to fit: R_OR1K_GOT16 even when using -mcmodel=large

  PR 30422
  * elf32-or1k.c (or1k_elf_relocate_section): Prescan for R_OR1K_GOT_AHI16 relocs as they may occur after R_OR1K_GOT16 relocs.
bfd/ChangeLog
bfd/elf32-or1k.c