Index: tools/gold/gold-plugin.cpp =================================================================== --- tools/gold/gold-plugin.cpp +++ tools/gold/gold-plugin.cpp @@ -656,7 +656,7 @@ break; case LDPR_PREVAILING_DEF_IRONLY: - R.Prevailing = true; + R.Prevailing = (Sym.def != LDPK_UNDEF); break; case LDPR_PREVAILING_DEF: