http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58523
Brian Grayson changed:
What|Removed |Added
Status|RESOLVED|CLOSED
--- Comment #4 from Brian Grayson
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58523
--- Comment #3 from Andrew Pinski ---
With -fno-common,
arm LE produces:
movwr3, #:lower16:.LANCHOR0
movtr3, #:upper16:.LANCHOR0
ldmiar3, {r0, r3}
addr0, r0, r3
bxlr
AARCH64 produces:
adrpx1, .LANCH
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58523
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58523
--- Comment #2 from Andrew Pinski ---
(In reply to Andrew Pinski from comment #1)
> It is due to them being common symbols which are never section anchored due
> to they might be in another TU.
Use -fno-common or initialize those variables to 0.