/branches/dynload/uspace/app/iloader/elf_load.c |
---|
171,11 → 171,14 |
} |
/* The run-time dynamic linker is loaded with a bias */ |
printf("Object type: %d\n", header->e_type); |
if (header->e_type == ET_DYN) |
elf->bias = RTLD_BIAS; |
else |
elf->bias = 0; |
printf("Bias set to 0x%d\n", elf->bias); |
printf("parse segments\n"); |
/* Walk through all segment headers and process them. */ |