[Bug target/58523] ARM and AArch64: -fsection-anchors doesn't seem to work

2013-09-24 Thread b.grayson at samsung dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58523 Brian Grayson changed: What|Removed |Added Status|RESOLVED|CLOSED --- Comment #4 from Brian Grayson

[Bug target/58523] ARM and AArch64: -fsection-anchors doesn't seem to work

2013-09-24 Thread pinskia at gcc dot gnu.org
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

[Bug target/58523] ARM and AArch64: -fsection-anchors doesn't seem to work

2013-09-24 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58523 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/58523] ARM and AArch64: -fsection-anchors doesn't seem to work

2013-09-24 Thread pinskia at gcc dot gnu.org
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.