From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Lance Taylor To: mark@codesourcery.com Cc: binutils@sourceware.cygnus.com Subject: Re: PATCH for 64-bit MIPS ELF buglets Date: Mon, 12 Jul 1999 20:24:00 -0000 Message-id: <19990713032335.1322.qmail@daffy.airs.com> References: <19990712191858.6381.qmail@daffy.airs.com> <19990712124625I.mitchell@codesourcery.com> <19990712200136.7955.qmail@daffy.airs.com> <19990712173053Z.mitchell@codesourcery.com> <19990713031019.1279.qmail@daffy.airs.com> X-SW-Source: 1999-q3/msg00165.html Date: 12 Jul 1999 23:10:19 -0400 From: Ian Lance Taylor 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