bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/28158] nm --dynamic and readelf --dyn-syms vs. copy reloc


From: hjl.tools at gmail dot com
Subject: [Bug binutils/28158] nm --dynamic and readelf --dyn-syms vs. copy reloc symbols
Date: Sun, 01 Aug 2021 13:56:08 +0000

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hjl.tools at gmail dot com

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
The difference comes from

      if (ivna.vna_other == vers_data)
        {
          *sym_info = symbol_undefined;
          *vna_other = ivna.vna_other;
          return (ivna.vna_name < strtab_size
                  ? strtab + ivna.vna_name : _("<corrupt>"));
        }

in get_symbol_version_string since the version VER is undefined. I can see
the benefit of readelf behavior.  foo in executable can't be used to resolve
any references to foo.

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