http://sourceware.org/bugzilla/show_bug.cgi?id=14718



--- Comment #7 from Siarhei Siamashka <siarhei.siamashka at gmail dot com> 
2012-10-14 22:32:12 UTC ---

(In reply to comment #5)

> Because in the current code bfd_signed_vma array (64-bit elements) is followed

> by arm_local_iplt_info * array (32-bit elements) and then followed by bfd_vma

> array (64-bit elements again). If num_syms is odd, then the last array is not

> 64-bit aligned. Just swapping the order of the second and third arrays might

> help.



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 vma typedefs.

I guess such weird configuration is a prerequisite for triggering this

alignment issue. The culprit is gentoo toolchain-binutils.eclass which is

forcing --enable-64-bit-bfd configure option. The architectures like ARM surely

have lots of spare RAM to waste... Looks like at least this part of the problem

needs to be solved on gentoo side.



-- 

Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email

------- 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

Reply via email to