aboutsummaryrefslogtreecommitdiff
path: root/gdb/cli/cli-script.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2022-08-25 15:57:02 +0930
committerAlan Modra <amodra@gmail.com>2022-08-25 17:20:01 +0930
commitc2d7de232bb9483af7a0633151edfec4ee52eeda (patch)
tree6f82308fd175a2764243a11eaaa80c047c5068f3 /gdb/cli/cli-script.c
parent45692d91e733233d667665750eabdba8ba98b227 (diff)
downloadgdb-c2d7de232bb9483af7a0633151edfec4ee52eeda.zip
gdb-c2d7de232bb9483af7a0633151edfec4ee52eeda.tar.gz
gdb-c2d7de232bb9483af7a0633151edfec4ee52eeda.tar.bz2
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.
Diffstat (limited to 'gdb/cli/cli-script.c')
0 files changed, 0 insertions, 0 deletions