diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-05-01 19:06:35 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-05-01 19:06:35 +0000 |
commit | 63882a13e073afa4efed39459215e239bfa23f9d (patch) | |
tree | f046738fb0fe5bd1920ff9b0c4a979d01cf09d32 /ldso/ldso/i386/dl-sysdep.h | |
parent | b30fc2cc3c281d55e6c3b7d6707b504e4ca3acd3 (diff) |
Another cleanup. Never pass addresses as an 'int'
-Erik
Diffstat (limited to 'ldso/ldso/i386/dl-sysdep.h')
-rw-r--r-- | ldso/ldso/i386/dl-sysdep.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ldso/ldso/i386/dl-sysdep.h b/ldso/ldso/i386/dl-sysdep.h index 64d4b7a46..d8e57a66c 100644 --- a/ldso/ldso/i386/dl-sysdep.h +++ b/ldso/ldso/i386/dl-sysdep.h @@ -13,7 +13,7 @@ * the address if the first argument, on other platforms we need to * do something a little more subtle here. */ -#define GET_ARGV(ARGVP, ARGS) ARGVP = ((unsigned int*) & ARGS) +#define GET_ARGV(ARGVP, ARGS) ARGVP = ((unsigned long*) & ARGS) /* * Get the address of the Global offset table. This must be absolute, not * relative. @@ -42,14 +42,14 @@ *REL += SYMBOL; \ break; \ case R_386_PC32: \ - *REL += SYMBOL - (unsigned int) REL; \ + *REL += SYMBOL - (unsigned long) REL; \ break; \ case R_386_GLOB_DAT: \ case R_386_JMP_SLOT: \ *REL = SYMBOL; \ break; \ case R_386_RELATIVE: \ - *REL += (unsigned int) LOAD; \ + *REL += (unsigned long) LOAD; \ break; \ default: \ _dl_exit(1); \ @@ -76,6 +76,6 @@ #define ELF_TARGET "386" struct elf_resolve; -extern unsigned int _dl_linux_resolver(struct elf_resolve * tpnt, int reloc_entry); +extern unsigned long _dl_linux_resolver(struct elf_resolve * tpnt, int reloc_entry); #define do_rem(result, n, base) result = (n % base) |