https://sourceware.org/bugzilla/show_bug.cgi?id=27486
--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to Nick Clifton from comment #2) > 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. The symbol tables shouldn't depend on the separate 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. > The info being asked doesn't exist in the separate debug info files. A patch is posted at https://sourceware.org/pipermail/binutils/2021-February/115568.html -- You are receiving this mail because: You are on the CC list for the bug.