https://sourceware.org/bugzilla/show_bug.cgi?id=11290
--- Comment #5 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Alan Modra <amo...@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=c2d7de232bb9483af7a0633151edfec4ee52eeda commit c2d7de232bb9483af7a0633151edfec4ee52eeda Author: Alan Modra <amo...@gmail.com> Date: Thu Aug 25 15:57:02 2022 +0930 PR11290, avr-ld "out of range error" is confusing Don't overload bfd_reloc_outofrange with what is really a domain error (target at odd address), or an overflow. PR 11290 * reloc.c (bfd_reloc_other): Correct comment. * elf32-avr.c (avr_final_link_relocate): Return bfd_reloc_other for unaligned reloc target values. Return bfd_reloc_overflow when stubs are too far away and when R_AVR_LDS_STS_16, R_AVR_PORT6, or R_AVR_PORT5 overflow. (elf32_avr_relocate_section): Report more descriptive relocation errors. * bfd-in2.h: Regenerate. -- You are receiving this mail because: You are on the CC list for the bug.