[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/16005] [avr] Linker crash on a particular instruction sequence w
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug ld/16005] [avr] Linker crash on a particular instruction sequence with --relax |
Date: |
Fri, 29 Jul 2022 13:58:28 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=16005
--- Comment #4 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=10948fb9fd66c029d59c97e04556ab827076336c
commit 10948fb9fd66c029d59c97e04556ab827076336c
Author: Alan Modra <amodra@gmail.com>
Date: Fri Jul 29 22:35:13 2022 +0930
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.
--
You are receiving this mail because:
You are on the CC list for the bug.