------- Comment #12 from bonzini at gnu dot org 2008-04-01 11:21 ------- I think there are two bugs. One is the infinite loop, and H.J.'s patch is "masking" it by patching gcc/exec-tool.in (which is why I'd prefer to have the "masking" in ld/Makefile.am). The other is yours, which does not have anything to do with the infinite loop AFAICS.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35752