diff options
Diffstat (limited to 'recipes/uclibc/uclibc-git/0001-Revert-ldso-i386-support-protected-symbols.patch')
-rw-r--r-- | recipes/uclibc/uclibc-git/0001-Revert-ldso-i386-support-protected-symbols.patch | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/recipes/uclibc/uclibc-git/0001-Revert-ldso-i386-support-protected-symbols.patch b/recipes/uclibc/uclibc-git/0001-Revert-ldso-i386-support-protected-symbols.patch deleted file mode 100644 index f14872e7bf..0000000000 --- a/recipes/uclibc/uclibc-git/0001-Revert-ldso-i386-support-protected-symbols.patch +++ /dev/null @@ -1,45 +0,0 @@ -From 54cf252ad690363bfe7edec0cbdaf1654f58639e Mon Sep 17 00:00:00 2001 -From: Carmelo Amoroso <carmelo.amoroso@st.com> -Date: Wed, 12 Jan 2011 08:16:26 +0100 -Subject: [PATCH 1/5] Revert "ldso/i386: support protected symbols" - -This reverts commit ba38f0cec27b91cc7c605417ad047c4dc77d732f. -The generic implementation will cover all the architectures handling -the protected symbols in _dl_lookup_hash [ldso/ldso/dl-hash.c] - -Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com> ---- - ldso/ldso/i386/elfinterp.c | 10 ++-------- - 1 files changed, 2 insertions(+), 8 deletions(-) - -diff --git a/ldso/ldso/i386/elfinterp.c b/ldso/ldso/i386/elfinterp.c -index 1e3a2b2..a01c1d0 100644 ---- a/ldso/ldso/i386/elfinterp.c -+++ b/ldso/ldso/i386/elfinterp.c -@@ -175,9 +175,7 @@ _dl_do_reloc(struct elf_resolve *tpnt, struct dyn_elf *scope, - symbol_addr = 0; - symname = strtab + symtab[symtab_index].st_name; - -- if (symtab_index && -- (ELF32_ST_VISIBILITY(symtab[symtab_index].st_other) -- != STV_PROTECTED)) { -+ if (symtab_index) { - symbol_addr = (unsigned long)_dl_find_hash(symname, scope, tpnt, - elf_machine_type_class(reloc_type), &tls_tpnt); - -@@ -190,11 +188,7 @@ _dl_do_reloc(struct elf_resolve *tpnt, struct dyn_elf *scope, - && ELF32_ST_BIND(symtab[symtab_index].st_info) != STB_WEAK)) - return 1; - } else { -- if (symtab_index) -- symbol_addr = DL_FIND_HASH_VALUE(tpnt, elf_machine_type_class(reloc_type), -- &symtab[symtab_index]); -- else -- symbol_addr = symtab[symtab_index].st_value; -+ symbol_addr = symtab[symtab_index].st_value; - tls_tpnt = tpnt; - } - --- -1.7.3.4 - |