summaryrefslogtreecommitdiff
path: root/ldso/libdl/dlib.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-05-01 18:42:50 +0000
committerEric Andersen <andersen@codepoet.org>2001-05-01 18:42:50 +0000
commitb30fc2cc3c281d55e6c3b7d6707b504e4ca3acd3 (patch)
tree1341203bae42e265d85c9472290d324342375bc0 /ldso/libdl/dlib.c
parentb7bc129184a23d4c9c70774362f4eeaa5e0b44c8 (diff)
I forgot to check this in.
-Erik
Diffstat (limited to 'ldso/libdl/dlib.c')
-rw-r--r--ldso/libdl/dlib.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/ldso/libdl/dlib.c b/ldso/libdl/dlib.c
index 5fd411505..317ab2253 100644
--- a/ldso/libdl/dlib.c
+++ b/ldso/libdl/dlib.c
@@ -139,12 +139,12 @@ void * _dlopen(char * libname, int flag)
{
struct elf_resolve *tcurr;
struct elf_resolve * tpnt1;
- struct dynamic * dpnt;
+ Elf32_Dyn * dpnt;
char * lpnt;
tcurr = tpnt;
do{
- for(dpnt = (struct dynamic *) tcurr->dynamic_addr; dpnt->d_tag; dpnt++)
+ for(dpnt = (Elf32_Dyn *) tcurr->dynamic_addr; dpnt->d_tag; dpnt++)
{
if(dpnt->d_tag == DT_NEEDED)
@@ -330,7 +330,7 @@ static int do_dlclose(void * vhandle, int need_fini)
{
struct dyn_elf * rpnt, *rpnt1;
struct dyn_elf *spnt, *spnt1;
- struct elf_phdr * ppnt;
+ elf_phdr * ppnt;
struct elf_resolve * tpnt;
int (*dl_elf_fini)(void);
void (*dl_brk)(void);
@@ -603,13 +603,13 @@ int _dladdr(void * __address, Dl_info * __dlip )
{
char * strtab;
- struct elf32_sym * symtab;
+ Elf32_Sym * symtab;
int hn, si;
int sf;
int sn = 0;
void* sa = 0;
- symtab = (struct elf32_sym *) (pelf->dynamic_info[DT_SYMTAB] +
+ symtab = (Elf32_Sym *) (pelf->dynamic_info[DT_SYMTAB] +
pelf->loadaddr);
strtab = (char *) (pelf->dynamic_info[DT_STRTAB] + pelf->loadaddr);