Use of readelf -D option

David Arnold david@mantara.com
Wed Apr 11 01:11:00 GMT 2007


hi,

in porting some testsuite code to RHEL5/x86_64, i've run into a problem
with readelf.  the code runs readelf against our built shared libs,
extracts a list of the visible global symbols, and checks that there's a
suitable man page for each (with a list of known exceptions).

on other systems (eg binutils 2.17 on Debian/unstable i386 and binutils
2.15.92.0.2 on RHEL4/x86_64), readelf -sD appears to list the .dynsym
symbol table only.  but on RHEL5/x86_64, it produces:

  # readelf -sD lib/.libs/libelvin.so.4.1.9
  Dynamic symbol information is not available for displaying symbols.
  # 

i haven't been able to find an explanation of the change in behaviour:
can anyone enlighten me?

thanks muchly,




d



More information about the Binutils mailing list