summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ldso/ldso/Makefile2
-rw-r--r--ldso/ldso/dl-elf.c2
-rw-r--r--ldso/ldso/readelflib1.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/ldso/ldso/Makefile b/ldso/ldso/Makefile
index a10087189..ab5d09ebc 100644
--- a/ldso/ldso/Makefile
+++ b/ldso/ldso/Makefile
@@ -24,7 +24,7 @@
TOPDIR=../../
include $(TOPDIR)Rules.mak
-TARGET_CFLAGS += #-DDL_DEBUG #-funroll-loops
+TARGET_CFLAGS += -DUSE_CACHE #-DDL_DEBUG #-funroll-loops
diff --git a/ldso/ldso/dl-elf.c b/ldso/ldso/dl-elf.c
index fa84dde52..049452bfa 100644
--- a/ldso/ldso/dl-elf.c
+++ b/ldso/ldso/dl-elf.c
@@ -42,7 +42,7 @@ static size_t _dl_cache_size = 0;
int _dl_map_cache(void)
{
int fd;
- struct kernel_stat st;
+ struct stat st;
header_t *header;
libentry_t *libent;
int i, strtabsize;
diff --git a/ldso/ldso/readelflib1.c b/ldso/ldso/readelflib1.c
index fa84dde52..049452bfa 100644
--- a/ldso/ldso/readelflib1.c
+++ b/ldso/ldso/readelflib1.c
@@ -42,7 +42,7 @@ static size_t _dl_cache_size = 0;
int _dl_map_cache(void)
{
int fd;
- struct kernel_stat st;
+ struct stat st;
header_t *header;
libentry_t *libent;
int i, strtabsize;