Prev Next | Secure Lazy Binding | Slide #23 |
.PLTn: sethi (. - .PLT0), %g1 # load offset of entry mov %o7, %g1 # save return address in %g1 call (addr - .) # relative call mov %g1, %o7 # restore return address nop; nop nop; nop
so we need to pass the kernel two blocks to copy into place
EuroBSDCon 2014 | Copyright © 2014 Philip Guenther |