diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-05-08 17:08:03 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-05-08 17:08:03 +0000 |
commit | d3fda8f182319ac08c855a15a7a5369d1714ea44 (patch) | |
tree | 46f43409f869b3e5bf408c01dfd123fb7c9586a6 /ldso | |
parent | a15d4cd59db2be25fe6f4b6bdb27dace87ff281d (diff) | |
download | uClibc-alpine-d3fda8f182319ac08c855a15a7a5369d1714ea44.tar.bz2 uClibc-alpine-d3fda8f182319ac08c855a15a7a5369d1714ea44.tar.xz |
Some very minor cleanups
Diffstat (limited to 'ldso')
-rw-r--r-- | ldso/ldso/i386/dl-sysdep.h | 4 | ||||
-rw-r--r-- | ldso/ldso/i386/elfinterp.c | 5 | ||||
-rw-r--r-- | ldso/ldso/i386/ld_sysdep.h | 4 | ||||
-rw-r--r-- | ldso/ldso/i386/sysdep.h | 4 |
4 files changed, 9 insertions, 8 deletions
diff --git a/ldso/ldso/i386/dl-sysdep.h b/ldso/ldso/i386/dl-sysdep.h index d8e57a66c..8e7fb656b 100644 --- a/ldso/ldso/i386/dl-sysdep.h +++ b/ldso/ldso/i386/dl-sysdep.h @@ -25,8 +25,8 @@ */ #define INIT_GOT(GOT_BASE,MODULE) \ { \ - 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; \ } /* diff --git a/ldso/ldso/i386/elfinterp.c b/ldso/ldso/i386/elfinterp.c index aa795d803..6ddf92f1c 100644 --- a/ldso/ldso/i386/elfinterp.c +++ b/ldso/ldso/i386/elfinterp.c @@ -305,8 +305,9 @@ int _dl_parse_copy_information(struct dyn_elf *xpnt, unsigned long rel_addr, _dl_symbol(strtab + symtab[symtab_index].st_name)) continue; - symbol_addr = (unsigned long) _dl_find_hash(strtab + symtab[symtab_index].st_name, - xpnt->next, (int) reloc_addr, NULL, 1); + symbol_addr = (unsigned long) _dl_find_hash(strtab + + symtab[symtab_index].st_name, xpnt->next, + (unsigned long) reloc_addr, NULL, 1); if (!symbol_addr) { _dl_fdprintf(2, "%s: can't resolve symbol '%s'\n", _dl_progname, strtab + symtab[symtab_index].st_name); diff --git a/ldso/ldso/i386/ld_sysdep.h b/ldso/ldso/i386/ld_sysdep.h index d8e57a66c..8e7fb656b 100644 --- a/ldso/ldso/i386/ld_sysdep.h +++ b/ldso/ldso/i386/ld_sysdep.h @@ -25,8 +25,8 @@ */ #define INIT_GOT(GOT_BASE,MODULE) \ { \ - 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; \ } /* diff --git a/ldso/ldso/i386/sysdep.h b/ldso/ldso/i386/sysdep.h index d8e57a66c..8e7fb656b 100644 --- a/ldso/ldso/i386/sysdep.h +++ b/ldso/ldso/i386/sysdep.h @@ -25,8 +25,8 @@ */ #define INIT_GOT(GOT_BASE,MODULE) \ { \ - 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; \ } /* |