summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2018-07-17 12:27:51 +0200
committerMark Wielaard <[email protected]>2018-07-17 12:27:51 +0200
commitc1d7a08c990a13472b64281dbf79b13fb74f9e5a (patch)
treea7a6a87073f21088461c8952449abb383efc73fa /tests
parenteaa4ccbd6d9b31cf7a25aeb78373aca482d1b4cd (diff)
tests: Update hello_riscv64.ko test file with debuginfo.
Also document CONFIG_DEBUG_INFO=y. Updated test file provided by Andreas Schwab <[email protected]>. Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'tests')
-rw-r--r--tests/ChangeLog5
-rw-r--r--tests/hello_riscv64.ko.bz2bin1166 -> 39548 bytes
-rwxr-xr-xtests/run-strip-reloc.sh4
3 files changed, 8 insertions, 1 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog
index 0677b9fb..5a9dc33b 100644
--- a/tests/ChangeLog
+++ b/tests/ChangeLog
@@ -1,3 +1,8 @@
+2018-07-17 Mark Wielaard <[email protected]>
+
+ * hello_riscv64.ko.bz2: Updated with debuginfo.
+ * run-strip-reloc.sh: Add documentation on CONFIG_DEBUG_INFO=y.
+
2018-07-05 Mark Wielaard <[email protected]>
* 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 355a5122..a086c380 100644
--- a/tests/hello_riscv64.ko.bz2
+++ b/tests/hello_riscv64.ko.bz2
Binary files differ
diff --git a/tests/run-strip-reloc.sh b/tests/run-strip-reloc.sh
index b1c85345..292e9082 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
# ::::::::::::::