summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
Diffstat (limited to 'ldso')
-rw-r--r--ldso/ldso/m68k/dl-sysdep.h6
-rw-r--r--ldso/ldso/m68k/elfinterp.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/ldso/ldso/m68k/dl-sysdep.h b/ldso/ldso/m68k/dl-sysdep.h
index 4e5e09085..cf1d22004 100644
--- a/ldso/ldso/m68k/dl-sysdep.h
+++ b/ldso/ldso/m68k/dl-sysdep.h
@@ -11,8 +11,8 @@
/* Initialization sequence for a GOT. */
#define INIT_GOT(GOT_BASE,MODULE) \
do { \
- GOT_BASE[2] = (int) _dl_linux_resolve; \
- GOT_BASE[1] = (int) (MODULE); \
+ GOT_BASE[2] = (unsigned long) _dl_linux_resolve; \
+ GOT_BASE[1] = (unsigned long) (MODULE); \
} while(0)
/* Here we define the magic numbers that this dynamic loader should accept */
@@ -23,7 +23,7 @@ do { \
#define ELF_TARGET "m68k"
struct elf_resolve;
-extern unsigned int _dl_linux_resolver (struct elf_resolve *, int);
+extern unsigned long _dl_linux_resolver (struct elf_resolve *, int);
/* 4096 bytes alignment */
#define PAGE_ALIGN 0xfffff000
diff --git a/ldso/ldso/m68k/elfinterp.c b/ldso/ldso/m68k/elfinterp.c
index 914dc0ef6..e0e14409f 100644
--- a/ldso/ldso/m68k/elfinterp.c
+++ b/ldso/ldso/m68k/elfinterp.c
@@ -44,7 +44,7 @@
extern int _dl_linux_resolve(void);
-unsigned int
+unsigned long
_dl_linux_resolver(struct elf_resolve *tpnt, int reloc_entry)
{
int reloc_type;