summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-11-28 15:21:10 +0000
committerEric Andersen <andersen@codepoet.org>2002-11-28 15:21:10 +0000
commitcc9ad66f8d4c5d356cf805fd12f2552e71581093 (patch)
treeb366bec3c1272336ef8629e50a93e54f182efec8 /ldso
parent224c89343a4ce6f1e7237074bb1ae403d860912b (diff)
Kill a bit of unused cruft
Diffstat (limited to 'ldso')
-rw-r--r--ldso/ldso/ldso.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/ldso/ldso/ldso.c b/ldso/ldso/ldso.c
index 9a119a92c..b897c7dea 100644
--- a/ldso/ldso/ldso.c
+++ b/ldso/ldso/ldso.c
@@ -209,7 +209,6 @@ LD_BOOT(unsigned long args)
Elf32_auxv_t auxvt[AT_EGID + 1];
unsigned char *malloc_buffer, *mmap_zero;
Elf32_Dyn *dpnt;
- Elf32_Dyn *dpnt_debug = NULL;
unsigned long *hash_addr;
struct r_debug *debug_addr;
int indx;
@@ -432,8 +431,6 @@ LD_BOOT(unsigned long args)
if (dpnt->d_tag == DT_DEBUG)
#ifdef FORCE_SHAREABLE_TEXT_SEGMENTS
dpnt->d_un.d_val = (unsigned long) debug_addr;
-#else
- dpnt_debug = dpnt;
#endif
if (dpnt->d_tag == DT_TEXTREL)
app_tpnt->dynamic_info[DT_TEXTREL] = 1;
@@ -486,9 +483,6 @@ LD_BOOT(unsigned long args)
}
}
}
-
- /* Now we can store the debug structure address */
- dpnt_debug->d_un.d_val = (unsigned long) debug_addr;
#endif