This is the mail archive of the binutils@sources.redhat.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]
Other format: [Raw text]

[PATCH] Allow lazy binding if R_MIPS_JALR relocs are present


Hello All,

this allows lazy binding for calls featuring R_MIPS_JALR relocations.
IRIX cc emits those for better PIC code optimization.


Thiemo


2003-06-28  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>

	/bfd/ChangeLog
	* elfxx-mips.c: Allow lazy binding for R_MIPS_JALR.


diff -BurpNX /bigdisk/src/gcc-exclude source-orig/bfd/elfxx-mips.c source/bfd/elfxx-mips.c
--- source-orig/bfd/elfxx-mips.c	Thu Jun 12 15:21:40 2003
+++ source/bfd/elfxx-mips.c	Fri Jun 27 10:06:04 2003
@@ -5512,6 +5544,7 @@ _bfd_mips_elf_check_relocs (abfd, info, 
 	case R_MIPS_CALL16:
 	case R_MIPS_CALL_HI16:
 	case R_MIPS_CALL_LO16:
+	case R_MIPS_JALR:
 	  break;
 	}
 


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