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

Nix <nix at esperi dot org.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nix at esperi dot org.uk

--- Comment #1 from Nix <nix at esperi dot org.uk> ---
Sorry, I overlooked this bug report.

This should have been resolved by 203bfa2f6bd275df4089131bac0a17c278c37a1a,
released in binutils 2.39 on August 5th 2022, which causes functions to be
treated identically to non-functions, and propagated into the variable section
if not present as symbols and --ctf-variables is passed in (making the option
name somewhat of a misnomer). I just ran a check with the first binutils I had
at hand (2.41) and it seems to work as intended, but you submitted this bug
report after the release of 2.39:

...
  Variables:
...
    main -> 0x52: (kind 5) int (*) () (aligned at 0x8)


Is it still broken for you?

(Maybe this is just a documentation bug? I failed to update the docs for
--ctf-variables when shipping of functions into the variable section was added,
so it wrongly still says that it only applies to variables. I'll do that.

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

Reply via email to