diff --git a/lld/ELF/Writer.cpp b/lld/ELF/Writer.cpp index a2c49343e5c8d..0d61e8d8d91a4 100644 --- a/lld/ELF/Writer.cpp +++ b/lld/ELF/Writer.cpp @@ -1531,8 +1531,7 @@ template void Writer::finalizeAddressDependentContent() { // With Thunk Size much smaller than branch range we expect to // converge quickly; if we get to 30 something has gone wrong. if (changed && pass >= 30) { - Err(ctx) << (ctx.target->needsThunks ? "thunk creation not converged" - : "relaxation not converged"); + Err(ctx) << "address assignment did not converge"; break; } diff --git a/lld/test/ELF/linkerscript/symbol-assign-many-passes2.test b/lld/test/ELF/linkerscript/symbol-assign-many-passes2.test index 18dc5019ee1eb..b5ca48b7cd295 100644 --- a/lld/test/ELF/linkerscript/symbol-assign-many-passes2.test +++ b/lld/test/ELF/linkerscript/symbol-assign-many-passes2.test @@ -6,7 +6,7 @@ ## arm-thunk-many-passes.s is worst case case of thunk generation that takes 9 ## passes to converge. It takes a few more passes to make symbol assignment ## converge. Test that -## 1. we don't error that "thunk creation not converged". +## 1. we don't error that "address assignment did not converge". ## 2. we check convergence of symbols defined in an output section descriptor. # CHECK: 01011050 T a