summaryrefslogtreecommitdiffstats
path: root/scripts/config
diff options
context:
space:
mode:
authorNathan Chancellor <nathan@kernel.org>2021-03-25 23:38:05 +0100
committerPalmer Dabbelt <palmerdabbelt@google.com>2021-04-26 17:25:00 +0200
commit2f095504f4b9cf75856d6a9cf90299cf75aa46c5 (patch)
tree5d0890ca63ab3757ac2b4c4778435f6c2fea1ec7 /scripts/config
parentriscv: Use $(LD) instead of $(CC) to link vDSO (diff)
downloadlinux-2f095504f4b9cf75856d6a9cf90299cf75aa46c5.tar.xz
linux-2f095504f4b9cf75856d6a9cf90299cf75aa46c5.zip
scripts/recordmcount.pl: Fix RISC-V regex for clang
Clang can generate R_RISCV_CALL_PLT relocations to _mcount: $ llvm-objdump -dr build/riscv/init/main.o | rg mcount 000000000000000e: R_RISCV_CALL_PLT _mcount 000000000000004e: R_RISCV_CALL_PLT _mcount After this, the __start_mcount_loc section is properly generated and function tracing still works. Link: https://github.com/ClangBuiltLinux/linux/issues/1331 Signed-off-by: Nathan Chancellor <nathan@kernel.org> Reviewed-by: Fangrui Song <maskray@google.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'scripts/config')
0 files changed, 0 insertions, 0 deletions