PATCH for 64-bit MIPS ELF buglets
Ian Lance Taylor
ian@airs.com
Mon Jul 12 20:24:00 GMT 1999
Date: 12 Jul 1999 23:10:19 -0400
From: Ian Lance Taylor <ian@zembu.com>
A R_MIPS_26 relocation implies a 32-bit instruction. When such a
relocation refers to a 16 bit symbol, the opcode is required to be
jal. The linker automatically converts it to jalx.
Similarly, a R_MIPS16_26 relocation implies a 16-bit instruction.
When such a relocation refers to a 32-bit symbol, the opcode is
required to be jal. The linker automatically converts it to jalx.
A small correction: in either case, the opcode is required to be
either jal or jalx. An instance of jal is converted to jalx.
Ian
More information about the Binutils
mailing list