This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

MIPS PLT entry


Hi,

  From elfxx-mips.c, we have

/* The format of subsequent PLT entries.  */
static const bfd_vma mips_exec_plt_entry[] = {
  0x3c0f0000,   /* lui $15, %hi(.got.plt entry)                 */
  0x01f90000,   /* l[wd] $25, %lo(.got.plt entry)($15)          */
  0x25f80000,   /* addiu $24, $15, %lo(.got.plt entry)          */
  0x03200008    /* jr $25                                       */
};

  Should we reorder the last two instructions to have jr and then addiu?
Thanks!

Regards,
Chao-ying


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]