diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-06-30 22:03:11 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-06-30 22:03:11 +0000 |
commit | 6512a60090c0bcc35742f254b48d7443c7880e3f (patch) | |
tree | b2d48a6e0111b39abe4416cb32a810c2cb1b5117 /ldso/libdl/libdl.c | |
parent | 61e5097b07e3b7283c22cf6e425696cb4219940d (diff) |
change all Elf32_* usage to ElfW(*) usage since we shouldnt care about the bitsize
Diffstat (limited to 'ldso/libdl/libdl.c')
-rw-r--r-- | ldso/libdl/libdl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ldso/libdl/libdl.c b/ldso/libdl/libdl.c index 3b01d3979..4c8af8ad9 100644 --- a/ldso/libdl/libdl.c +++ b/ldso/libdl/libdl.c @@ -228,12 +228,12 @@ void *dlopen(const char *libname, int flag) dep_list = runp2 = runp; for (; runp; runp = runp->next) { - Elf32_Dyn *dpnt; + ElfW(Dyn) *dpnt; char *lpntstr; nlist++; runp->tpnt->init_fini = NULL; /* clear any previous dependcies */ - for (dpnt = (Elf32_Dyn *) runp->tpnt->dynamic_addr; dpnt->d_tag; dpnt++) { + for (dpnt = (ElfW(Dyn) *) runp->tpnt->dynamic_addr; dpnt->d_tag; dpnt++) { if (dpnt->d_tag == DT_NEEDED) { char *name; @@ -657,14 +657,14 @@ int dladdr(const void *__address, Dl_info * __info) { char *strtab; - Elf32_Sym *symtab; + ElfW(Sym) *symtab; int hn, si; int sf; int sn = 0; ElfW(Addr) sa; sa = 0; - symtab = (Elf32_Sym *) (pelf->dynamic_info[DT_SYMTAB]); + symtab = (ElfW(Sym) *) (pelf->dynamic_info[DT_SYMTAB]); strtab = (char *) (pelf->dynamic_info[DT_STRTAB]); sf = 0; |