Similar to ports r531783 but for libclang.
Created attachment 213994 [details] v1
Comment on attachment 213994 [details] v1 > ++ if (TT.getOSMajorVersion() == 0 || TT.getOSMajorVersion() >= 13) Alternatively, target ELF version can be derived from host (on powerpc64) via _CALL_ELF predefined macro.
LGTM, feel free to commit or I'll get around it eventually
We've long since stopped using llvm90 and ELFv2 support is in versions we do use.