bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/30069] objdump (*-w64-mingw32) does not support the output


From: nickc at redhat dot com
Subject: [Bug binutils/30069] objdump (*-w64-mingw32) does not support the output of c++ symbol names for dynamic libraries
Date: Thu, 02 Feb 2023 12:51:17 +0000

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

Nick Clifton <nickc at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nickc at redhat dot com

--- Comment #1 from Nick Clifton <nickc at redhat dot com> ---
(In reply to Ralf Habacker from comment #0)

> When running `i686-w64-mingw32-objdump -x -C gnu-v3` on such a dynamic
> library does not print out the demangled symbol name.

Hmm - tricky.  The issue is that these symbol names are printed out by an
internal function of the BFD library (pe_print_idata to be exact) which does
not have access to the do_demangle or the demangle_flags variables which
are set in objdump.c...

Given that the symbols can be demangled via the command line that you use
in the description, it seems to me that fixing the BFD library is not that
important.

If we did fix the library, the best solution, imho, would be to add a callback
function for printing symbol names.  Then any bfd function that displays 
symbols could call it, allowing any user of the bfd library to decide how
symbol names are display.

-- 
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]