[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[kvm-unit-tests PATCH v9 2/9] arm/flat.lds: don't drop debug during link
From: |
Alex Bennée |
Subject: |
[kvm-unit-tests PATCH v9 2/9] arm/flat.lds: don't drop debug during link |
Date: |
Thu, 2 Dec 2021 11:53:45 +0000 |
It is useful to keep the debug in the .elf file so we can debug and it
doesn't get copied across to the final .flat file. Of course we still
need to ensure we apply the offset when we load the symbols based on
where QEMU decided to load the kernel.
(gdb) symbol-file ./builds/arm64/arm/tlbflush-data.elf -o 0x40080000
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20211118184650.661575-3-alex.bennee@linaro.org>
---
arm/flat.lds | 1 -
1 file changed, 1 deletion(-)
diff --git a/arm/flat.lds b/arm/flat.lds
index 6fb459ef..47fcb649 100644
--- a/arm/flat.lds
+++ b/arm/flat.lds
@@ -62,7 +62,6 @@ SECTIONS
/DISCARD/ : {
*(.note*)
*(.interp)
- *(.debug*)
*(.comment)
*(.dynamic)
}
--
2.30.2
- [kvm-unit-tests PATCH v9 0/9] MTTCG sanity tests for ARM, Alex Bennée, 2021/12/02
- [kvm-unit-tests PATCH v9 1/9] docs: mention checkpatch in the README, Alex Bennée, 2021/12/02
- [kvm-unit-tests PATCH v9 3/9] Makefile: add GNU global tags support, Alex Bennée, 2021/12/02
- [kvm-unit-tests PATCH v9 4/9] lib: add isaac prng library from CCAN, Alex Bennée, 2021/12/02
- [kvm-unit-tests PATCH v9 8/9] arm/run: use separate --accel form, Alex Bennée, 2021/12/02
- [kvm-unit-tests PATCH v9 2/9] arm/flat.lds: don't drop debug during link,
Alex Bennée <=
- [kvm-unit-tests PATCH v9 7/9] arm/barrier-litmus-tests: add simple mp and sal litmus tests, Alex Bennée, 2021/12/02
- [kvm-unit-tests PATCH v9 6/9] arm/locking-tests: add comprehensive locking test, Alex Bennée, 2021/12/02
- [kvm-unit-tests PATCH v9 5/9] arm/tlbflush-code: TLB flush during code execution, Alex Bennée, 2021/12/02
- [kvm-unit-tests PATCH v9 9/9] arm/tcg-test: some basic TCG exercising tests, Alex Bennée, 2021/12/02
- Re: [kvm-unit-tests PATCH v9 0/9] MTTCG sanity tests for ARM, Alex Bennée, 2021/12/10
- Re: [kvm-unit-tests PATCH v9 0/9] MTTCG sanity tests for ARM, Andrew Jones, 2021/12/14