[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/11290] ld's (for avr) "internal error: out of range error" messa
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug ld/11290] ld's (for avr) "internal error: out of range error" message for unaligned relocations is confusing. |
Date: |
Thu, 25 Aug 2022 07:52:18 +0000 |
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 <amodra@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=c2d7de232bb9483af7a0633151edfec4ee52eeda
commit c2d7de232bb9483af7a0633151edfec4ee52eeda
Author: Alan Modra <amodra@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.
- [Bug ld/11290] ld's (for avr) "internal error: out of range error" message for unaligned relocations is confusing.,
cvs-commit at gcc dot gnu.org <=