Commit 93589057830b2c3c35500ee8cac25c717a1e98f9 was reverted because it caused a failure with test `lld :: ELF/ppc64-local-exec-tls.s`. This relands the commit with a fix for the test.