[Bug target/41684] [4.4/4.5 regression] binutils testsuite failures when built with 4.4/4.5

mikpe at it dot uu dot se gcc-bugzilla@gcc.gnu.org
Thu Oct 15 14:12:00 GMT 2009

------- Comment #7 from mikpe at it dot uu dot se  2009-10-15 14:12 -------
(In reply to comment #6)
> A bisection has identified revision 139725 as the origin of this regression.

That revision added support for -fsection-anchors on arm and enabled it by
default at -O1 and above. Compiling with -fno-section-anchors eliminates the
regressions in the binutils ld testsuite (tested with 4.4.1 and 4.5-20091008).

I did a test with the range of anchor offsets reduced from [-4088,+4095] to a
tiny [-120,+127], which should work with any arm instruction, but that did not
eliminate the regressions.

I'm currently bootstrapping and testing a patch which disable section anchors
on arm. It will be interesting to see if it fixes any testsuite failures.



More information about the Gcc-bugs mailing list