about summary refs log tree commit diff
path: root/scripts/test_printers_exceptions.py
diff options
context:
space:
mode:
authormengqinggang <mengqinggang@loongson.cn>2024-07-05 10:40:33 +0800
committercaiyinyu <caiyinyu@loongson.cn>2024-07-17 09:32:25 +0800
commit43224b1379d60b1ad98d29ef3d7905d55f828a9f (patch)
treec1819b63daa3898945b46319965ab291cbb74b47 /scripts/test_printers_exceptions.py
parent5bcf6265f215326d14dfacdce8532792c2c7f8f8 (diff)
downloadglibc-master.tar.gz
glibc-master.tar.xz
glibc-master.zip
LoongArch: Add cfi instructions for _dl_tlsdesc_dynamic HEAD master
In _dl_tlsdesc_dynamic, there are three 'addi.d sp, sp, -size'
instructions to allocate stack size for Float/LSX/LASX registers.
Every 'addi.d sp, sp, -size' needs a cfi_adjust_cfa_offset because
of sp is used to compute CFA. But only one 'addi.d sp, sp, -size'
will be run according to HWCAP value. And all cfi_adjust_cfa_offset
will be executed in stack unwinding, it result in incorrect CFA.

Change _dl_tlsdesc_dynamic to _dl_tlsdesc_dynamic,
_dl_tlsdesc_dynamic_lsx and _dl_tlsdesc_dynamic_lasx.
Conflicting cfi instructions can be distributed to the three functions.
And cfi instructions can correspond to stack down instructions.
Diffstat (limited to 'scripts/test_printers_exceptions.py')
0 files changed, 0 insertions, 0 deletions