unreferenced local symbols generated in .dynsym

Roland McGrath roland@redhat.com
Wed Apr 23 19:13:00 GMT 2003


I am probably missing something.  I don't see why section symbols are ever
useful in .dynsym.  The layout is fixed by the time that's being made, so
relocs to sections can be converted to R_*_RELATIVE.  If there are relocs
of other types that require a symbol and can't be converted (non-wordsize
relocs for some architectures and so forth), then they can still be
converted to be relative to a single local symbol in .dynsym.  



More information about the Binutils mailing list