.dynsym pain

Mark Mitchell mark@codesourcery.com
Mon Jul 12 21:57:00 GMT 1999


>>>>> "Richard" == Richard Henderson <rth@cygnus.com> writes:

    Richard> It would also necessitate the cleanup of the addition of
    Richard> the sections to the dynamic symbol table, as currently
    Richard> happens scattered across all the backends and elflink.h.

I don't fully understand all the issues you've raised, but doing the
cleanup you mention here is clearly a good idea.  I stumbled across
this more than once recently.

It seems to be that dynamic symbols, whether local or not, should be
in the hash table.  I found it vaguely offensive that the section
symbols, which wind up in the dynamic symbol table, had to be handled
specially.

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com


More information about the Binutils mailing list