summaryrefslogtreecommitdiff
path: root/ldso/libdl
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-06-30 22:03:11 +0000
committerMike Frysinger <vapier@gentoo.org>2005-06-30 22:03:11 +0000
commit6512a60090c0bcc35742f254b48d7443c7880e3f (patch)
treeb2d48a6e0111b39abe4416cb32a810c2cb1b5117 /ldso/libdl
parent61e5097b07e3b7283c22cf6e425696cb4219940d (diff)
change all Elf32_* usage to ElfW(*) usage since we shouldnt care about the bitsize
Diffstat (limited to 'ldso/libdl')
-rw-r--r--ldso/libdl/libdl.c8
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;