summaryrefslogtreecommitdiff
path: root/libexec/ld.so
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-09-26 09:16:43 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-09-26 09:16:43 +0000
commite982b014b24f900542b7f953174a6316ed850598 (patch)
tree37cf864b0fc813ba906cff20e2f2d961100b1802 /libexec/ld.so
parentf8801798989bd59df62dab8583f2c25476da7727 (diff)
Adapt to Elf_Word change.
XXX - Dyn.u should just go away.
Diffstat (limited to 'libexec/ld.so')
-rw-r--r--libexec/ld.so/resolve.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/libexec/ld.so/resolve.h b/libexec/ld.so/resolve.h
index 5a2fab71d26..11114dec02b 100644
--- a/libexec/ld.so/resolve.h
+++ b/libexec/ld.so/resolve.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: resolve.h,v 1.5 2001/06/06 12:31:52 art Exp $ */
+/* $OpenBSD: resolve.h,v 1.6 2001/09/26 09:16:42 art Exp $ */
/*
* Copyright (c) 1998 Per Fogelstrom, Opsycon AB
@@ -65,31 +65,31 @@ typedef struct elf_object {
union {
u_long info[DT_NUM + DT_PROCNUM];
struct {
- Elf_Word null; /* Not used */
- Elf_Word needed; /* Not used */
- Elf_Word pltrelsz;
- Elf_Word *pltgot;
- Elf_Word *hash;
+ Elf_Addr null; /* Not used */
+ Elf_Addr needed; /* Not used */
+ Elf_Addr pltrelsz;
+ Elf_Addr *pltgot;
+ Elf_Addr *hash;
const char *strtab;
const Elf_Sym *symtab;
Elf_RelA *rela;
- Elf_Word relasz;
- Elf_Word relaent;
- Elf_Word strsz;
- Elf_Word syment;
+ Elf_Addr relasz;
+ Elf_Addr relaent;
+ Elf_Addr strsz;
+ Elf_Addr syment;
void (*init)(void);
void (*fini)(void);
const char *soname;
const char *rpath;
- Elf_Word symbolic;
+ Elf_Addr symbolic;
Elf_Rel *rel;
- Elf_Word relsz;
- Elf_Word relent;
- Elf_Word pltrel;
- Elf_Word debug;
- Elf_Word textrel;
- Elf_Word jmprel;
- Elf_Word bind_now;
+ Elf_Addr relsz;
+ Elf_Addr relent;
+ Elf_Addr pltrel;
+ Elf_Addr debug;
+ Elf_Addr textrel;
+ Elf_Addr jmprel;
+ Elf_Addr bind_now;
} u;
} Dyn;
#define dyn Dyn.u