[lld-macho] Fix cpuSubtype for non-x86_64 archs
authorJez Ng <jezng@fb.com>
Mon, 22 Feb 2021 17:12:39 +0000 (12:12 -0500)
committerJez Ng <jezng@fb.com>
Mon, 22 Feb 2021 17:13:17 +0000 (12:13 -0500)
commit5bfdbdeb408a966fd882f20c6fa79f6b5eb12990
tree3d2ce459bcf56d8cad402ea264b4bfa71dca46c7
parent784c70d704d3147ec12181f1304971b44443850b
[lld-macho] Fix cpuSubtype for non-x86_64 archs

dyld on iOS will complain if the LIB64 bit is set.

Reviewed By: #lld-macho, thakis

Differential Revision: https://reviews.llvm.org/D96565
lld/MachO/SyntheticSections.cpp
lld/test/MachO/header.s [new file with mode: 0644]