]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
LoongArch: set PRSTATUS_SIZE=0x1e0 to match kernel's struct elf_prstatus size
authorlijian1 <lijian1@kylinos.cn>
Mon, 24 Nov 2025 07:53:50 +0000 (15:53 +0800)
committercailulu <cailulu@loongson.cn>
Tue, 25 Nov 2025 11:25:42 +0000 (19:25 +0800)
commit42a76e2e3ccd637b6b7e823cc45ef44872c4e6bd
treeed00e073934b06e289b1507e3eecf64389db8c87
parent8301f9db00a0c6f51b0d1ee911f69544bbd88262
LoongArch: set PRSTATUS_SIZE=0x1e0 to match kernel's struct elf_prstatus size

As PRSTATUS_SIZE is now with the value 0x1d8, which causes inconsistency with the kernel
definition and then can not lead to the correct branch for loongarch64 backend.

With the correct value 0x1e0 for the master branch, the loongarch64 banckend will work well.

Signed-off-by: Li Jian <lijian1@kylinos.cn>
bfd/elfnn-loongarch.c