]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
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 0677b9fb4e37d93fbc7220a5083185843ff61499..5a9dc33bf0395550d8a1d1f21f5d1f96c732bfdf 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 355a51226195d15ff0d7b3636efbd5bccf4f1be9..a086c38095b76bc3f1570f4df0e2142d01c2ef94 100644 (file)
Binary files a/tests/hello_riscv64.ko.bz2 and b/tests/hello_riscv64.ko.bz2 differ
index b1c85345fe0867b560d3642f541e65ec1cce32ca..292e908286f0204d6a09af03788abb44346b151d 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
 # ::::::::::::::