[PATCH v3 0/1] bfd/loongarch: set PRSTATUS_SIZE=0x1e0 to match
lijian1@kylinos.cn
lijian1@kylinos.cn
Wed Nov 5 06:24:51 GMT 2025
More information about the Binutils mailing list
Wed Nov 5 06:24:51 GMT 2025
- Previous message (by thread): [PATCH v3] PowerPC: Support for Controlled Cluster Memory (RFC02689)
- Next message (by thread): [PATCH v3 1/1] bfd/loongarch: set PRSTATUS_SIZE=0x1e0 to match kernel's struct elf_prstatus size
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: lijian1 <lijian1@kylinos.cn> Thanks for taking the time to review this patch. 1) Root cause and background The warning message was traced back to a change discussed in https://inbox.sourceware.org/gdb-patches/704078b1-cb70-4b13-a721-0fed502db160@FreeBSD.org/#r. However, there is a better way to address the problem directly in the current git version, from commit 1304f47d02bfd0b41ebf4c1c6758a6251c29d8a1. 2) Impact of PRSTATUS_SIZE PRSTATUS_SIZE is a local definition used only in bfd/elfnn-loongarch.c. Its purpose is to act as a guard when handling the .note desc that stores register information for the LoongArch64 backend. Without this guard, the default processing path may be taken instead, which may lead to inconsistent behavior compared with the dedicated LoongArch64 backend logic. Changes since v2: - Rebased on upstream master (GDB 14.1). - Updated commit message for clarity. Signed-off-by: Li Jian <lijian1@kylinos.cn> lijian1 (1): bfd/loongarch: set PRSTATUS_SIZE=0x1e0 to match kernel's struct elf_prstatus size bfd/elfnn-loongarch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.43.0
- Previous message (by thread): [PATCH v3] PowerPC: Support for Controlled Cluster Memory (RFC02689)
- Next message (by thread): [PATCH v3 1/1] bfd/loongarch: set PRSTATUS_SIZE=0x1e0 to match kernel's struct elf_prstatus size
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list