[git commit] ldso: remove duplicated assignment with TLS symbol
Carmelo Amoroso
carmelo.amoroso at st.com
Thu Mar 15 10:55:35 UTC 2012
commit: http://git.uclibc.org/uClibc/commit/?id=b8bf046266f6a76001309fee1fee66e160512722
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master
The tpnt field is already set, so not needed to assign it again.
Signed-off-by: Carmelo Amoroso <carmelo.amoroso at st.com>
---
ldso/ldso/dl-hash.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/ldso/ldso/dl-hash.c b/ldso/ldso/dl-hash.c
index 9b67156..36ebec6 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
More information about the uClibc-cvs
mailing list