Prev Next Secure Lazy Binding Slide #20

sparc64 Initial PLT

      .PLT1: save   %sp, -176, %sp      # create stack frame
             ...                        # calculate lazy bind addr and jump
      ...
      .PLTn: sethi  (. - .PLT0), %g1    # load offset of entry
             ba,a   %xcc, .PLT1         # jump to above
             nop; nop
             nop; nop
             nop; nop


EuroBSDCon 2014 Copyright © 2014 Philip Guenther