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

ramana at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Oct 15 15:18:00 GMT 2009



------- Comment #9 from ramana at gcc dot gnu dot org  2009-10-15 15:17 -------
(In reply to comment #7)
> (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.
> 


I would rather find out why the middle end function use_anchor_for_symbol
doesn't reject the symbol for section anchors and fix this appropriately by
either specifying appropriate binds_local_p  or the use_anchor_for_symbol
handler appropriately. 


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41684



More information about the Gcc-bugs mailing list