001-02-18 David O'Brien <obrien@FreeBSD.org>
authorDavid O'Brien <obrien@FreeBSD.org>
Mon, 19 Feb 2001 06:51:51 +0000 (06:51 +0000)
committerDavid O'Brien <obrien@FreeBSD.org>
Mon, 19 Feb 2001 06:51:51 +0000 (06:51 +0000)
* configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64,
FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries.

Approved by:  Philip Blundell <philb@gnu.org>
              Message-Id: <E14URxF-00023n-00@kings-cross.london.uk.eu.org>

ld/ChangeLog
ld/configure.tgt

index f03253c5df05dcabb49dbd4568fa9611939fdb9a..2fe147aa4053fc313c0a14b88ee38db06a048992 100644 (file)
@@ -1,3 +1,8 @@
+001-02-18  David O'Brien  <obrien@FreeBSD.org>
+
+       * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64,
+       FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries.
+
 2001-02-18  lars brinkhoff  <lars@nocrew.org>
 
        * Makefile.am: Add PDP-11 target.
index ea96ab8faa93d1e288730e67e89a1cb70c8ea8d2..33d1762fa34104dd95a9b598d24f637d4e7add24 100644 (file)
@@ -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 ;;