summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-02-04 05:54:33 +0000
committerEric Andersen <andersen@codepoet.org>2003-02-04 05:54:33 +0000
commit8921da1c9b239e717a3b63f59ac3092d79544012 (patch)
treee5c97849c946bfae93b6bff556b0edcf8117a4b8 /ldso
parentace0567fd06f77d17cc61372bef14c78d9e92559 (diff)
Patch from Stefan Allius to fix a compiler warning
Diffstat (limited to 'ldso')
-rw-r--r--ldso/ldso/ldso.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ldso/ldso/ldso.c b/ldso/ldso/ldso.c
index b8a7d09b6..fa1be0755 100644
--- a/ldso/ldso/ldso.c
+++ b/ldso/ldso/ldso.c
@@ -208,11 +208,13 @@ 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;
int status;
+#ifndef FORCE_SHAREABLE_TEXT_SEGMENTS
+ Elf32_Dyn *dpnt_debug = NULL;
+#endif
/* WARNING! -- we cannot make _any_ funtion calls until we have