This applies de776439b61fb71c1256ad86238799c758c66048 from the LLVM git monorepo to the embedded LLD.
This is 48aaa9f66120f72b5d7e4a90b32fee40a3386ce9 from the git monorepo.