jrtc27 wrote: This special casing is really ugly and should not be needed, surely, if you just do the arithmetic in the right order and correctly. Can we not just do the same as mold? https://github.com/llvm/llvm-project/pull/71907