This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
MIPS PLT entry
- From: "Fu, Chao-Ying" <fu at mips dot com>
- To: <binutils at sourceware dot org>
- Date: Fri, 12 Jun 2009 15:47:14 -0700
- Subject: 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