tests: Update hello_riscv64.ko test file with debuginfo.
authorMark Wielaard <mark@klomp.org>
Tue, 17 Jul 2018 10:27:51 +0000 (12:27 +0200)
committerMark Wielaard <mark@klomp.org>
Tue, 17 Jul 2018 10:27:51 +0000 (12:27 +0200)
Also document CONFIG_DEBUG_INFO=y.

Updated test file provided by Andreas Schwab <schwab@suse.de>.

Signed-off-by: Mark Wielaard <mark@klomp.org>
tests/ChangeLog
tests/hello_riscv64.ko.bz2
tests/run-strip-reloc.sh

index 0677b9f..5a9dc33 100644 (file)
@@ -1,3 +1,8 @@
+2018-07-17  Mark Wielaard  <mark@klomp.org>
+
+       * hello_riscv64.ko.bz2: Updated with debuginfo.
+       * run-strip-reloc.sh: Add documentation on CONFIG_DEBUG_INFO=y.
+
 2018-07-05  Mark Wielaard  <mark@klomp.org>
 
        * next_cfi.c (handle_section): Take a new argument name. Check
index 355a512..a086c38 100644 (file)
Binary files a/tests/hello_riscv64.ko.bz2 and b/tests/hello_riscv64.ko.bz2 differ
index b1c8534..292e908 100755 (executable)
@@ -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
 # ::::::::::::::