PowerPC/IA64 native adjustor code is dead code
When working on !12767 (closed), I noticed that https://gitlab.haskell.org/ghc/ghc/-/blob/master/m4/ghc_adjustors_method.m4 assumes there's only native adjustor code for i386/x86_64, on all other platforms autoconf/hadrian will default to building rts
with libffi-adjustors
flag on. Which means the adjustor/NativePowerPC.c
, adjustor/NativeIA64.c
and most of AdjustorAsm.S
are all dead code that are never built in practice.
And they do seem quite bitrotted, e.g. https://gitlab.haskell.org/ghc/ghc/-/blob/master/rts/adjustor/NativeIA64.c#L143 contains an obvious dangling #else
without #if
, and nobody seems to have complained so far. We could modify the autoconf script to enable PowerPC/IA64 native adjustors, but it seems to me a more sensible solution is to simply drop these dead code.