summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-07-17 01:19:15 +0000
committerEric Andersen <andersen@codepoet.org>2001-07-17 01:19:15 +0000
commit1c3d156a919cfb234753a392ae84b4e302f36b03 (patch)
treee8f316155fe00bb3c82f8dd2eb3ef81ab45700bb /ldso
parente550d5a49553ce47f5cf28a1b3ddd10992bb9423 (diff)
Oops. USE_CACHE was disabled and didn't compile when enabled
since I'd forgotten a one liner... -Erik
Diffstat (limited to 'ldso')
-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;