diff options
author | Alexandre Ghiti <[email protected]> | 2024-10-16 10:36:24 +0200 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2024-10-24 10:52:52 -0700 |
commit | bf40167d54d55d4b54d0103713d86a8638fb9290 (patch) | |
tree | 2084449a9d64972cb5544463c6f571294681e563 /tools/perf/scripts/python | |
parent | 9852d85ec9d492ebef56dc5f229416c925758edc (diff) |
riscv: vdso: Prevent the compiler from inserting calls to memset()
The compiler is smart enough to insert a call to memset() in
riscv_vdso_get_cpus(), which generates a dynamic relocation.
So prevent this by using -fno-builtin option.
Fixes: e2c0cdfba7f6 ("RISC-V: User-facing API")
Cc: [email protected]
Signed-off-by: Alexandre Ghiti <[email protected]>
Reviewed-by: Guo Ren <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions