summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2012-03-15 11:51:38 +0100
committerCarmelo Amoroso <carmelo.amoroso@st.com>2012-03-15 11:55:35 +0100
commitb8bf046266f6a76001309fee1fee66e160512722 (patch)
treeda9eb28e8ad8885fb682176e1c88d14640bb8992
parentbdff674a0264e9d8dd9b8b9041c28aa168927e5c (diff)
ldso: remove duplicated assignment with TLS symbol
The tpnt field is already set, so not needed to assign it again. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
-rw-r--r--ldso/ldso/dl-hash.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ldso/ldso/dl-hash.c b/ldso/ldso/dl-hash.c
index 9b671564f..36ebec684 100644
--- a/ldso/ldso/dl-hash.c
+++ b/ldso/ldso/dl-hash.c
@@ -355,7 +355,6 @@ char *_dl_find_hash(const char *name, struct r_scope_elem *scope, struct elf_res
#if defined(USE_TLS) && USE_TLS
if (ELF_ST_TYPE(sym->st_info) == STT_TLS) {
_dl_assert(sym_ref != NULL);
- sym_ref->tpnt = tpnt;
return (char *)sym->st_value;
}
#endif