This is the mail archive of the binutils@sourceware.cygnus.com 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]

Re: PATCH for 64-bit MIPS ELF buglets


   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

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