[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/29823] ld riscv: undefined elf_backend_obj_attrs_handle_unknown
From: |
nelsonc1225 at sourceware dot org |
Subject: |
[Bug ld/29823] ld riscv: undefined elf_backend_obj_attrs_handle_unknown causes segfault when merging .riscv.attributes |
Date: |
Tue, 30 Apr 2024 06:46:25 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=29823
Nelson Chu <nelsonc1225 at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nelsonc1225 at sourceware dot
org
--- Comment #3 from Nelson Chu <nelsonc1225 at sourceware dot org> ---
There may be a TODO that handle vendor elf attributes,
According to the psabi, the vendor attribute number is from 32768, so need to
use elf_other_obj_attributes_proc rather than elf_known_obj_attributes_proc to
access, and may need to handle the merge rules in the
riscv_elf_obj_attrs_handle_unknown. I had tried the similar support in the
pr31179, even that we choose another way to fix problem there, maybe the
proposed patch will help to support vendor attributes.
--
You are receiving this mail because:
You are on the CC list for the bug.