From: Mark Wielaard Date: Tue, 17 Jul 2018 10:27:51 +0000 (+0200) Subject: tests: Update hello_riscv64.ko test file with debuginfo. X-Git-Tag: elfutils-0.174~29 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c1d7a08c990a13472b64281dbf79b13fb74f9e5a;p=thirdparty%2Felfutils.git tests: Update hello_riscv64.ko test file with debuginfo. Also document CONFIG_DEBUG_INFO=y. Updated test file provided by Andreas Schwab . Signed-off-by: Mark Wielaard --- diff --git a/tests/ChangeLog b/tests/ChangeLog index 0677b9fb4..5a9dc33bf 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,8 @@ +2018-07-17 Mark Wielaard + + * hello_riscv64.ko.bz2: Updated with debuginfo. + * run-strip-reloc.sh: Add documentation on CONFIG_DEBUG_INFO=y. + 2018-07-05 Mark Wielaard * next_cfi.c (handle_section): Take a new argument name. Check diff --git a/tests/hello_riscv64.ko.bz2 b/tests/hello_riscv64.ko.bz2 index 355a51226..a086c3809 100644 Binary files a/tests/hello_riscv64.ko.bz2 and b/tests/hello_riscv64.ko.bz2 differ diff --git a/tests/run-strip-reloc.sh b/tests/run-strip-reloc.sh index b1c85345f..292e90828 100755 --- a/tests/run-strip-reloc.sh +++ b/tests/run-strip-reloc.sh @@ -68,6 +68,7 @@ runtest() { } # Most simple hello world kernel module for various architectures. +# Make sure that it contains debuginfo with CONFIG_DEBUG_INFO=y. # :::::::::::::: # Makefile # :::::::::::::: @@ -75,7 +76,8 @@ runtest() { # hello-y := init.o exit.o # # all: -# make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules +# make -C /lib/modules/$(shell uname -r)/build M=$(PWD) \ +# CONFIG_DEBUG_INFO=y modules # :::::::::::::: # init.c # ::::::::::::::