Folks,
even if a bit late here the patch set for handling protected symbols for
all architecture in the common code _dl_find_hash.
The implementation is based on a Jocke's proposal modified according to a my
suggestion that will allow to cope with proetcted symbols, TLS, FDPIC
and prelinking as well.

Work build/runtime tested on SH4. The only architecture that has not been
changed is FRV that seems to be completely broken (it is using a 
_dl_find_hash_mod
function that it is not longer available).

I see rooms for further tidy-up of the ldso code after this change, but I-d 
prefer
to apply them later.

I'd kindly ask arch maintainers and uClibc fans to review and possibily test
their own preferred archs. We should be able to include this code for the 
0.9.32 asap.

Thanks and enjoy uClibc,
Carmelo

Carmelo Amoroso (4):
  Revert "ldso/i386: support protected symbols"
  Revert "ldso_sh: add support for protected symbols to SH"
  Revert "ldso/arm: Correct protected symbol resolution"
  ldso: get rid of _dl_lookup_hash

Salvatore Cro (1):
  Add protected symbols support for all architectures

 ldso/include/dl-hash.h        |   20 ++++++------------
 ldso/ldso/arm/elfinterp.c     |   17 ++++++---------
 ldso/ldso/avr32/elfinterp.c   |   13 ++++++-----
 ldso/ldso/bfin/elfinterp.c    |   18 +++++++++++-----
 ldso/ldso/cris/elfinterp.c    |    5 +++-
 ldso/ldso/dl-hash.c           |   22 ++++++++++++--------
 ldso/ldso/i386/elfinterp.c    |   16 ++++++--------
 ldso/ldso/m68k/elfinterp.c    |   15 +++++++------
 ldso/ldso/mips/elfinterp.c    |    6 ++++-
 ldso/ldso/powerpc/elfinterp.c |   20 ++++++++++--------
 ldso/ldso/sh/elfinterp.c      |   44 +++++++++++++++++++---------------------
 ldso/ldso/sh64/elfinterp.c    |    7 ++++-
 ldso/ldso/sparc/elfinterp.c   |   24 ++++++++++++----------
 ldso/ldso/x86_64/elfinterp.c  |   20 ++++++++++--------
 ldso/ldso/xtensa/elfinterp.c  |   11 +++++----
 ldso/libdl/libdl.c            |    7 +++--
 16 files changed, 141 insertions(+), 124 deletions(-)

-- 
1.7.3.4
_______________________________________________
uClibc mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to