From fb33b906916095eb3e0497bccbbb8017f9e4a4eb Mon Sep 17 00:00:00 2001 From: David O'Brien Date: Mon, 19 Feb 2001 06:51:51 +0000 Subject: [PATCH] 001-02-18 David O'Brien * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64, FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries. Approved by: Philip Blundell Message-Id: --- ld/ChangeLog | 5 +++++ ld/configure.tgt | 21 +++++++++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/ld/ChangeLog b/ld/ChangeLog index f03253c5df0..2fe147aa405 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +001-02-18 David O'Brien + + * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64, + FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries. + 2001-02-18 lars brinkhoff * Makefile.am: Add PDP-11 target. diff --git a/ld/configure.tgt b/ld/configure.tgt index ea96ab8faa9..33d1762fa34 100644 --- a/ld/configure.tgt +++ b/ld/configure.tgt @@ -40,6 +40,12 @@ sparc*-*-aout) targ_emul=sparcaout ;; sparc*-*-coff) targ_emul=coff_sparc ;; sparc*-*-elf) targ_emul=elf32_sparc ;; sparc*-*-sysv4*) targ_emul=elf32_sparc ;; +sparc64-*-freebsd* | sparcv9-*-freebsd*) + targ_emul=elf64_sparc + targ_extra_emuls="elf32_sparc" + targ_extra_libpath=$targ_extra_emuls + tdir_elf32_sparc=`echo ${targ_alias} | sed -e 's/64//'` + ;; sparc*-*-linux*aout*) targ_emul=sparclinux targ_extra_emuls="elf32_sparc sun4" tdir_elf32_sparc=`echo ${targ_alias} | sed -e 's/aout//'` @@ -91,6 +97,7 @@ i960-intel-nindy) targ_emul=gld960 ;; i960-*-rtems*) targ_emul=gld960coff ;; i960-*-elf*) targ_emul=elf32_i960 ;; ia64-*-elf*) targ_emul=elf64_ia64 ;; +ia64-*-freebsd*) targ_emul=elf64_ia64 ;; ia64-*-linux*) targ_emul=elf64_ia64 ;; m32r-*-*) targ_emul=m32relf ;; m68hc11-*-*|m6811-*-*) targ_emul=m68hc11elf @@ -142,6 +149,10 @@ i[3456]86-*-elf*) targ_emul=elf_i386 ;; i[3456]86-*-freebsdaout* | i[3456]86-*-freebsd[12].* | i[3456]86-*-freebsd[12]) targ_emul=i386bsd ;; i[3456]86-*-freebsd*) targ_emul=elf_i386 ;; +x86_64-*-freebsd*) targ_emul=elf_x86_64 + targ_extra_emuls=elf_i386 + tdir_elf_i386=`echo ${targ_alias} | sed -e 's/x86_64/i386/'` + ;; i[3456]86-*-sysv*) targ_emul=i386coff ;; i[3456]86-*-ptx*) targ_emul=i386coff ;; i[3456]86-*-mach*) targ_emul=i386mach ;; @@ -170,6 +181,7 @@ a29k-*-*) targ_emul=a29k ;; arm-*-aout | armel-*-aout) targ_emul=armaoutl ;; armeb-*-aout) targ_emul=armaoutb ;; arm-*-coff) targ_emul=armcoff ;; +arm-*-freebsd*) targ_emul=armelf ;; arm-*-netbsd*) targ_emul=armnbsd ;; arm-*-rtems*) targ_emul=armelf ;; arm-*-elf) targ_emul=armelf ;; @@ -270,6 +282,10 @@ mips*-*-lnews*) targ_emul=mipslnews ;; mips*-*-sysv4*) targ_emul=elf32btsmip ;; mn10200-*-*) targ_emul=mn10200 ;; mn10300-*-*) targ_emul=mn10300 ;; +alpha*-*-freebsd*) targ_emul=elf64alpha + targ_extra_emuls=alpha + tdir_alpha=`echo ${targ_alias} | sed -e 's/freebsd/freebsdecoff/'` + ;; alpha*-*-linuxecoff*) targ_emul=alpha targ_extra_emuls=elf64alpha tdir_elf64alpha=`echo ${targ_alias} | sed -e 's/ecoff//'` ;; @@ -283,6 +299,11 @@ alpha*-*-netbsd*) targ_emul=elf64alpha ;; z8k-*-coff) targ_emul=z8002; targ_extra_emuls=z8001 ;; ns32k-pc532-mach* | ns32k-pc532-ux*) targ_emul=pc532macha ;; ns32k-pc532-netbsd* | ns32k-pc532-lites*) targ_emul=ns32knbsd ;; +powerpc-*-freebsd*) targ_emul=elf32ppc; + targ_extra_emuls=elf32ppcsim; + targ_extra_libpath=elf32ppc; + tdir_elf32ppcsim=`echo ${targ_alias} | sed -e 's/ppc/ppcsim/'` + ;; powerpc-*-linux-gnu*) targ_emul=elf32ppclinux; targ_extra_emuls="elf32ppc elf32ppcsim"; targ_extra_libpath=elf32ppc ;; -- 2.30.2