summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-06-07 14:18:51 +0000
committerMike Frysinger <vapier@gentoo.org>2006-06-07 14:18:51 +0000
commit93d19e64b6cbce2e865191bbd53deac26978242b (patch)
treee075917f877897ed46a5a7e01d54921064bdf9e8 /ldso
parent2e7d0f67b1d52e768a9d629212847e92385f9860 (diff)
use unsigned long like every other port as pointed out by Peter S. Mazinger
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;