This is an archive of the discontinued LLVM Phabricator instance.

Fix ldso name for for musl on x86 and x32 architectures
Needs ReviewPublic

Authored by raj.khem on Aug 16 2017, 3:24 PM.

Details

Reviewers
MaskRay
Summary

x32 linker is called ld-musl-x32.so.1 and x86 linker
is called ld-musl-i386.so.1, Currently, linker for
x86 is returned as ld-musl-i586.so.1, when default
arch is i586, which is not the right thing

Diff Detail

Event Timeline

raj.khem created this revision.Aug 16 2017, 3:24 PM
raj.khem updated this revision to Diff 111429.Aug 16 2017, 3:39 PM

This version works across all compilers.

This should need tests. I pushed f80471bb3e3c7a6f1225ff78de25a3efc3309902 for the i386 fix. The x32 change needs a new environment muslx32. See my patch CCing you:)