This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[PATCH] Allow lazy binding if R_MIPS_JALR relocs are present
- From: Thiemo Seufer <ica2_ts at csv dot ica dot uni-stuttgart dot de>
- To: binutils at sources dot redhat dot com
- Date: Sat, 28 Jun 2003 01:24:23 +0200
- Subject: [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;
}