On 8/3/25 06:22, Peter Maydell wrote:
This should allow us also to remove the hw/core/loader.c
#ifdef ELF_CLASS
#undef ELF_CLASS
#endif
Oh, excellent. I forgot about that.
-#ifdef _ARCH_PPC64
-#undef ARCH_DLINFO
-#undef ELF_CLASS
-#undef ELF_DATA
-#undef ELF_ARCH
-#endif
Your osdep.h change is missing ARCH_DLINFO -- did our uses of
that symbol get renamed to something else in an earlier patch?
My osdep.h change includes the symbols in the actual
linux/arch/powerpc/include/uapi/asm/elf.h file. The undef of ARCH_DLINFO here was
knee-jerk, I think.
r~