linux-user/elfload: add s390x core dumping support
commit4a1e8931eca05077afd0b7ed092ab0f10c5b457e
authorIlya Leoshkevich <iii@linux.ibm.com>
Tue, 13 Apr 2021 20:56:08 +0000 (13 22:56 +0200)
committerLaurent Vivier <laurent@vivier.eu>
Tue, 18 May 2021 05:10:46 +0000 (18 07:10 +0200)
tree6ed97dfd04e72e2e7d9114e69797d9fe7ae32b0d
parent5f779a3a26a9dcc8072d909b7759bb9fade097a9
linux-user/elfload: add s390x core dumping support

Provide the following definitions required by the common code:

* ELF_NREG: with the value of sizeof(s390_regs) / sizeof(long).
* target_elf_gregset_t: define it like all the other arches do.
* elf_core_copy_regs(): similar to kernel's s390_regs_get().
* USE_ELF_CORE_DUMP.
* ELF_EXEC_PAGESIZE.

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-Id: <20210413205608.22587-1-iii@linux.ibm.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
linux-user/elfload.c