diff options
| author | Xi Ruoyao <[email protected]> | 2022-10-12 16:36:08 +0800 |
|---|---|---|
| committer | Huacai Chen <[email protected]> | 2022-10-12 16:36:08 +0800 |
| commit | 0d8dad7048611e5ba02ae8519539ce4b8b1482d3 (patch) | |
| tree | 6ccf248c67c7a279f97fe2e89eb7ac4b2f329437 /tools/perf/scripts/python/stat-cpi.py | |
| parent | 9550dfde5eb83558c9c21f664d9b622a26bacf7d (diff) | |
LoongArch: Add Kconfig option AS_HAS_EXPLICIT_RELOCS
GNU as >= 2.40 and GCC >= 13 will support using explicit relocation
hints in the assembly code, instead of la.* macros. The usage of
explicit relocation hints can improve code generation so it's enabled
by default by GCC >= 13.
Introduce a Kconfig option AS_HAS_EXPLICIT_RELOCS as the switch for
"use explicit relocation hints or not".
Tested-by: WANG Xuerui <[email protected]>
Signed-off-by: Xi Ruoyao <[email protected]>
Signed-off-by: Huacai Chen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions