https://sourceware.org/bugzilla/show_bug.cgi?id=31179
--- Comment #8 from Nelson Chu <nelsonc1225 at sourceware dot org> --- Created attachment 15270 --> https://sourceware.org/bugzilla/attachment.cgi?id=15270&action=edit proposed solution with the tag to keep compatible Updated to have a tag, this patch should be applied after the proposed v1 patch. The object which marked by the tag means it won't have any non-zero ddend in SUB_ULEB128 from .uleb128 directives, so we don't need to ignore them to get the correct calculation in linker. Since the tag is non-standard in riscv psabi, so need use elf_other_obj_attributes_proc rather than elf_known_obj_attributes_proc api to access. -- You are receiving this mail because: You are on the CC list for the bug.