https://sourceware.org/bugzilla/show_bug.cgi?id=22866
Nick Clifton <nickc at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nickc at redhat dot com
--- Comment #2 from Nick Clifton <nickc at redhat dot com> ---
Hi koutnji2,
> I have encountered segmentation fault running avr-ld.
>
> The full line causing the crash is:
> avr-ld --oformat binary -o prog.bin prog.elf
Does the link work if you omit the "-ofomat binary" from the linker command
line, and instead use objcopy ? Ie:
avr-ld -o prog.elf2 prog.elf
avr-objcopy -O binary prog.elf2 prog.bin
The linker often has problems converting to the binary format at the
same time as it performs the link, so the above two-step method is
preferred.
> prog.elf is made with:
> avr-as -mmcu=avr5 prog.S -o prog.elf
If the problem persists, then please could you upload a copy of the prog.elf
file, so that we can run some tests. Also, please can you tell us which
version of the linker you are using.
Cheers
Nick
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils