[Top][All Lists]
[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: |
anpaza at mail dot ru |
Subject: |
[Bug ld/11290] ld's (for avr) "internal error: out of range error" message for unaligned relocations is confusing. |
Date: |
18 Feb 2010 20:54:58 -0000 |
------- Additional Comments From anpaza at mail dot ru 2010-02-18 20:54 -------
(In reply to comment #3)
> Thanks. I understand the issue.
> The assembler doesn't check that instruction addresses are not multiple of 2.
Would be also cool to fix the error message. I also got it and had to look in
the binutils source code to understand what happens.
A new value should be added to the bfd_reloc_status_type type (bfd/bfd-in2.h),
something like `bfd_reloc_unaligned', and adding the respective case to
gas/write.c, function install_reloc(), and bfd/elf32-avr.c, function
elf32_avr_relocate_section().
--
http://sourceware.org/bugzilla/show_bug.cgi?id=11290
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.