Implement STB_GNU_UNIQUE handling.
authorUlrich Drepper <drepper@redhat.com>
Fri, 10 Jul 2009 06:52:22 +0000 (23:52 -0700)
committerUlrich Drepper <drepper@redhat.com>
Fri, 10 Jul 2009 06:52:22 +0000 (23:52 -0700)
commit415ac3df9b10ae426d4f71f9d48003f6a3c7bd8d
treeffdd1aed425688539db80ff7b9daf6f6ddbcbfff
parentb4f55afd031f14531ba7681032fc5f75a1578320
Implement STB_GNU_UNIQUE handling.

Some symbols have to be identified process-wide by their name.  This is
particularly important for some C++ features (e.g., class local static data
and static variables in inline functions).  This cannot completely be
implemented with ELF functionality so far.  The STB_GNU_UNIQUE binding
helps by ensuring the dynamic linker will always use the same definition for
all symbols with the same name and this binding.
16 files changed:
ChangeLog
config.h.in
configure
configure.in
elf/Makefile
elf/dl-lookup.c
elf/dl-open.c
elf/do-lookup.h
elf/rtld.c
elf/tst-unique1.c [new file with mode: 0644]
elf/tst-unique1mod1.c [new file with mode: 0644]
elf/tst-unique1mod2.c [new file with mode: 0644]
elf/tst-unique2.c [new file with mode: 0644]
elf/tst-unique2mod1.c [new file with mode: 0644]
elf/tst-unique2mod2.c [new file with mode: 0644]
sysdeps/generic/ldsodefs.h