evolution vs prelink on debian ppc sid
Roland McGrath
roland@redhat.com
Thu Sep 26 15:24:00 GMT 2002
You should use `const' for the TAGS table. Otherwise, though it's fairly
ugly this seems like the only reasonable thing to do. In fact, there is
nothing in the ELF specs that disallows putting the string table elsewhere
in the first place or moving it around with some other tool in any object.
So I think the prudent thing to do is perform this search for all objects,
not just the executable itself. AFAIK dl_addr is only used as a debugging
aid and its performance is never an issue, but if one cared about the
performance of this little search it could cache the results in the link_map.
More information about the Libc-alpha
mailing list