[patch] Strange stepping behaviour with ppc32 with secure PLTs
Alan Modra
amodra@bigpond.net.au
Sat May 20 01:32:00 GMT 2006
On Fri, May 19, 2006 at 09:24:14AM -0700, PAUL GILLIAM wrote:
> Hold the presses! Could the fact that the libc being used does not have
> a '.symtab' section be the cause of the problem? For some reason, the
> library I was using has a '.dynsym' section, but no '.symtab' section.
> I suspect that someone was trying to save some disc space and caused
> several problems.
>
> The routine 'bfd_get_synthetic_symtab' takes both static and dynamic
> symbol tables as input. So it's no wonder it's not doing the right
> thing if one is missing.
No. ppc32 uses the generic _bfd_elf_get_synthetic_symtab, which only
uses the dyn syms. The only target to use both sym tables is ppc64,
where synthetic syms are handy for disassembly of relocatable object
files (which don't have a dynamic sym table).
--
Alan Modra
IBM OzLabs - Linux Technology Centre
More information about the Gdb-patches
mailing list