mkconfig.sh (DEFINES): Handle entries with '='.

* mkconfig.sh (DEFINES): Handle entries with '='.

	* config.gcc: Don't use i370/xm-mvs.h or ns32k/xm-pc532-min.h.
	Set xm_defines to MACRO=value instead.

	* i370/xm-mvs.h: Delete.

	* ns32k/xm-pc532-min.h: Likewise.

From-SVN: r40828
This commit is contained in:
Kaveh R. Ghazi 2001-03-25 13:23:30 +00:00 committed by Kaveh Ghazi
parent 371bc54b8f
commit d2a2648c79
5 changed files with 16 additions and 35 deletions

View file

@ -1,3 +1,14 @@
2001-03-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* mkconfig.sh (DEFINES): Handle entries with '='.
* config.gcc: Don't use i370/xm-mvs.h or ns32k/xm-pc532-min.h.
Set xm_defines to MACRO=value instead.
* i370/xm-mvs.h: Delete.
* ns32k/xm-pc532-min.h: Likewise.
Sun Mar 25 15:01:40 CEST 2001 Jan Hubicka <jh@suse.cz>
* i386.md (ashldi3, ashrdi3, lshrdi3): Change predicates to

View file

@ -920,15 +920,13 @@ hppa*-*-mpeix*)
use_collect2=yes
;;
i370-*-opened*) # IBM 360/370/390 Architecture
xm_defines=USG
xm_file=i370/xm-mvs.h # close enough
xm_defines='USG FATAL_EXIT_CODE=12'
tm_file=i370/oe.h
xmake_file=i370/x-oe
tmake_file=i370/t-oe
;;
i370-*-mvs*)
xm_defines=USG
xm_file=i370/xm-mvs.h
xm_defines='USG FATAL_EXIT_CODE=12'
tm_file=i370/mvs.h
tmake_file=i370/t-mvs
;;
@ -2648,8 +2646,7 @@ ns32k-pc532-mach*)
;;
ns32k-pc532-minix*)
tm_file=ns32k/pc532-min.h
xm_file="ns32k/xm-pc532-min.h ${xm-file}"
xm_defines=USG
xm_defines='USG HZ=60'
use_collect2=yes
;;
ns32k-*-netbsd*)

View file

@ -1,24 +0,0 @@
/* Configuration for GNU C-compiler for System/370.
Copyright (C) 1989, 1993, 1997, 2001 Free Software Foundation, Inc.
Contributed by Jan Stein (jan@cd.chalmers.se).
Modified for OS/390 LanguageEnvironment C by Dave Pitts (dpitts@cozx.com)
This file is part of GNU CC.
GNU CC is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
GNU CC is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
/* Arguments to use with `exit'. */
#define FATAL_EXIT_CODE 12

View file

@ -1,3 +0,0 @@
#ifndef HZ
#define HZ 60
#endif

View file

@ -44,8 +44,8 @@ if [ -n "$HEADERS" ]; then
fi
for def in $DEFINES; do
echo "#ifndef $def"
echo "# define $def"
echo "#ifndef $def" | sed 's/=.*//'
echo "# define $def" | sed 's/=/ /'
echo "#endif"
done