Movatterモバイル変換
[0]ホーム
This is the mail archive of thebinutils@sources.redhat.commailing list for thebinutils project.
ld patch for irix6
- From: Richard Sandiford <rsandifo at redhat dot com>
- To: binutils at sources dot redhat dot com
- Cc: echristo at redhat dot com, drow at mvista dot com
- Date: 11 Jun 2003 20:05:36 +0100
- Subject: ld patch for irix6
[Daniel, this is another last-minute plea for 2.14, sorry.]Has anyone tried using gas with the native irix linker? I was tryingto use them to bootstrap gcc, and although the boostrap itself went OK,it produced invalid DSOs.As far as I can tell, the problem was with gas's .pdr sections.The linker knew that they weren't supposed to be loaded, but forsome reason it created dynamic relocations from .rela.pdr. Theserelocations had invalid addresses, so rld dumped core.Anyway, I'm not trying to fix that here, but it encouraged me to try afully-gnu bootstrap. The gnu linker seems to be in pretty good shape,except that the n64 emulation doesn't have a default library searchpath. The patch below is an attempt to fix that.Tested on mips-sgi-irix6.5. OK to install?Richard* configure.tgt (mips*-sgi-irix6*): Add the o32 and n64 emulationsto $targ_extra_libpath.Index: ld/configure.tgt===================================================================RCS file: /cvs/src/src/ld/configure.tgt,vretrieving revision 1.130diff -c -d -p -F^\([(a-zA-Z0-9_]\|#define\) -r1.130 configure.tgt*** ld/configure.tgt10 Jun 2003 07:09:31 -00001.130--- ld/configure.tgt11 Jun 2003 18:15:20 -0000*************** mips*-dec-osf*)targ_emul=mipslit ;;*** 387,392 ****--- 387,393 ---- mips*-sgi-irix5*)targ_emul=elf32bsmip ;; mips*-sgi-irix6*)targ_emul=elf32bmipn32 targ_extra_emuls="elf32bsmip elf64bmip"+ targ_extra_libpath=$targ_extra_emuls ;; mips*-sgi-irix*)targ_emul=mipsbig ;; mips*el-*-ecoff*)targ_emul=mipsidtl ;;
[8]ページ先頭