This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Bug#62008: ld leaves hidden/internal symbols in the symbol table (Patch Included)


"H . J . Lu" <hjl@valinux.com> writes:

> >       /* XXX: The ABI draft says the linker must turn hidden and
> >          internal symbols into STB_LOCAL symbols when producing the
> >          DSO. However, if ld.so honors st_other in the dynamic table,
> >          this would not be necessary.  */

No!!!  This is wrong!  .hidden and .protected must jump through the
PLT.  This is part of the whole plan.  If it does not work with the
current ld.so.: too bad.  This is brand new functionality.  Wait for
glibc 2.2 or appropriately changed loaders on other architectures.

If this already happens somewhere else in bfd, reverse it.

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]