[Bug target/43129] Simplify global variable's address loading with option -fpic
stephen.clarke at st dot com
gcc-bugzilla@gcc.gnu.org
Thu Oct 14 17:02:00 GMT 2010
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43129
--- Comment #10 from Stephen Clarke <stephen.clarke at st dot com> 2010-10-14 17:01:47 UTC ---
OK, I can see that the ARM ARM states for Rm == PC then its unpredictable.
But for Rn == PC, I can only see that its unpredictable if W is 1
or P is 0 (I am looking at encoding A1). So I am struggling to
understand that:
ldr r3, [pc,r3]
is unpredictable. Forgive me if I made a mistake, my knowledge of
ARM is a little rusty.
More information about the Gcc-bugs
mailing list