[Bug target/62663] m68k / coldfire : compiling with -msep-data breaks the code
angelo70 at gmail dot com
gcc-bugzilla@gcc.gnu.org
Tue Sep 2 22:54:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62663
--- Comment #3 from angelo <angelo70 at gmail dot com> ---
This is probably a non-bug.
I was confused last night, you are right,
move.l square_test@GOT(%a5),%a0
jsr (%a0)
Is generated and is correct (move.l, instruction set is the same of m68k).
But this jump results to a next illegal instruction exception.
I see then %a5 loaded with 0xffc14900 (correct, see got in the .map file)
But, once loaded %a0, it contains a 0x70000000, that's a completely invalid
address.
More information about the Gcc-bugs
mailing list