aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2/line-header.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2022-07-29 22:35:13 +0930
committerAlan Modra <amodra@gmail.com>2022-07-29 23:28:04 +0930
commit10948fb9fd66c029d59c97e04556ab827076336c (patch)
tree279c693318eea5eab01c98ebe5035e4fd6627b78 /gdb/dwarf2/line-header.c
parent76a4c1e063fabb45d15597a6dd17813e92875a43 (diff)
downloadbinutils-10948fb9fd66c029d59c97e04556ab827076336c.zip
binutils-10948fb9fd66c029d59c97e04556ab827076336c.tar.gz
binutils-10948fb9fd66c029d59c97e04556ab827076336c.tar.bz2
Re: PR16005, avr linker crash on a particular instruction sequence with --relax
The last patch wasn't so clever. The contents in fact have already been read, just not cached where relax_delete_bytes expects them. relax_delete_bytes also modifies relocs and syms, so they should be cached too. PR 16005 * elf32-avr.c (elf32_avr_relax_delete_bytes): Revert last change. (elf32_avr_relax_section): Cache contents, relocs and syms before calling relax_delete_bytes.
Diffstat (limited to 'gdb/dwarf2/line-header.c')
0 files changed, 0 insertions, 0 deletions