/branches/dynload/uspace/lib/rtld/arch/ia32/include/elf_dyn.h |
---|
40,6 → 40,7 |
*/ |
#define R_386_32 1 |
#define R_386_PC32 2 |
#define R_386_GLOB_DAT 6 |
#define R_386_JUMP_SLOT 7 |
#define R_386_RELATIVE 8 |
/branches/dynload/uspace/lib/rtld/arch/ia32/src/reloc.c |
---|
120,6 → 120,11 |
*r_ptr += sym_addr; |
break; |
case R_386_PC32: |
// DPRINTF("fixup R_386_PC32 (b+v+a)\n"); |
*r_ptr += sym_addr - (uint32_t) r_ptr; |
break; |
case R_386_RELATIVE: |
// DPRINTF("fixup R_386_RELATIVE (b+a)\n"); |
*r_ptr += m->bias; |