Changeset a9bbe48d in mainline for uspace/srv/loader/elf_load.c
- Timestamp:
- 2010-01-27T22:23:50Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e7aa9f4
- Parents:
- 95e6c4f (diff), 1ccafee (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/loader/elf_load.c
r95e6c4f ra9bbe48d 342 342 seg_ptr = (void *) seg_addr; 343 343 344 DPRINTF("Load segment at addr 0x%x, size 0x%x\n", seg_addr,345 entry->p_memsz); 344 DPRINTF("Load segment at addr %p, size 0x%x\n", seg_addr, 345 entry->p_memsz); 346 346 347 347 if (entry->p_align > 1) { … … 370 370 mem_sz = entry->p_memsz + (entry->p_vaddr - base); 371 371 372 DPRINTF("Map to seg_addr= 0x%x-0x%x.\n", seg_addr,372 DPRINTF("Map to seg_addr=%p-%p.\n", seg_addr, 373 373 entry->p_vaddr + bias + ALIGN_UP(entry->p_memsz, PAGE_SIZE)); 374 374 … … 384 384 } 385 385 386 DPRINTF("as_area_create( 0x%lx, 0x%x, %d) -> 0x%lx\n",386 DPRINTF("as_area_create(%p, 0x%x, %d) -> 0x%lx\n", 387 387 base + bias, mem_sz, flags, (uintptr_t)a); 388 388 … … 461 461 elf->info->dynamic = 462 462 (void *)((uint8_t *)entry->sh_addr + elf->bias); 463 DPRINTF("Dynamic section found at 0x%x.\n",463 DPRINTF("Dynamic section found at %p.\n", 464 464 (uintptr_t)elf->info->dynamic); 465 465 break;
Note:
See TracChangeset
for help on using the changeset viewer.