From 374e44704b64afafc1179127e6c9c5bf1715ef39 Mon Sep 17 00:00:00 2001 From: Peter Trommler Date: Sun, 30 Dec 2018 22:23:53 +0100 Subject: PPC NCG: Remove Darwin support Support for Mac OS X on PowerPC has been dropped by Apple years ago. We follow suit and remove PowerPC support for Darwin. Fixes #16106. --- compiler/cmm/CmmPipeline.hs | 7 ------- 1 file changed, 7 deletions(-) (limited to 'compiler/cmm') diff --git a/compiler/cmm/CmmPipeline.hs b/compiler/cmm/CmmPipeline.hs index 8c4f21452a..7f7c111848 100644 --- a/compiler/cmm/CmmPipeline.hs +++ b/compiler/cmm/CmmPipeline.hs @@ -167,7 +167,6 @@ cpsTop hsc_env proc = usingInconsistentPicReg = case (platformArch platform, platformOS platform, positionIndependent dflags) of (ArchX86, OSDarwin, pic) -> pic - (ArchPPC, OSDarwin, pic) -> pic _ -> False -- Note [Sinking after stack layout] @@ -314,12 +313,6 @@ points, then at the join point we don't have a consistent value for Hence, on x86/Darwin, we have to split proc points, and then each proc point will get its own PIC initialisation sequence. -The situation is the same for ppc/Darwin. We use essentially the same -sequence to load the program counter onto reg: - - bcl 20,31,1f - 1: mflr reg - This isn't an issue on x86/ELF, where the sequence is call 1f -- cgit v1.2.1