Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Oct 2002 15:07:37 -0700 (PDT)
From:      Juli Mallett <jmallett@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 19166 for review
Message-ID:  <200210122207.g9CM7bnS039560@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=19166

Change 19166 by jmallett@jmallett_thefather on 2002/10/12 15:07:11

	Set up the traditional MIPS big endian vector by default, and
	modify the vendor config.bfd to grok FreeBSD/MIPS.

Affected files ...

.. //depot/projects/mips/contrib/binutils/bfd/config.bfd#3 edit
.. //depot/projects/mips/gnu/usr.bin/binutils/ld/Makefile.mips#3 edit
.. //depot/projects/mips/gnu/usr.bin/binutils/libbfd/Makefile.mips#4 edit

Differences ...

==== //depot/projects/mips/contrib/binutils/bfd/config.bfd#3 (text+ko) ====

@@ -673,6 +673,10 @@
     targ_defvec=ecoff_big_vec
     targ_selvecs=ecoff_little_vec
     ;;
+  mips*-*-freebsd*)
+    targ_defvec=bfd_elf32_tradbigmips_vec
+    targ_selvecs="bfd_elf32_bigmips_vec bfd_elf32_littlemips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec"
+    ;;
   mips*el-*-netbsd*)
     targ_defvec=bfd_elf32_littlemips_vec
     targ_selvecs="bfd_elf32_bigmips_vec ecoff_little_vec ecoff_big_vec"

==== //depot/projects/mips/gnu/usr.bin/binutils/ld/Makefile.mips#3 (text+ko) ====

@@ -1,5 +1,6 @@
 # $FreeBSD: src/gnu/usr.bin/binutils/ld/Makefile.powerpc,v 1.11 2002/05/17 03:10:33 obrien Exp $
 
+# XXXMIPS We only support SGI stuff now.
 TARGET_TUPLE?=	mips-unknown-freebsd
 
 # XXXMIPS I guess FreeBSD will default to bemips?

==== //depot/projects/mips/gnu/usr.bin/binutils/libbfd/Makefile.mips#4 (text+ko) ====

@@ -20,9 +20,10 @@
 # XXXMIPS Conditionalie on the MACHINE/MACHINE_ARCH targetry to decide
 # whether elf{32,64}_{big,little}mips vectors.
 .if ${TARGET_ARCH} == "mips"
-CFLAGS+= -DDEFAULT_VECTOR=bfd_elf32_bigmips_vec
+CFLAGS+= -DDEFAULT_VECTOR=bfd_elf32_tradbigmips_vec
 .endif
-CFLAGS+= -DHAVE_bfd_elf32_bigmips_vec \
+CFLAGS+= -DHAVE_bfd_elf32_tradbigmips_vec \
+	 -DHAVE_bfd_elf32_bigmips_vec \
 	 -DHAVE_bfd_elf32_littlemips_vec \
 	 -DHAVE_bfd_elf64_bigmips_vec \
 	 -DHAVE_bfd_elf64_littlemips_vec

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210122207.g9CM7bnS039560>