grimar added a comment. ld.bfd behavior was fixed and going to be changed in upcoming 2.30 version: https://sourceware.org/bugzilla/show_bug.cgi?id=22267 So I am resurrecting this review and suggest to land this again. https://reviews.llvm.org/D36508