Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Oct 2002 00:03:05 -0700 (PDT)
From:      Serguei Tzukanov <tzukanov@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 19126 for review
Message-ID:  <200210120703.g9C735Ij078999@repoman.freebsd.org>

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

Change 19126 by tzukanov@tzukanov_antares on 2002/10/12 00:02:17

	s390-freebsd support for imported toolchain.

Affected files ...

.. //depot/projects/s390/Makefile.inc1#4 edit
.. //depot/projects/s390/contrib/binutils/bfd/config.bfd#3 edit
.. //depot/projects/s390/contrib/binutils/gas/config/tc-s390.c#3 edit
.. //depot/projects/s390/contrib/binutils/ld/configure.tgt#3 edit
.. //depot/projects/s390/contrib/binutils/ld/emulparams/elf64_s390_fbsd.sh#1 add
.. //depot/projects/s390/contrib/binutils/ld/emulparams/elf_s390_fbsd.sh#1 add
.. //depot/projects/s390/contrib/gcc/config.gcc#3 edit
.. //depot/projects/s390/contrib/gcc/config/s390/freebsd.h#1 add

Differences ...

==== //depot/projects/s390/Makefile.inc1#4 (text+ko) ====


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

@@ -886,11 +886,11 @@
     targ_selvecs="bfd_powerpcle_pei_vec bfd_powerpc_pei_vec bfd_powerpcle_pe_vec bfd_powerpc_pe_vec"
     ;;
 
-  s390-*-linux*)
+  s390-*-linux* | s390-*-freebsd*)
     targ_defvec=bfd_elf32_s390_vec
     ;;
 #ifdef BFD64
-  s390x-*-linux*)
+  s390x-*-linux* | s390x-*-freebsd*)
     targ_defvec=bfd_elf64_s390_vec
     ;;
 #endif

==== //depot/projects/s390/contrib/binutils/gas/config/tc-s390.c#3 (text+ko) ====

@@ -25,6 +25,7 @@
 #include "subsegs.h"
 #include "struc-symbol.h"
 
+#include "dwarf2dbg.h"
 #include "opcode/s390.h"
 #include "elf/s390.h"
 

==== //depot/projects/s390/contrib/binutils/ld/configure.tgt#3 (text+ko) ====

@@ -496,6 +496,10 @@
 mcore-*-elf)		targ_emul=elf32mcore ;;
 s390x-*-linux*)         targ_emul=elf64_s390 ;;
 s390-*-linux*)          targ_emul=elf_s390 ;;
+s390x-*-freebsd*)	targ_emul=elf64_s390_fbsd
+			targ_extra_emuls="elf64_s390" ;;
+s390-*-freebsd*)	targ_emul=elf_s390_fbsd
+			targ_extra_emuls="elf_s390" ;;
 *-*-ieee*)		targ_emul=vanilla ;;
 
 *)

==== //depot/projects/s390/contrib/gcc/config.gcc#3 (text+ko) ====

@@ -2969,6 +2969,9 @@
 	tmake_file=rs6000/t-rs6000
 	use_collect2=yes
 	;;
+s390-*-freebsd*)
+	tm_file="${tm_file} dbxelf.h elfos.h ${fbsd_tm_file} s390/freebsd.h"
+	;;
 s390-*-linux*)
 	tm_file="s390/s390.h dbxelf.h elfos.h svr4.h linux.h s390/linux.h"
 	tmake_file="t-slibgcc-elf-ver t-linux s390/t-linux"
@@ -2997,6 +3000,12 @@
 		target_requires_64bit_host_wide_int=yes
 	fi
 	;;
+s390x-*-freebsd*)
+	tm_file="s390/s390.h s390/s390x.h dbxelf.h elfos.h ${fbsd_tm_file} s390/freebsd.h"
+	tm_p_file=s390/s390-protos.h
+	md_file=s390/s390.md
+	out_file=s390/s390.c
+	;;
 sh-*-rtemself*)
 	xm_defines=POSIX
 	tmake_file="sh/t-sh sh/t-elf t-rtems"

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?200210120703.g9C735Ij078999>