Re: [Bug ld/9841] avr-ld crashes when -relax is used with ATMega8535 target

2009-02-19 Thread Tristan Gingold
On Feb 18, 2009, at 9:11 PM, eric dot weddington at atmel dot com wrote: --- Additional Comments From eric dot weddington at atmel dot com 2009-02-18 20:11 --- Nick, Can this patch also be applied to the 2.19 branch? Sure. ___

[Bug ld/9841] avr-ld crashes when -relax is used with ATMega8535 target

2009-02-19 Thread gingold at adacore dot com
--- Additional Comments From gingold at adacore dot com 2009-02-19 08:36 --- Subject: Re: avr-ld crashes when -relax is used with ATMega8535 target On Feb 18, 2009, at 9:11 PM, eric dot weddington at atmel dot com wrote: --- Additional Comments From eric dot weddington at

[Bug ld/9841] avr-ld crashes when -relax is used with ATMega8535 target

2009-02-19 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2009-02-19 17:53 --- Subject: Bug 9841 CVSROOT:/cvs/src Module name:src Branch: binutils-2_19-branch Changes by: ewedding...@sourceware.org 2009-02-19 17:53:11 Modified files: bfd

[Bug ld/9841] avr-ld crashes when -relax is used with ATMega8535 target

2009-02-18 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2009-02-18 15:29 --- Hi Bjoern, Thanks for the patch. I have applied it to the sources. Cheers Nick -- What|Removed |Added

[Bug ld/9841] avr-ld crashes when -relax is used with ATMega8535 target

2009-02-18 Thread eric dot weddington at atmel dot com
--- Additional Comments From eric dot weddington at atmel dot com 2009-02-18 20:11 --- Nick, Can this patch also be applied to the 2.19 branch? Thanks, Eric Weddington -- http://sourceware.org/bugzilla/show_bug.cgi?id=9841 --- You are receiving this mail because: --- You

[Bug ld/9841] avr-ld crashes when -relax is used with ATMega8535 target

2009-02-15 Thread bjoern dot m dot haase at web dot de
--- Additional Comments From bjoern dot m dot haase at web dot de 2009-02-15 10:32 --- Created an attachment (id=3738) -- (http://sourceware.org/bugzilla/attachment.cgi?id=3738action=view) Patch adding an additional NULL pointer check. --

[Bug ld/9841] avr-ld crashes when -relax is used with ATMega8535 target

2009-02-15 Thread bjoern dot m dot haase at web dot de
--- Additional Comments From bjoern dot m dot haase at web dot de 2009-02-15 10:34 --- Created an attachment (id=3739) -- (http://sourceware.org/bugzilla/attachment.cgi?id=3739action=view) changelog entry needed in case that the patch will be committed to mainline binutils --

[Bug ld/9841] avr-ld crashes when -relax is used with ATMega8535 target

2009-02-15 Thread bjoern dot m dot haase at web dot de
--- Additional Comments From bjoern dot m dot haase at web dot de 2009-02-15 10:41 --- Hello all, I think that the root of the problem is that the code does not handle the case correctly that there are no local symbols. I have added a patch that implements a patch similar to the one

[Bug ld/9841] avr-ld crashes when -relax is used with ATMega8535 target

2009-02-14 Thread bjoern dot m dot haase at web dot de
--- Additional Comments From bjoern dot m dot haase at web dot de 2009-02-14 16:19 --- Subject: Re: avr-ld crashes when -relax is used with ATMega8535 target j at uriah dot heep dot sax dot de schrieb: Hallo Jörg, ich werde mir den Bug einmal ansehen, allerdings muss ich auf meinem

[Bug ld/9841] avr-ld crashes when -relax is used with ATMega8535 target

2009-02-14 Thread pwilson at scopuli dot com
--- Additional Comments From pwilson at scopuli dot com 2009-02-14 18:41 --- I looked at the context of the call to elf32_avr_relax_delete_bytes() and how symtab_hdr-contents is assigned. I then compared the AVR to other architectures calling their elf32_*_relax_delete_bytes()

[Bug ld/9841] avr-ld crashes when -relax is used with ATMega8535 target

2009-02-13 Thread darius at dons dot net dot au
--- Additional Comments From darius at dons dot net dot au 2009-02-14 02:34 --- Created an attachment (id=3735) -- (http://sourceware.org/bugzilla/attachment.cgi?id=3735action=view) Project that causes the crash Unpack and run BSD make (ie pmake in Linux, make in FreeBSD), see ld

[Bug ld/9841] avr-ld crashes when -relax is used with ATMega8535 target

2009-02-13 Thread darius at dons dot net dot au
--- Additional Comments From darius at dons dot net dot au 2009-02-14 03:35 --- I added -Wl,--debug-relax per Eric's suggestion and get the following.. avr-gcc -O -DF_CPU=800 -Os -Wall -gdwarf-2 -mmcu=atmega8535 -Wl,-u,vfprintf -lprintf_min -Wl,-relax -Wl,--debug-relax

[Bug ld/9841] avr-ld crashes when -relax is used with ATMega8535 target

2009-02-13 Thread pwilson at scopuli dot com
--- Additional Comments From pwilson at scopuli dot com 2009-02-14 03:54 --- Created an attachment (id=3736) -- (http://sourceware.org/bugzilla/attachment.cgi?id=3736action=view) Output of --debug-relax option using WinAVR 20081205 Output from: avr-gcc -O2 -fno-strict-aliasing -pipe

[Bug ld/9841] avr-ld crashes when -relax is used with ATMega8535 target

2009-02-13 Thread j at uriah dot heep dot sax dot de
--- Additional Comments From j at uriah dot heep dot sax dot de 2009-02-14 07:42 --- The location of the crash is: Program received signal SIGSEGV, Segmentation fault. 0x080985f0 in elf32_avr_relax_section (abfd=0x821e600, sec=0x826d014, link_info=0x810ba40, again=0xbfbfe318) at

[Bug ld/9841] avr-ld crashes when -relax is used with ATMega8535 target

2009-02-13 Thread pwilson at scopuli dot com
--- Additional Comments From pwilson at scopuli dot com 2009-02-14 07:45 --- Created an attachment (id=3737) -- (http://sourceware.org/bugzilla/attachment.cgi?id=3737action=view) stack trace of ld core dump In case this is helpful ... I built gcc 4.3.2 and binutils 2.19 with the

[Bug ld/9841] avr-ld crashes when -relax is used with ATMega8535 target

2009-02-13 Thread j at uriah dot heep dot sax dot de
-- What|Removed |Added CC||j at uriah dot heep dot sax ||dot de