bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/31179] RISC-V: The SET/ADD/SUB fix breaks ABI compatibility with


From: nelsonc1225 at sourceware dot org
Subject: [Bug ld/31179] RISC-V: The SET/ADD/SUB fix breaks ABI compatibility with 2.41 objects
Date: Fri, 22 Dec 2023 05:52:04 +0000

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]