[Bug ld/14718] ld crashes on ARMv5 due to unaligned memory access

2012-10-14 Thread ambrop7 at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14718 --- Comment #8 from Ambroz Bizjak 2012-10-14 22:49:24 UTC --- (In reply to comment #7) > Hmm, this is beginning to be really funny. My gentoo arm system has "#define > BFD_ARCH_SIZE 64" line in /usr/include/bfd.h, resulting in 64-bit vm

[Bug ld/14718] ld crashes on ARMv5 due to unaligned memory access

2012-10-14 Thread ambrop7 at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14718 Ambroz Bizjak changed: What|Removed |Added Attachment #6687|0 |1 is obsolete|

[Bug ld/14718] ld crashes on ARMv5 due to unaligned memory access

2012-10-14 Thread ambrop7 at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14718 --- Comment #3 from Ambroz Bizjak 2012-10-14 20:28:34 UTC --- Andreas: the allocation function (bfd_zalloc, not objalloc_alloc) is not returning unaligned memory. The problem is that the code is trying to manually place multiple arrays

[Bug ld/14718] ld crashes on ARMv5 due to unaligned memory access

2012-10-14 Thread ambrop7 at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14718 --- Comment #2 from Ambroz Bizjak 2012-10-14 20:17:01 UTC --- Created attachment 6687 --> http://sourceware.org/bugzilla/attachment.cgi?id=6687 non-hackish fix This fixes the misalignment by properly aligning pointers. Note that it

[Bug ld/14718] New: ld crashes on ARMv5 due to unaligned memory access

2012-10-14 Thread ambrop7 at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14718 Bug #: 14718 Summary: ld crashes on ARMv5 due to unaligned memory access Product: binutils Version: 2.22 Status: NEW Severity: normal Priority: P2