use architecture specific Elf header

This commit is contained in:
Martin Willi
2009-07-06 16:36:01 +02:00
parent 0c31b9db84
commit 92a65c506a
+1 -1
View File
@@ -110,7 +110,7 @@ static int callback(struct dl_phdr_info *dlpi, size_t size, Dl_info *dli)
for (i = 0; i < dlpi->dlpi_phnum; i++)
{
const Elf32_Phdr *sgmt = &dlpi->dlpi_phdr[i];
const ElfW(Phdr) *sgmt = &dlpi->dlpi_phdr[i];
/* we are interested in the executable LOAD segment */
if (sgmt->p_type == PT_LOAD &&