This is the mail archive of the libc-hacker@sourceware.org mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix handling of STB_GNU_UNIQUE in LD_TRACE_PRELINKING


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/23/2010 03:33 AM, Jakub Jelinek wrote:
> Attached are two possible patches.  The second, shorter one, is all that is
> needed currently (I believe).  The difference between the patches is in
> handling libraries with DT_SYMBOLIC and STB_GNU_UNIQUE symbols.  Apparently
> current GNU ld if there is a relocation against STB_GNU_UNIQUE symbol
> defined in the library itself, doesn't emit any relocation and resolves at
> link time (possibly through a relative relocation).  Is that what we want
> though?  Then the STB_GNU_UNIQUE symbols aren't really unique...

Right.  The linker has to be fixed.  I've applied the first patch.

- -- 
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkuqSNcACgkQ2ijCOnn/RHQkNACgu14Wmhn6JxpmuDbE3PEUG82a
qO8AniThFZts0yE1zJ+IXaBQjD3P1XOW
=2rjh
-----END PGP SIGNATURE-----


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