summaryrefslogtreecommitdiff
path: root/ldso/libdl
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
parentb7bc129184a23d4c9c70774362f4eeaa5e0b44c8 (diff)
I forgot to check this in.
-Erik
Diffstat (limited to 'ldso/libdl')
-rw-r--r--ldso/libdl/dlib.c10
-rw-r--r--ldso/libdl/libdl.c10
2 files changed, 10 insertions, 10 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);
diff --git a/ldso/libdl/libdl.c b/ldso/libdl/libdl.c
index 5fd411505..317ab2253 100644
--- a/ldso/libdl/libdl.c
+++ b/ldso/libdl/libdl.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);