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

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to mfarca from comment #4)
> Thanks for creating the issue for improving documentation.
> 
> Could you then clarify if call to the incorrect address is a bug or not?
> instructions are allowed to be under `.rodata` section as this section is
> still executable and works fine on x64, more on this:
> https://stackoverflow.com/a/44938843

x64 does not have an alignment requirement for instructions while the other
targets do. That is all.

x64 does not have an alignment requirement because the instructions are all
different sizes including some single byte instructions.

This is an ISA difference really and not really a GCC question at this point.

Reply via email to