On Tue, Jun 30, 2020 at 11:06 PM Niels Möller nisse@lysator.liu.se wrote:
Can you explain a bit more what's special with the powerpc64 prologue
and epilogue? What are the .C_NAME($1) symbols?
This is ELFv1 ABI stuff that is still required to get the function working for PowerPC64 big-endian systems. PowerPC64 little-endian systems is compatible with ELFv2 ABI which has the classical prologue along with other features.
If possible, definitions could be moved to powerpc64/machine.m4 instead,
avoiding ifelse(ASM_POWERPC64,...).
Is it possible to override the PROLOGUE definition in powerpc64/machine.m4?
It would also be nice with a powerpc64/README summarizing register usage
and calling conventions.
I will follow the README for other architectures to make this one.
regards, Mamone