Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 3662 → Rev 3663

/branches/dynload/uspace/lib/rtld/arch/ppc32/src/reloc.c
40,6 → 40,7
#include <elf_dyn.h>
#include <symbol.h>
#include <rtld.h>
#include <smc.h>
 
#define __L(ptr) ((uint32_t)(ptr) & 0x0000ffff)
#define __HA(ptr) ((uint32_t)(ptr) >> 16)
233,6 → 234,11
}
}
 
/*
* Synchronize the used portion of PLT. This is necessary since
* we are writing instructions.
*/
smc_coherence(&plt[18], plt_n * 2 * sizeof(uint32_t));
}
 
/** @}