[Bug ld/16005] [avr] Linker crash on a particular instruction sequence with --relax

2022-07-29 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=16005

--- Comment #4 from cvs-commit at gcc dot gnu.org  ---
The master branch has been updated by Alan Modra :

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=10948fb9fd66c029d59c97e04556ab827076336c

commit 10948fb9fd66c029d59c97e04556ab827076336c
Author: Alan Modra 
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.


[Bug ld/16005] [avr] Linker crash on a particular instruction sequence with --relax

2022-07-29 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16005

Alan Modra  changed:

   What|Removed |Added

   Target Milestone|--- |2.40
 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #3 from Alan Modra  ---
Fixed for 2.40

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug ld/16005] [avr] Linker crash on a particular instruction sequence with --relax

2022-07-29 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=16005

--- Comment #2 from cvs-commit at gcc dot gnu.org  ---
The master branch has been updated by Alan Modra :

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b875e9c93df9f30efb34a75b9379490c03ec4d4b

commit b875e9c93df9f30efb34a75b9379490c03ec4d4b
Author: Alan Modra 
Date:   Fri Jul 29 16:52:52 2022 +0930

PR16005, avr linker crash on a particular instruction sequence with --relax

It's possible for relax_delete_bytes to be called with section
contents NULL, as demonstrated by the testcase in this PR.

PR 16005
* elf32-avr.c (elf32_avr_relax_delete_bytes): Get section contents
if not already available.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug ld/16005] [avr] Linker crash on a particular instruction sequence with --relax

2022-07-29 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16005

Alan Modra  changed:

   What|Removed |Added

 Status|WAITING |ASSIGNED
   Assignee|unassigned at sourceware dot org   |amodra at gmail dot com

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug ld/16005] [avr] Linker crash on a particular instruction sequence with --relax

2013-10-14 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16005

Nick Clifton nickc at redhat dot com changed:

   What|Removed |Added

 Status|NEW |WAITING
 CC||nickc at redhat dot com

--- Comment #1 from Nick Clifton nickc at redhat dot com ---
Hi Jan,

  I am sorry, I am unable to reproduce this problem.  Possibly it has been
fixed by some other change.  I was using the current mainline binutils
development sources so maybe that is what is different.  Please could you try
using the latest sources and let me know if the problem still exists for you.

Cheers
  Nick

-- 
You are receiving this mail because:
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/16005] [avr] Linker crash on a particular instruction sequence with --relax

2013-10-05 Thread konfera at efton dot sk
https://sourceware.org/bugzilla/show_bug.cgi?id=16005

Jan Waclawek konfera at efton dot sk changed:

   What|Removed |Added

 CC|gjl at gcc dot gnu.org |eric.weddington at 
atmel dot com

-- 
You are receiving this mail because:
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/16005] [avr] Linker crash on a particular instruction sequence with --relax

2013-10-05 Thread gjl at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=16005

Georg-Johann Lay gjl at gcc dot gnu.org changed:

   What|Removed |Added

 Target||avr
 CC||gjl at gcc dot gnu.org

-- 
You are receiving this mail because:
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/16005] [avr] Linker crash on a particular instruction sequence with --relax

2013-10-05 Thread gjl at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=16005

Georg-Johann Lay gjl at gcc dot gnu.org changed:

   What|Removed |Added

Version|unspecified |2.23

-- 
You are receiving this mail because:
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils