svn commit: trunk/uClibc/utils
vapier at uclibc.org
vapier at uclibc.org
Fri Dec 30 06:10:23 UTC 2005
Author: vapier
Date: 2005-12-29 22:10:22 -0800 (Thu, 29 Dec 2005)
New Revision: 13020
Log:
need to make sure elf_find_dynamic(key) is big enough to handle 64bit hosts
Modified:
trunk/uClibc/utils/ldd.c
trunk/uClibc/utils/readelf.c
Changeset:
Modified: trunk/uClibc/utils/ldd.c
===================================================================
--- trunk/uClibc/utils/ldd.c 2005-12-30 06:06:19 UTC (rev 13019)
+++ trunk/uClibc/utils/ldd.c 2005-12-30 06:10:22 UTC (rev 13020)
@@ -217,7 +217,7 @@
}
/* Returns value if return_val==1, ptr otherwise */
-void * elf_find_dynamic(int const key, ElfW(Dyn) *dynp,
+void * elf_find_dynamic( int64_t const key, ElfW(Dyn) *dynp,
ElfW(Ehdr) *ehdr, int return_val)
{
ElfW(Phdr) *pt_text = elf_find_phdr_type(PT_LOAD, ehdr);
Modified: trunk/uClibc/utils/readelf.c
===================================================================
--- trunk/uClibc/utils/readelf.c 2005-12-30 06:06:19 UTC (rev 13019)
+++ trunk/uClibc/utils/readelf.c 2005-12-30 06:10:22 UTC (rev 13020)
@@ -89,7 +89,7 @@
}
/* Returns value if return_val==1, ptr otherwise */
-void * elf_find_dynamic(int const key, ElfW(Dyn) *dynp,
+void * elf_find_dynamic( int64_t const key, ElfW(Dyn) *dynp,
ElfW(Ehdr) *ehdr, int return_val)
{
ElfW(Phdr) *pt_text = elf_find_phdr_type(PT_LOAD, ehdr);
More information about the uClibc-cvs
mailing list