riscv: vdso: do not strip debugging info for vdso.so.dbg
authorChangbin Du <changbin.du@huawei.com>
Tue, 11 Jun 2024 04:09:47 +0000 (12:09 +0800)
committerPalmer Dabbelt <palmer@rivosinc.com>
Sat, 14 Sep 2024 08:02:30 +0000 (01:02 -0700)
commit7587a3602bf2f12e798ea955b17521948ddb56a5
treefb6a2b46223b039a970adde713ffaaaf170b82f8
parent9ea7b92b77df7d2eee3c31ef4a19f0f12ec74190
riscv: vdso: do not strip debugging info for vdso.so.dbg

The vdso.so.dbg is a debug version of vdso and could be used for debugging
purpose. For example, perf-annotate requires debugging info to show source
lines. So let's keep its debugging info.

Signed-off-by: Changbin Du <changbin.du@huawei.com>
Reviewed-by: Cyril Bur <cyrilbur@tenstorrent.com>
Reviewed-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Link: https://lore.kernel.org/r/20240611040947.3024710-1-changbin.du@huawei.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/kernel/vdso/Makefile