https://sourceware.org/bugzilla/show_bug.cgi?id=23762

--- Comment #1 from Martin Storsjö <martin at martin dot st> ---
While the conclusion probably is right, I'd like to see more details about why
this happens in this configuration and why it hasn't happened so far.

As far as I can see, ld places __CTOR_LIST__ directly at the end of the .text
section - and in case the .text section isn't exactly a multiple of 4, the -1
at the beginning would be unaligned, and there would be garbage/fillers between
that and the first member from .ctors (which is aligned) - is this what is
happening?

Then why does this not happen in normal setups with GCC, since GCC also does
align the .ctors pointers to 4 bytes?

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