[Bug target/78397] The stack is not 8 bytes aligned on ARM

rearnsha at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jan 13 16:40:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78397

--- Comment #5 from Richard Earnshaw <rearnsha at gcc dot gnu.org> ---
(In reply to Alexandre Martins from comment #4)
> Unfortunatly, it's not crashing into the __aeabi_read_tp function, but into
> the dynamic linker of freebsd (rtld-elf). For info, this function is located
> into the libc on freebsd.
> 
> Must the dynamic linker assume the stack can be miss aligned and re-align it
> if the function called is a 'public interface' ?

The dynamic linker cannot assume ABI privileges in this respect.  Ever.

That really is a bug in your dynamic linker.


More information about the Gcc-bugs mailing list