From 346e8a0c31c95ec7cb7f0f84fdc68b14be3cd456 Mon Sep 17 00:00:00 2001
From: hpenner <hpenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Fri, 13 Jul 2001 13:11:59 +0000
Subject: [PATCH] 	* config.gcc: Add configuration for s/390. 	*
 Changelog: Add s/390.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43981 138bc75d-0d04-0410-961f-82ee72b054a4
---
 gcc/ChangeLog  | 12 ++++++++++++
 gcc/config.gcc | 18 ++++++++++++++++++
 2 files changed, 30 insertions(+)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6e078ca55492..c80f159db843 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,15 @@
+2001-07-13  Hartmut Penner  <hpenner@de.ibm.com>
+
+        * config.gcc: Add configuration for s/390. 
+        * config/s390/s390.c: New. Subroutines for code generation.
+	* config/s390/s390.h: New. Definitions for s/390.
+	* config/s390/s390-protos.h: New. Prototypes.
+	* config/s390/linux.h: New. Definitions for linux for s/390.
+	* config/s390/linux64.h: New. Definitions for linux for zSeries.
+        * config/s390/t-linux: New. Makefile fragment.
+        * config/s390/s390.md: New. Machine description for s/390 and zSeries.
+	* config/s390/fixdfdi.h: New. Fix L_fix*di.
+	
 Fri Jul 13 14:46:21 CEST 2001  Jan Hubicka  <jh@suse.cz>
 
 	* emit-rtl.c (try_split): Update mark_jump_label call.
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 353086c68321..b5d01dcb6951 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -2753,6 +2753,24 @@ rs6000-*-lynxos*)
 	tmake_file=rs6000/t-rs6000
 	use_collect2=yes
 	;;
+s390-*-linux*)	
+	xmake_file=x-linux
+	tm_file=s390/linux.h
+	tmake_file="t-linux s390/t-linux"
+	extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o"
+	if test x$enable_threads = xyes; then
+		thread_file='posix'
+	fi
+	;;
+s390x-*-linux*)	
+	xmake_file=x-linux
+	tm_file=s390/linux64.h
+	tmake_file="t-linux s390/t-linux"
+	extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o"
+	if test x$enable_threads = xyes; then
+		thread_file='posix'
+	fi
+	;;
 sh-*-elf*)
 	tmake_file="sh/t-sh sh/t-elf"
 	tm_file="sh/sh.h sh/elf.h"
-- 
GitLab