https://sourceware.org/bugzilla/show_bug.cgi?id=32666

--- Comment #5 from Indu Bhagat <indu.bhagat at oracle dot com> ---
Brief update for posterity:

On trunk, there are two sets of encodings (and buggy SFrame relocatable links):
  - (#1) ET_REL generated by gas had sfde_func_start_address as offset from the
field itself.
  - (#2) ET_DYN, ET_EXEC, and ET_REL (relocatable links) generated by ld had
sfde_func_start_address as offset from start of section.

In the first attempt
(https://sourceware.org/pipermail/binutils/2025-March/139853.html), I tried to
bring  (#1) to also emit sfde_func_start_address as offset from start of
section.  I informally refer to this one as Scheme#A patchset, but the review
feedback was to avoid abusing the available relocations
(https://sourceware.org/pipermail/binutils/2025-March/139980.html).

So now with this current patchset (informally called Scheme#B), we:
  - (#1) ET_REL generated by gas continues to have sfde_func_start_address as
offset from the field itself.
  - (#2) ET_DYN, ET_EXEC, and ET_REL (relocatable links) generated by ld have
sfde_func_start_address as offset from field itself.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to