https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96168
--- Comment #9 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Keno Fischer from comment #8) > Is there a list of all the things that need doing? I don't know very much > about how GCC is architected (but am familiar with LLVM,MachO,Aarch64 ISA, > etc), but from my naive point of view, at least > > - Add all the ARM64 MachO relocations GCC does not output macho files directly, so this part is just printing. > - Add special cases for the Aarch64 ABI differences on Apple platforms This one should be the majority of the work really. > - Implement parsing/(& printing?) for Apple's assembly dialect The printing part is part of GCC, GCC has support for alternative dialect that can be used here. > - Add CPU models for the relevant chips You don't need this to start out with really, since ARMv8.3-a is backwards compatiable with ARMv8-a. You could default the arch to armv8.3-a if you want.