diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-07-23 04:47:12 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-07-23 05:41:21 -0400 |
commit | d1031c7f8eba1bb65501144451bd9f1f2af5d8d9 (patch) | |
tree | 399ec25a06b4f772f03e806fa388ba05a6fb7df5 /ldso/ldso/ldso.c | |
parent | faec5053312194f9f9c05a3a98f0980c0054ad29 (diff) |
silence warnings in Blackfin ldso code
In file included from ./ldso/include/ldso.h:135,
from ldso/ldso/ldso.c:34:
./ldso/ldso/bfin/dl-inlines.h: In function '__dl_init_loadaddr_map':
./ldso/ldso/bfin/dl-inlines.h:43: warning: assignment makes pointer from integer without a cast
In file included from ldso/ldso/ldso.c:43:
ldso/ldso/bfin/elfinterp.c: In function '_dl_do_lazy_reloc':
ldso/ldso/bfin/elfinterp.c:299: warning: assignment makes pointer from integer without a cast
ldso/ldso/ldso.c: In function '_dl_get_ready_to_run':
ldso/ldso/ldso.c:534: warning: assignment makes integer from pointer without a cast
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'ldso/ldso/ldso.c')
-rw-r--r-- | ldso/ldso/ldso.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ldso/ldso/ldso.c b/ldso/ldso/ldso.c index 37247cd9a..19a9fae6e 100644 --- a/ldso/ldso/ldso.c +++ b/ldso/ldso/ldso.c @@ -531,7 +531,7 @@ void _dl_get_ready_to_run(struct elf_resolve *tpnt, DL_LOADADDR_TYPE load_addr, */ debug_addr->r_map = (struct link_map *) _dl_loaded_modules; debug_addr->r_version = 1; - debug_addr->r_ldbase = DL_LOADADDR_BASE(load_addr); + debug_addr->r_ldbase = (ElfW(Addr)) DL_LOADADDR_BASE(load_addr); debug_addr->r_brk = (unsigned long) &_dl_debug_state; _dl_debug_addr = debug_addr; |