aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stat-cpi.py
diff options
context:
space:
mode:
authorXi Ruoyao <[email protected]>2022-10-12 16:36:14 +0800
committerHuacai Chen <[email protected]>2022-10-12 16:36:14 +0800
commit9bd1e38032fb72982d9efe11948037cfa01eaa50 (patch)
treeb956692584a1b1d9dcf2aa27f57c2c2c5ee554d8 /tools/perf/scripts/python/stat-cpi.py
parent0a75e5d1a1845db94b9c462e7b0ee755642febfe (diff)
LoongArch: Support PC-relative relocations in modules
Binutils >= 2.40 uses R_LARCH_B26 instead of R_LARCH_SOP_PUSH_PLT_PCREL, and R_LARCH_PCALA* instead of R_LARCH_SOP_PUSH_PCREL. Handle R_LARCH_B26 and R_LARCH_PCALA* in the module loader. For R_LARCH_ B26, also create a PLT entry as needed. 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