This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch 2/2] iFort compat.: case insensitive symbols (PR 11313)
On Wed, 24 Nov 2010 21:31:12 +0100, Joel Brobecker wrote:
> > For almost all the Fedora packages .symtab is in the separate debug
> > info file. glibc (not sure if anything else) has an exception it has
> > .symtab still in the primary binary file. (I do not agree much with
> > such exception myself.)
>
> I thought you needed that symbol table in order to link against a shared
> library?
That is `.dynsym'. GDB also reads it into minsym, though. Yes, `.dynsym' is
always present in the primary binary file.
`.dynsym' is processed by ld.so, `.symtab' is ignored by ld.so and is provided
there only for debuggers in shared libraries. `.dynsym' is covered by a LOAD
segment, `.symtab' is not, therefore it cannot be used during runtime.
Regards,
Jan