This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

incomplete symtabs via dl_iterate_phdr?


I am trying to find all global symbols of a programm at runtime
from within that very programm. If I use dl_iterate_phdr
and search the DT_SYMTAB sections the result is incomplete.

source:
http://svn.dsource.org/projects/flectioned/trunk/elf2.c

That way only 55 symbols are found in libc while
"nm --extern-only --defined-only libc.a" returns 2455 symbols.

Is there any way to get a list of all defined symbols, their names
and addresses at runtime?

Thomas


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]