diff options
author | Xi Ruoyao <xry111@xry111.site> | 2024-06-13 19:04:05 +0800 |
---|---|---|
committer | caiyinyu <caiyinyu@loongson.cn> | 2024-06-14 10:14:54 +0800 |
commit | 97aa7b7346bb9f1807e450c889fccbd2a7d8ff49 (patch) | |
tree | 1ff3164154544026329c681a2743a0a7aaa85799 /NEWS | |
parent | 868ab8923a2ec977faafec97ecafac0c3159c1b2 (diff) | |
download | glibc-97aa7b7346bb9f1807e450c889fccbd2a7d8ff49.zip glibc-97aa7b7346bb9f1807e450c889fccbd2a7d8ff49.tar.gz glibc-97aa7b7346bb9f1807e450c889fccbd2a7d8ff49.tar.bz2 |
LoongArch: Ensure sp 16-byte aligned for tlsdesc
"ADDI sp, sp, 24" and "ADDI sp, sp, SZFCSREG" (SZFCSREG = 4) are
misaligning the stack: the ABI mandates a 16-byte alignment. Fix it
by changing the first one to "ADDI sp, sp, 32", and reuse the spare 4th
slot for saving fcsr.
Reported-by: Jinyang He <hejinyang@loongson.cn>
Signed-off-by: Xi Ruoyao <xry111@xry111.site>
Diffstat (limited to 'NEWS')
0 files changed, 0 insertions, 0 deletions