Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 3689 → Rev 3690

/branches/dynload/uspace/srv/loader/main.c
255,6 → 255,7
printf("Run interpreter.\n");
printf("entry point: 0x%lx\n", interp_info.entry);
printf("pcb address: 0x%lx\n", &pcb);
printf("prog dynamic: 0x%lx\n", prog_info.dynamic);
 
is_dyn_linked = true;
ipc_answer_0(rid, EOK);
/branches/dynload/uspace/srv/loader/elf_load.c
300,6 → 300,12
elf->info->interp = "/app/dload";
break;
case PT_DYNAMIC:
/* Record pointer to dynamic section into info structure */
elf->info->dynamic =
(void *)((uint8_t *)entry->p_vaddr + elf->bias);
printf("dynamic section found at 0x%x\n",
(uintptr_t)elf->info->dynamic);
break;
case PT_SHLIB:
case PT_NOTE:
case PT_LOPROC:
457,11 → 463,6
}
break;
case SHT_DYNAMIC:
/* Record pointer to dynamic section into info structure */
elf->info->dynamic =
(void *)((uint8_t *)entry->sh_addr + elf->bias);
printf("dynamic section found at 0x%x\n",
(uintptr_t)elf->info->dynamic);
break;
default:
break;
/branches/dynload/uspace/srv/pci/libpci/Makefile
5,6 → 5,7
 
LIBC_PREFIX=$(shell cd ../../../lib/libc; pwd)
 
include ../../../Makefile.config
include $(LIBC_PREFIX)/Makefile.toolchain
 
LIBS = $(LIBC_PREFIX)/libc.a