coredump: enable coredump generation on aarch64

Add relevant elf header constants and notes for the aarch64 platform
to enable coredump generation.

Signed-off-by: समीर सिंह Sameer Singh <lumarzeli30@gmail.com>
This commit is contained in:
समीर सिंह Sameer Singh 2025-01-23 04:07:42 +05:30 committed by Andrei Vagin
parent 030fa4affd
commit da90b33a42
4 changed files with 178 additions and 52 deletions

View file

@ -45,9 +45,8 @@ function run_test {
UNAME_M=$(uname -m)
if [ "$UNAME_M" != "x86_64" ]; then
# the criu-coredump script is only x86_64 aware
echo "criu-coredump only support x86_64. skipping."
if [[ "$UNAME_M" != "aarch64" && "$UNAME_M" != "x86_64" ]]; then
echo "criu-coredump only supports aarch64 and x86_64. skipping."
exit 0
fi