Hi!
Across different gcc versions with -O0 I get this linking error
on x86_32 and x86_64:
/usr/src/xen-ddb-unstable.hg/xen/common/built_in.o: In function
`machine_crash_save_cpu':
/usr/src/xen-ddb-unstable.hg/xen/common/kexec.c:78: undefined reference to
`elf_core_save_regs'
/usr/src/xen-ddb-unstable.hg/xen/common/kexec.c:78: relocation truncated to
fit: R_X86_64_PC32 against undefined symbol `elf_core_save_regs'
The attached patch fixes this for x86_32 and x86_64.
ppc and ia64 may need this fix, too.
Across different gcc versions with -O0 I get this linking error
on x86_32 and x86_64:
/usr/src/xen-ddb-unstable.hg/xen/common/built_in.o: In function
`machine_crash_save_cpu':
/usr/src/xen-ddb-unstable.hg/xen/common/kexec.c:78: undefined reference to
`elf_core_save_regs'
/usr/src/xen-ddb-unstable.hg/xen/common/kexec.c:78: relocation truncated to
fit: R_X86_64_PC32 against undefined symbol `elf_core_save_regs'
The attached patch fixes this for x86_32 and x86_64.
ppc and ia64 may need this fix, too.