aboutsummaryrefslogtreecommitdiff
path: root/elf/linux-compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/linux-compat.c')
-rw-r--r--elf/linux-compat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/elf/linux-compat.c b/elf/linux-compat.c
index 8821a14..b42c78a 100644
--- a/elf/linux-compat.c
+++ b/elf/linux-compat.c
@@ -32,9 +32,9 @@ Cambridge, MA 02139, USA. */
void
_init (void)
{
- const Elf32_Sym *ref = NULL;
+ const ElfW(Sym) *ref = NULL;
struct link_map *scope[2] = { _dl_loaded, NULL };
- Elf32_Addr loadbase = _dl_lookup_symbol ("atexit", &ref, scope,
+ ElfW(Addr) loadbase = _dl_lookup_symbol ("atexit", &ref, scope,
"<ld-linux.so.1 initialization>",
0, 1);
(*(__typeof (atexit) *) (loadbase + ref->st_value)) (&_dl_fini);