Keep PLT relocations in a vector

- That means we have to copy them out of ELF ahead of time instead of
  referencing them from inside ELF on demand.  But this way we can keep
  one grand vector of all PLT-like relocations.  On PPC, this makes
  a difference: some PLT-like relocations (R_PPC64_JMP_IREL in
  particular) are stored in .rela.dyn, not .rela.plt.
5 files changed