Re: [PATCH 1/3] scripts/recordmcount.pl: Fix RISC-V regex for clang

2021-03-25 Thread Fangrui Song
On 2021-03-25, Nathan Chancellor wrote: Clang can generate R_RISCV_CALL_PLT relocations to _mcount: $ llvm-objdump -dr build/riscv/init/main.o | rg mcount 000e: R_RISCV_CALL_PLT _mcount 004e: R_RISCV_CALL_PLT _mcount After this,

[PATCH 1/3] scripts/recordmcount.pl: Fix RISC-V regex for clang

2021-03-25 Thread Nathan Chancellor
Clang can generate R_RISCV_CALL_PLT relocations to _mcount: $ llvm-objdump -dr build/riscv/init/main.o | rg mcount 000e: R_RISCV_CALL_PLT _mcount 004e: R_RISCV_CALL_PLT _mcount After this, the __start_mcount_loc section is