[i386] Change [u]int32_t to [unsigned] int, rather than [unsigned] long
This brings us in to line with Linux definitions, and also simplifies adding x86_64 support since both platforms have 2-byte shorts, 4-byte ints and 8-byte long longs.
This commit is contained in:
+1
-1
@@ -72,7 +72,7 @@ static int elf_load_segment ( struct image *image, Elf_Phdr *phdr ) {
|
||||
}
|
||||
buffer = phys_to_user ( dest );
|
||||
|
||||
DBG ( "ELF loading segment [%lx,%lx) to [%lx,%lx,%lx)\n",
|
||||
DBG ( "ELF loading segment [%x,%x) to [%x,%x,%x)\n",
|
||||
phdr->p_offset, ( phdr->p_offset + phdr->p_filesz ),
|
||||
phdr->p_paddr, ( phdr->p_paddr + phdr->p_filesz ),
|
||||
( phdr->p_paddr + phdr->p_memsz ) );
|
||||
|
||||
Reference in New Issue
Block a user