MaskRay added a comment. I am also investigating it, calls to the undefined weak getauxval need to use BLX. I'll try fixing it. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D73542/new/ https://reviews.llvm.org/D73542