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

Nick Clifton <nickc at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at sourceware dot org   |nickc at redhat dot com

--- Comment #2 from Nick Clifton <nickc at redhat dot com> ---
Hi H.J.

> [hjl@gnu-cfl-2 cpu-rt-c]$ readelf  --dyn-syms /lib64/libc-2.32.so| grep
> strchr

> I only want to displace dynamic symbols.  Why should readelf care the
> separate debug file?

It cares because there may be information in the separate debug info files
that is relevant to the query that is being carried out.  Ie in this case
there may be dynamic symbols in the debug info files.

You can suppress this behaviour though.  Either by configuring the binutils
with --enable-follow-debug-links=no or by adding the -wN or
--debug-dump=no-follow-links options to the readelf command line.

Cheers
  Nick

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

Reply via email to