[comp.os.minix] Atari ST GCC Update 5 of 10

bammi@dsrgsun.ces.cwru.edu (Jwahar R. Bammi) (11/28/88)

#!/bin/sh
# This is a shell archive, meaning:
# 1. Remove everything above the #!/bin/sh line.
# 2. Save the resulting text in a file.
# 3. Execute the file with /bin/sh (not csh) to create the files:
#	Makefile.cminix
#	Makefile.st
#	README.MINIX
#	assert.h
#	atof-diff
#	gas-diff
#	gnu-out.h
#	stack.c
# This archive created: Sun Nov 27 16:29:29 1988
# By:	Jwahar R. Bammi(Case Western Reserve University)
#  Uucp:	 {decvax,sun,att}!cwjcc!dsrgsun!bammi
# Csnet:	 bammi@dsrgsun.ces.CWRU.edu
#  Arpa:	 bammi@dsrgsun.ces.CWRU.edu
#
export PATH; PATH=/bin:$PATH
echo shar: extracting "'Makefile.cminix'" '(4592 characters)'
if test -f 'Makefile.cminix'
then
	echo shar: over-writing existing file "'Makefile.cminix'"
fi
sed 's/^X//' << \SHAR_EOF > 'Makefile.cminix'
XCROSSDIR = /dsrg/bammi/cross-minix
XCROSSBIN = $(CROSSDIR)/bin
XCROSSLIB = $(CROSSDIR)/lib
XCROSSINC = $(CROSSDIR)/include
X
X# This makefile may be used to make either the VAX or the 68020 assembler
X
X# This makefile must be changed to to compile the 68020 assembler on
X# the HPUX machines.  See the instructions around line 23.  (They should
X# be clearly marked with HPUX.)
X
X# To make the 68020 assembler compile as the default, un-comment the next
X# four lines, and comment out the four lines below the next (text) comment
Xa:	a68
X	@rm -f a
X	@ln a68 a
Xlint:	lint_68k
X# To make the VAX assembler compile as the default, un-comment the next four
X# lines, and comment out the four lines above this comment
X#a:	avax
X#	@rm -f a
X#	@ln avax a
X#lint:	lint_vax
X
X# NOTE:  m68k.h should be a symlink to either m-sun3.h , m-hpux.h or m-generic.h
X# depending on which machine you want to compile the 68020 assembler for.
X
X# To compile for HPUX, symlink m-hpux.h to m68k.h , un-comment the
X# next two lines, and comment out the CFLAGS line seven lines (or so) down.
X# CFLAGS = -g -I../hp-include -I.
X# LOADLIBES = -lGNU
X
X# to include the mc68851 mmu coprocessor instructions un-comment
X# the next line, and comment out the following line.  (68020 only)
X# CFLAGS = -g -I. -Dm68851
XCC=$(CROSSBIN)/mgcc
XCFLAGS = -O -I. -Datariminix=1 -DNO_VARARGS
XLDFLAGS = $(CFLAGS)
X
Xx =\
Xas.o		xrealloc.o	xmalloc.o	hash.o		hex-value.o\
Xatof-generic.o	append.o	messages.o	expr.o		app.o\
Xfrags.o		input-file.o	input-scrub.o	output-file.o	read.o\
Xsubsegs.o	symbols.o	write.o				version.o\
Xflonum-const.o	flonum-copy.o	flonum-mult.o	strstr.o	bignum-copy.o \
Xgdb.o		gdb-file.o	gdb-symbols.o	gdb-blocks.o	obstack.o\
Xgdb-lines.o
X
X
X# files that aren't used       flonum-normal.o	flonum-print.o   cpystr.o
Xy =\
Xm68k.o		atof-m68k.o
Xz = \
Xvax.o		atof-vax.o	
X
Xa68: $x $y
X	$(CC) -o a68 $(LDFLAGS) $x $y $(LOADLIBES)
X
Xavax:	$x $z
X	$(CC) -o avax $(LDFLAGS) $x $z $(LOADLIBES)
X
Xhash.o:	hash.c
X	$(CC) -c $(CFLAGS) -Derror=as_fatal hash.c
X
Xxmalloc.o:	xmalloc.c
X	$(CC) -c $(CFLAGS) -Derror=as_fatal xmalloc.c
X
Xxrealloc.o:	xrealloc.c
X	$(CC) -c $(CFLAGS) -Derror=as_fatal xrealloc.c
X
Xm68k.o:		gnu-out.h as.h expr.h flonum.h frags.h hash.h
Xm68k.o:		m68k-opcode.h m68k.h md.h obstack.h struc-symbol.h pmmu.h
X
Xapp.o:		as.h
X
Xas.o:		gnu-out.h as.h read.h struc-symbol.h write.h
Xatof-generic.o:	flonum.h
Xatof-m68k.o:	flonum.h
Xatof-vax.o:	as.h flonum.h read.h
Xbignum-copy.o:	bignum.h
Xexpr.o:		gnu-out.h as.h expr.h flonum.h obstack.h read.h struc-symbol.h
Xexpr.o:		 symbols.h
Xflonum-const.o:	flonum.h
Xflonum-copy.o:	flonum.h
Xflonum-mult.o:	flonum.h
Xflonum-normal.o:flonum.h
Xflonum-print.o:	flonum.h
Xfrags.o:	gnu-out.h as.h frags.h obstack.h struc-symbol.h subsegs.h
Xgdb.o:		as.h
Xgdb-blocks.o:	as.h
Xgdb-lines.o:	as.h frags.h obstack.h
Xgdb-symbols.o:	gnu-out.h as.h struc-symbol.h
Xhash.o:		hash.h
Xinput-file.o:	input-file.h
Xinput-scrub.o:	as.h input-file.h read.h
Xmessages.o:	as.h
Xobstack.o:	obstack.h
Xread.o:		gnu-out.h as.h expr.h flonum.h frags.h hash.h md.h obstack.h
Xread.o:		read.h struc-symbol.h symbols.h
Xsubsegs.o:	gnu-out.h as.h frags.h obstack.h struc-symbol.h subsegs.h write.h
Xsymbols.o:	gnu-out.h as.h frags.h hash.h obstack.h struc-symbol.h symbols.h
Xvax.o:		gnu-out.h as.h expr.h flonum.h frags.h md.h obstack.h read.h
Xvax.o:		struc-symbol.h symbols.h vax-inst.h vax-opcode.h
Xwrite.o:	gnu-out.h as.h md.h obstack.h struc-symbol.h subsegs.h
Xwrite.o:	symbols.h write.h
X
Xflonum.h:					bignum.h
X
X# app is no longer a separate process.
X# app:	app.c
X#	$(CC) -o app app.c
Xclean:
X	rm -f avax a68 $x $y $z a core gmon.out
X
Xoprint:	oprint.o pp.o
X	$(CC) $(LDFLAGS) -o oprint oprint.o pp.o
X
X
XA =\
Xas.c		xrealloc.c	xmalloc.c	hash.c		hex-value.c\
Xatof-generic.c	append.c	messages.c	expr.c		bignum-copy.c\
Xfrags.c		input-file.c	input-scrub.c	output-file.c	read.c\
Xsubsegs.c	symbols.c	write.c				strstr.c\
Xflonum-const.c	flonum-copy.c	flonum-mult.c	app.c		version.c\
Xgdb.c		gdb-file.c	gdb-symbols.c	gdb-blocks.c	obstack.c\
Xgdb-lines.c
X
XB =\
Xm68k.c		atof-m68k.c	
X
XC =\
Xvax.c		atof-vax.c
X
XH = \
Xgnu-out.h	as.h		bignum.h	expr.h		flonum.h \
Xfrags.h		hash.h		input-file.h	m68k-opcode.h	md.h	 \
Xobstack.h	read.h		struc-symbol.h	subsegs.h		 \
Xsymbols.h	vax-inst.h	vax-opcode.h	write.h			 \
Xm-sun3.h	m-generic.h	pmmu.h		m-hpux.h
X
X# JF unused	flonum-normal.c	flonum-print.c cpystr.c
X
Xlint_68k:
X	lint -I. $A $B
X
Xlint_vax:
X	lint -I. $A $C
X
Xgas-dist.tar: COPYING README $A $B $C $H Makefile
X	tar cvf gas-dist.tar COPYING README $A $B $C $H Makefile
X
Xgas-dist.tar.Z:	gas-dist.tar
X	compress < gas-dist.tar > gas-dist.tar.Z
X
Xdist:	gas-dist.tar gas-dist.tar.Z
X
Xinstall: a68
SHAR_EOF
if test 4592 -ne "`wc -c 'Makefile.cminix'`"
then
	echo shar: error transmitting "'Makefile.cminix'" '(should have been 4592 characters)'
fi
echo shar: extracting "'Makefile.st'" '(4587 characters)'
if test -f 'Makefile.st'
then
	echo shar: over-writing existing file "'Makefile.st'"
fi
sed 's/^X//' << \SHAR_EOF > 'Makefile.st'
XCROSSDIR = /dsrg/bammi/cross-gcc
XCROSSBIN = $(CROSSDIR)/bin
XCROSSLIB = $(CROSSDIR)/lib
XCROSSINC = $(CROSSDIR)/include
X
X# This makefile may be used to make either the VAX or the 68020 assembler
X
X# This makefile must be changed to to compile the 68020 assembler on
X# the HPUX machines.  See the instructions around line 23.  (They should
X# be clearly marked with HPUX.)
X
X# To make the 68020 assembler compile as the default, un-comment the next
X# four lines, and comment out the four lines below the next (text) comment
Xa:	a68
X	@rm -f a
X	@ln a68 a
Xlint:	lint_68k
X# To make the VAX assembler compile as the default, un-comment the next four
X# lines, and comment out the four lines above this comment
X#a:	avax
X#	@rm -f a
X#	@ln avax a
X#lint:	lint_vax
X
X# NOTE:  m68k.h should be a symlink to either m-sun3.h , m-hpux.h or m-generic.h
X# depending on which machine you want to compile the 68020 assembler for.
X
X# To compile for HPUX, symlink m-hpux.h to m68k.h , un-comment the
X# next two lines, and comment out the CFLAGS line seven lines (or so) down.
X# CFLAGS = -g -I../hp-include -I.
X# LOADLIBES = -lGNU
X
X# to include the mc68851 mmu coprocessor instructions un-comment
X# the next line, and comment out the following line.  (68020 only)
X# CFLAGS = -g -I. -Dm68851
XCC=$(CROSSBIN)/cgcc
XCFLAGS = -O -I. -Datarist=1 -DNO_VARARGS
XLDFLAGS = $(CFLAGS)
X
Xx =\
Xas.o		xrealloc.o	xmalloc.o	hash.o		hex-value.o\
Xatof-generic.o	append.o	messages.o	expr.o		app.o\
Xfrags.o		input-file.o	input-scrub.o	output-file.o	read.o\
Xsubsegs.o	symbols.o	write.o				version.o\
Xflonum-const.o	flonum-copy.o	flonum-mult.o	strstr.o	bignum-copy.o \
Xgdb.o		gdb-file.o	gdb-symbols.o	gdb-blocks.o	obstack.o\
Xgdb-lines.o
X
X
X# files that aren't used       flonum-normal.o	flonum-print.o   cpystr.o
Xy =\
Xm68k.o		atof-m68k.o
Xz = \
Xvax.o		atof-vax.o	
X
Xa68: $x $y
X	$(CC) -o a68 $(LDFLAGS) $x $y $(LOADLIBES)
X
Xavax:	$x $z
X	$(CC) -o avax $(LDFLAGS) $x $z $(LOADLIBES)
X
Xhash.o:	hash.c
X	$(CC) -c $(CFLAGS) -Derror=as_fatal hash.c
X
Xxmalloc.o:	xmalloc.c
X	$(CC) -c $(CFLAGS) -Derror=as_fatal xmalloc.c
X
Xxrealloc.o:	xrealloc.c
X	$(CC) -c $(CFLAGS) -Derror=as_fatal xrealloc.c
X
Xm68k.o:		gnu-out.h as.h expr.h flonum.h frags.h hash.h
Xm68k.o:		m68k-opcode.h m68k.h md.h obstack.h struc-symbol.h pmmu.h
X
Xapp.o:		as.h
X
Xas.o:		gnu-out.h as.h read.h struc-symbol.h write.h
Xatof-generic.o:	flonum.h
Xatof-m68k.o:	flonum.h
Xatof-vax.o:	as.h flonum.h read.h
Xbignum-copy.o:	bignum.h
Xexpr.o:		gnu-out.h as.h expr.h flonum.h obstack.h read.h struc-symbol.h
Xexpr.o:		 symbols.h
Xflonum-const.o:	flonum.h
Xflonum-copy.o:	flonum.h
Xflonum-mult.o:	flonum.h
Xflonum-normal.o:flonum.h
Xflonum-print.o:	flonum.h
Xfrags.o:	gnu-out.h as.h frags.h obstack.h struc-symbol.h subsegs.h
Xgdb.o:		as.h
Xgdb-blocks.o:	as.h
Xgdb-lines.o:	as.h frags.h obstack.h
Xgdb-symbols.o:	gnu-out.h as.h struc-symbol.h
Xhash.o:		hash.h
Xinput-file.o:	input-file.h
Xinput-scrub.o:	as.h input-file.h read.h
Xmessages.o:	as.h
Xobstack.o:	obstack.h
Xread.o:		gnu-out.h as.h expr.h flonum.h frags.h hash.h md.h obstack.h
Xread.o:		read.h struc-symbol.h symbols.h
Xsubsegs.o:	gnu-out.h as.h frags.h obstack.h struc-symbol.h subsegs.h write.h
Xsymbols.o:	gnu-out.h as.h frags.h hash.h obstack.h struc-symbol.h symbols.h
Xvax.o:		gnu-out.h as.h expr.h flonum.h frags.h md.h obstack.h read.h
Xvax.o:		struc-symbol.h symbols.h vax-inst.h vax-opcode.h
Xwrite.o:	gnu-out.h as.h md.h obstack.h struc-symbol.h subsegs.h
Xwrite.o:	symbols.h write.h
X
Xflonum.h:					bignum.h
X
X# app is no longer a separate process.
X# app:	app.c
X#	$(CC) -o app app.c
Xclean:
X	rm -f avax a68 $x $y $z a core gmon.out
X
Xoprint:	oprint.o pp.o
X	$(CC) $(LDFLAGS) -o oprint oprint.o pp.o
X
X
XA =\
Xas.c		xrealloc.c	xmalloc.c	hash.c		hex-value.c\
Xatof-generic.c	append.c	messages.c	expr.c		bignum-copy.c\
Xfrags.c		input-file.c	input-scrub.c	output-file.c	read.c\
Xsubsegs.c	symbols.c	write.c				strstr.c\
Xflonum-const.c	flonum-copy.c	flonum-mult.c	app.c		version.c\
Xgdb.c		gdb-file.c	gdb-symbols.c	gdb-blocks.c	obstack.c\
Xgdb-lines.c
X
XB =\
Xm68k.c		atof-m68k.c	
X
XC =\
Xvax.c		atof-vax.c
X
XH = \
Xgnu-out.h	as.h		bignum.h	expr.h		flonum.h \
Xfrags.h		hash.h		input-file.h	m68k-opcode.h	md.h	 \
Xobstack.h	read.h		struc-symbol.h	subsegs.h		 \
Xsymbols.h	vax-inst.h	vax-opcode.h	write.h			 \
Xm-sun3.h	m-generic.h	pmmu.h		m-hpux.h
X
X# JF unused	flonum-normal.c	flonum-print.c cpystr.c
X
Xlint_68k:
X	lint -I. $A $B
X
Xlint_vax:
X	lint -I. $A $C
X
Xgas-dist.tar: COPYING README $A $B $C $H Makefile
X	tar cvf gas-dist.tar COPYING README $A $B $C $H Makefile
X
Xgas-dist.tar.Z:	gas-dist.tar
X	compress < gas-dist.tar > gas-dist.tar.Z
X
Xdist:	gas-dist.tar gas-dist.tar.Z
X
Xinstall: a68
SHAR_EOF
if test 4587 -ne "`wc -c 'Makefile.st'`"
then
	echo shar: error transmitting "'Makefile.st'" '(should have been 4587 characters)'
fi
echo shar: extracting "'README.MINIX'" '(1818 characters)'
if test -f 'README.MINIX'
then
	echo shar: over-writing existing file "'README.MINIX'"
fi
sed 's/^X//' << \SHAR_EOF > 'README.MINIX'
XThere are apparently two distributions of gas V1.25 floating around. The
Xdiffs i previously sent out were for the version of gas v1.25 i had. This
Xversion is not on prep.ai.mit.edu or tut.cis.ohio-state.edu any more.
XThis shar contains all the diffs and additional files with respect to
Xthis new gas v1.25 distribution.
X
XFor those of you who have already patched gas-v1.25 with the previous
Xpatches from the minix-gcc v1.30 distribution, a small diff file
Xcalled `atof-diff' is supplied in this shar files that you will need
Xto apply.
X
XIf you are building from a *new gas-v1.25* distribution you *will not*
Xneed the diffs in atof-diff.
X
X  **********************************************************************
X
XThis directory contains the context diff files and additional files required
Xto build gcc-as for atariST Gcc or for the unix hosted cross development
Xsystem. The diff are with respect to gas v 1.25 (the latest version)
X
X	Use Makefile.cminix to make gcc-as for minix using the
Xcross-development system or you native minix-gcc.
X	Use Makefile to make gcc-as for the cross development system.
X	Use Makefile.st to make gcc-as for Tos/Gemdos using the
Xcross-development system/or your native toc-gcc.
X
XAdjust $(CROSSDIR) appropriately in the make files.
X
XINSTALLATION:
X - copy all the files from the gas v1.25 ditribution in a directory GAS-SRC.
X - copy all the files from this directory into the GAS-SRC directory.
X - apply the diffs using larry walls patch program
X	patch < gas-diff
X - edit the Makefiles to specify $(CROSSDIR) appropriately.
X - make a link called m68k.h to m-generic.h
X - hit make.
X
X   Please send fixes/comments/suggestions to
X
X--
Xusenet: {decvax,sun}!cwjcc!dsrgsun!bammi	jwahar r. bammi
Xcsnet:       bammi@dsrgsun.ces.CWRU.edu
Xarpa:        bammi@dsrgsun.ces.CWRU.edu
XcompuServe:  71515,155
X
SHAR_EOF
if test 1818 -ne "`wc -c 'README.MINIX'`"
then
	echo shar: error transmitting "'README.MINIX'" '(should have been 1818 characters)'
fi
echo shar: extracting "'assert.h'" '(59 characters)'
if test -f 'assert.h'
then
	echo shar: over-writing existing file "'assert.h'"
fi
sed 's/^X//' << \SHAR_EOF > 'assert.h'
X#ifdef assert
X#undef assert
X#endif
X
X#define assert(ignore)
SHAR_EOF
if test 59 -ne "`wc -c 'assert.h'`"
then
	echo shar: error transmitting "'assert.h'" '(should have been 59 characters)'
fi
echo shar: extracting "'atof-diff'" '(351 characters)'
if test -f 'atof-diff'
then
	echo shar: over-writing existing file "'atof-diff'"
fi
sed 's/^X//' << \SHAR_EOF > 'atof-diff'
X*** atof-m68k.c	Thu Nov 24 17:32:37 1988
X--- atof-m68k.c.dist	Thu Nov 24 10:59:49 1988
X***************
X*** 218,224 ****
X--- 218,228 ----
X  	case 'r':
X  	case 'R':
X  		precision = D_PRECISION;
X+ #if (CROSSATARI || atarist  || atariminix)
X+  		exponent_bits = 8;	/* !!! fix this! */
X+ #else
X    		exponent_bits = 11;
X+ #endif
X  		break;
X  
X  	case 'x':
SHAR_EOF
if test 351 -ne "`wc -c 'atof-diff'`"
then
	echo shar: error transmitting "'atof-diff'" '(should have been 351 characters)'
fi
echo shar: extracting "'gas-diff'" '(16737 characters)'
if test -f 'gas-diff'
then
	echo shar: over-writing existing file "'gas-diff'"
fi
sed 's/^X//' << \SHAR_EOF > 'gas-diff'
Xdiff -rc5 ../gas/Makefile cross-gas-1.25n/Makefile
X*** ../gas/Makefile	Thu Oct 20 19:02:31 1988
X--- cross-gas-1.25n/Makefile	Wed Nov 23 12:57:11 1988
X***************
X*** 1,5 ****
X--- 1,10 ----
X+ CROSSDIR = /dsrg/bammi/cross-gcc
X+ CROSSBIN = $(CROSSDIR)/bin
X+ CROSSLIB = $(CROSSDIR)/lib
X+ CROSSINC = $(CROSSDIR)/include
X+ 
X  # This makefile may be used to make either the VAX or the 68020 assembler
X  
X  # This makefile must be changed to to compile the 68020 assembler on
X  # the HPUX machines.  See the instructions around line 23.  (They should
X  # be clearly marked with HPUX.)
X***************
X*** 26,36 ****
X  # LOADLIBES = -lGNU
X  
X  # to include the mc68851 mmu coprocessor instructions un-comment
X  # the next line, and comment out the following line.  (68020 only)
X  # CFLAGS = -g -I. -Dm68851
X! CFLAGS = -g -I.
X  LDFLAGS = $(CFLAGS)
X  
X  x =\
X  as.o		xrealloc.o	xmalloc.o	hash.o		hex-value.o\
X  atof-generic.o	append.o	messages.o	expr.o		app.o\
X--- 31,42 ----
X  # LOADLIBES = -lGNU
X  
X  # to include the mc68851 mmu coprocessor instructions un-comment
X  # the next line, and comment out the following line.  (68020 only)
X  # CFLAGS = -g -I. -Dm68851
X! CC=gcc
X! CFLAGS = -g -O -I. -DCROSSATARI
X  LDFLAGS = $(CFLAGS)
X  
X  x =\
X  as.o		xrealloc.o	xmalloc.o	hash.o		hex-value.o\
X  atof-generic.o	append.o	messages.o	expr.o		app.o\
X***************
X*** 60,103 ****
X  	$(CC) -c $(CFLAGS) -Derror=as_fatal xmalloc.c
X  
X  xrealloc.o:	xrealloc.c
X  	$(CC) -c $(CFLAGS) -Derror=as_fatal xrealloc.c
X  
X! m68k.o:		a.out.h as.h expr.h flonum.h frags.h hash.h
X  m68k.o:		m68k-opcode.h m68k.h md.h obstack.h struc-symbol.h pmmu.h
X  
X  app.o:		as.h
X  
X! as.o:		a.out.h as.h read.h struc-symbol.h write.h
X  atof-generic.o:	flonum.h
X  atof-m68k.o:	flonum.h
X  atof-vax.o:	as.h flonum.h read.h
X  bignum-copy.o:	bignum.h
X! expr.o:		a.out.h as.h expr.h flonum.h obstack.h read.h struc-symbol.h
X  expr.o:		 symbols.h
X  flonum-const.o:	flonum.h
X  flonum-copy.o:	flonum.h
X  flonum-mult.o:	flonum.h
X  flonum-normal.o:flonum.h
X  flonum-print.o:	flonum.h
X! frags.o:	a.out.h as.h frags.h obstack.h struc-symbol.h subsegs.h
X  gdb.o:		as.h
X  gdb-blocks.o:	as.h
X  gdb-lines.o:	as.h frags.h obstack.h
X! gdb-symbols.o:	a.out.h as.h struc-symbol.h
X  hash.o:		hash.h
X  input-file.o:	input-file.h
X  input-scrub.o:	as.h input-file.h read.h
X  messages.o:	as.h
X  obstack.o:	obstack.h
X! read.o:		a.out.h as.h expr.h flonum.h frags.h hash.h md.h obstack.h
X  read.o:		read.h struc-symbol.h symbols.h
X! subsegs.o:	a.out.h as.h frags.h obstack.h struc-symbol.h subsegs.h write.h
X! symbols.o:	a.out.h as.h frags.h hash.h obstack.h struc-symbol.h symbols.h
X! vax.o:		a.out.h as.h expr.h flonum.h frags.h md.h obstack.h read.h
X  vax.o:		struc-symbol.h symbols.h vax-inst.h vax-opcode.h
X! write.o:	a.out.h as.h md.h obstack.h struc-symbol.h subsegs.h
X  write.o:	symbols.h write.h
X  
X  flonum.h:					bignum.h
X  
X  # app is no longer a separate process.
X--- 66,109 ----
X  	$(CC) -c $(CFLAGS) -Derror=as_fatal xmalloc.c
X  
X  xrealloc.o:	xrealloc.c
X  	$(CC) -c $(CFLAGS) -Derror=as_fatal xrealloc.c
X  
X! m68k.o:		gnu-out.h as.h expr.h flonum.h frags.h hash.h
X  m68k.o:		m68k-opcode.h m68k.h md.h obstack.h struc-symbol.h pmmu.h
X  
X  app.o:		as.h
X  
X! as.o:		gnu-out.h as.h read.h struc-symbol.h write.h
X  atof-generic.o:	flonum.h
X  atof-m68k.o:	flonum.h
X  atof-vax.o:	as.h flonum.h read.h
X  bignum-copy.o:	bignum.h
X! expr.o:		gnu-out.h as.h expr.h flonum.h obstack.h read.h struc-symbol.h
X  expr.o:		 symbols.h
X  flonum-const.o:	flonum.h
X  flonum-copy.o:	flonum.h
X  flonum-mult.o:	flonum.h
X  flonum-normal.o:flonum.h
X  flonum-print.o:	flonum.h
X! frags.o:	gnu-out.h as.h frags.h obstack.h struc-symbol.h subsegs.h
X  gdb.o:		as.h
X  gdb-blocks.o:	as.h
X  gdb-lines.o:	as.h frags.h obstack.h
X! gdb-symbols.o:	gnu-out.h as.h struc-symbol.h
X  hash.o:		hash.h
X  input-file.o:	input-file.h
X  input-scrub.o:	as.h input-file.h read.h
X  messages.o:	as.h
X  obstack.o:	obstack.h
X! read.o:		gnu-out.h as.h expr.h flonum.h frags.h hash.h md.h obstack.h
X  read.o:		read.h struc-symbol.h symbols.h
X! subsegs.o:	gnu-out.h as.h frags.h obstack.h struc-symbol.h subsegs.h write.h
X! symbols.o:	gnu-out.h as.h frags.h hash.h obstack.h struc-symbol.h symbols.h
X! vax.o:		gnu-out.h as.h expr.h flonum.h frags.h md.h obstack.h read.h
X  vax.o:		struc-symbol.h symbols.h vax-inst.h vax-opcode.h
X! write.o:	gnu-out.h as.h md.h obstack.h struc-symbol.h subsegs.h
X  write.o:	symbols.h write.h
X  
X  flonum.h:					bignum.h
X  
X  # app is no longer a separate process.
X***************
X*** 124,155 ****
X  
X  C =\
X  vax.c		atof-vax.c
X  
X  H = \
X! a.out.h		as.h		bignum.h	expr.h		flonum.h \
X  frags.h		hash.h		input-file.h	m68k-opcode.h	md.h	 \
X  obstack.h	read.h		struc-symbol.h	subsegs.h		 \
X  symbols.h	vax-inst.h	vax-opcode.h	write.h			 \
X  m-sun3.h	m-generic.h	pmmu.h		m-hpux.h
X  
X- V = \
X- make-gas.com objrecdef.h vms.c
X- 
X  # JF unused	flonum-normal.c	flonum-print.c cpystr.c
X  
X  lint_68k:
X  	lint -I. $A $B
X  
X  lint_vax:
X  	lint -I. $A $C
X  
X! gas-dist.tar: COPYING README $A $B $C $H $V Makefile
X! 	tar cvf gas-dist.tar COPYING README $A $B $C $H $V Makefile
X  
X  gas-dist.tar.Z:	gas-dist.tar
X  	compress < gas-dist.tar > gas-dist.tar.Z
X  
X  dist:	gas-dist.tar gas-dist.tar.Z
X  
X! install:	a
X! 	cp a /wheaties/usr/gnubin
X--- 130,158 ----
X  
X  C =\
X  vax.c		atof-vax.c
X  
X  H = \
X! gnu-out.h	as.h		bignum.h	expr.h		flonum.h \
X  frags.h		hash.h		input-file.h	m68k-opcode.h	md.h	 \
X  obstack.h	read.h		struc-symbol.h	subsegs.h		 \
X  symbols.h	vax-inst.h	vax-opcode.h	write.h			 \
X  m-sun3.h	m-generic.h	pmmu.h		m-hpux.h
X  
X  # JF unused	flonum-normal.c	flonum-print.c cpystr.c
X  
X  lint_68k:
X  	lint -I. $A $B
X  
X  lint_vax:
X  	lint -I. $A $C
X  
X! gas-dist.tar: COPYING README $A $B $C $H Makefile
X! 	tar cvf gas-dist.tar COPYING README $A $B $C $H Makefile
X  
X  gas-dist.tar.Z:	gas-dist.tar
X  	compress < gas-dist.tar > gas-dist.tar.Z
X  
X  dist:	gas-dist.tar gas-dist.tar.Z
X  
X! install: a68
X! 	cp a68 $(CROSSLIB)/gcc-as
Xdiff -rc5 ../gas/atof-m68k.c cross-gas-1.25n/atof-m68k.c
X*** ../gas/atof-m68k.c	Mon Aug  1 14:16:37 1988
X--- cross-gas-1.25n/atof-m68k.c	Thu Nov 24 17:32:37 1988
X***************
X*** 216,226 ****
X  	case 'd':
X  	case 'D':
X  	case 'r':
X  	case 'R':
X  		precision = D_PRECISION;
X! 		exponent_bits = 11;
X  		break;
X  
X  	case 'x':
X  	case 'X':
X  		precision = X_PRECISION;
X--- 216,226 ----
X  	case 'd':
X  	case 'D':
X  	case 'r':
X  	case 'R':
X  		precision = D_PRECISION;
X!   		exponent_bits = 11;
X  		break;
X  
X  	case 'x':
X  	case 'X':
X  		precision = X_PRECISION;
Xdiff -rc5 ../gas/gdb-file.c cross-gas-1.25n/gdb-file.c
X*** ../gas/gdb-file.c	Mon Dec 14 12:47:56 1987
X--- cross-gas-1.25n/gdb-file.c	Wed Nov 23 12:50:21 1988
X***************
X*** 18,29 ****
X--- 18,35 ----
X  so you can know your rights and responsibilities.  It should be
X  in a file named COPYING.  Among other things, the copyright
X  notice and this notice must be preserved on all copies.  */
X  
X  #include <stdio.h>
X+  
X+ #ifdef atarist
X+ #include <types.h>
X+ #include <stat.h>
X+ #else
X  #include <sys/types.h>
X  #include <sys/stat.h>
X+ #endif
X  
X  static long file_len;
X  static FILE *file;
X  extern long get_len();
X  
X***************
X*** 49,59 ****
X    if (file == (FILE *)NULL)
X      {
X        as_perror ("Can't read GDB symbolic information file", filename);
X        file_len=0;
X      } else {
X! 	(void)fstat (fileno(file), &stat_buf);
X  	file_len=stat_buf . st_size;
X      }
X    return ((long int)file_len );
X  }
X  
X--- 55,69 ----
X    if (file == (FILE *)NULL)
X      {
X        as_perror ("Can't read GDB symbolic information file", filename);
X        file_len=0;
X      } else {
X! #ifdef atarist
X!  	(void)stat (filename, &stat_buf);
X! #else
X!   	(void)fstat (fileno(file), &stat_buf);
X! #endif
X  	file_len=stat_buf . st_size;
X      }
X    return ((long int)file_len );
X  }
X  
Xdiff -rc5 ../gas/input-file.c cross-gas-1.25n/input-file.c
X*** ../gas/input-file.c	Wed Aug 31 14:21:33 1988
X--- cross-gas-1.25n/input-file.c	Wed Nov 23 12:50:22 1988
X***************
X*** 53,63 ****
X--- 53,98 ----
X   * the nature of the input files (if any) is known.
X   */
X  
X  #define BUFFER_SIZE (32 * 1024)
X  
X+ #ifdef atarist
X+ /* a little ditty here to do fread, filtering out '\r'. */
X+ 
X+ int filtering_fread(where, how_big, how_many, f)
X+ char * where;
X+ int how_big;
X+ int how_many;
X+ FILE * f;
X+ {
X+   int i, j, c;
X+ 
X+   for (i = 0 ; i < how_many ; )
X+ 	{
X+ 	for (j = 0 ; j < how_big ; )
X+ 		{
X+ 		c = fgetc(f);
X+ 		if (c == EOF)
X+ 			goto done;
X+ 		if (c != '\r')
X+ 			{
X+ 			*where++ = c;
X+ 			j++;
X+ 			}
X+ 		}
X+ 	i++;
X+ 	}
X+ done:
X+   return(i);
X+ }
X+  
X+ #else
X+  
X  static char in_buf[BUFFER_SIZE];
X+   
X+ #endif
X+  
X  
X  /*
X   * We use static data: the data area is not sharable.
X   */
X  
X***************
X*** 198,208 ****
X  	}
X  	if (f_in==(FILE *)0) {
X  		as_perror ("Can't open source file for input", file_name);
X  		return;
X  	}
X! #ifndef VMS
X  	setbuffer(f_in,in_buf,BUFFER_SIZE);
X  #endif /* VMS */
X  	c=getc(f_in);
X  	if(c=='#') {	/* Begins with comment, may not want to preprocess */
X  		c=getc(f_in);
X--- 233,243 ----
X  	}
X  	if (f_in==(FILE *)0) {
X  		as_perror ("Can't open source file for input", file_name);
X  		return;
X  	}
X! #if (!(defined(VMS) || defined(atarist) || defined(atariminix)))
X  	setbuffer(f_in,in_buf,BUFFER_SIZE);
X  #endif /* VMS */
X  	c=getc(f_in);
X  	if(c=='#') {	/* Begins with comment, may not want to preprocess */
X  		c=getc(f_in);
X***************
X*** 276,286 ****
X  			break;
X  		*p++=ch;
X  	}
X  	size=BUFFER_SIZE-n;
X    } else
X! 	size= fread(where,sizeof(char),BUFFER_SIZE,f_in);
X    if (size < 0)
X      {
X        as_perror ("Can't read source file: end-of-file faked.", file_name);
X        size = 0;
X      }
X--- 311,325 ----
X  			break;
X  		*p++=ch;
X  	}
X  	size=BUFFER_SIZE-n;
X    } else
X! #ifdef atarist
X!   size= filtering_fread(where,sizeof(char),BUFFER_SIZE,f_in);
X! #else
X!   size= fread(where,sizeof(char),BUFFER_SIZE,f_in);
X! #endif
X    if (size < 0)
X      {
X        as_perror ("Can't read source file: end-of-file faked.", file_name);
X        size = 0;
X      }
Xdiff -rc5 ../gas/input-scrub.c cross-gas-1.25n/input-scrub.c
X*** ../gas/input-scrub.c	Wed Aug 31 14:29:44 1988
X--- cross-gas-1.25n/input-scrub.c	Wed Nov 23 12:50:23 1988
X***************
X*** 58,68 ****
X--- 58,72 ----
X  #define AFTER_SIZE  (1)
X  
X  static char *	buffer_start;	/* -> 1st char of full buffer area. */
X  static char *	partial_where;	/* -> after last full line in buffer. */
X  static int	partial_size;	/* >=0. Number of chars in partial line in buffer. */
X+ #if (defined(atarist) || defined(atariminix))
X+ static char	save_source [2];	/* odd num fucks alignment? */
X+ #else
X  static char	save_source [AFTER_SIZE];
X+ #endif
X  				/* Because we need AFTER_STRING just after last */
X  				/* full line, it clobbers 1st part of partial */
X  				/* line. So we preserve 1st part of partial */
X  				/* line here. */
X  static int	buffer_length;	/* What is the largest size buffer that */
Xdiff -rc5 ../gas/m68k-opcode.h cross-gas-1.25n/m68k-opcode.h
X*** ../gas/m68k-opcode.h	Thu Oct 27 09:48:01 1988
X--- cross-gas-1.25n/m68k-opcode.h	Wed Nov 23 12:50:26 1988
X***************
X*** 570,579 ****
X--- 570,580 ----
X  {"trappl",	one(0055374),		one(0177777),		""},
X  {"trapt",	one(0050374),		one(0177777),		""},
X  {"trapvc",	one(0054374),		one(0177777),		""},
X  {"trapvs",	one(0054774),		one(0177777),		""},
X  
X+ #if (!(CROSSATARI || atarist || atariminix))
X  {"trapcc.w",	one(0052372),		one(0177777),		""},
X  {"trapcs.w",	one(0052772),		one(0177777),		""},
X  {"trapeq.w",	one(0053772),		one(0177777),		""},
X  {"trapf.w",	one(0050772),		one(0177777),		""},
X  {"trapge.w",	one(0056372),		one(0177777),		""},
X***************
X*** 603,612 ****
X--- 604,614 ----
X  {"trapne.l",	one(0053373),		one(0177777),		""},
X  {"trappl.l",	one(0055373),		one(0177777),		""},
X  {"trapt.l",	one(0050373),		one(0177777),		""},
X  {"trapvc.l",	one(0054373),		one(0177777),		""},
X  {"trapvs.l",	one(0054773),		one(0177777),		""},
X+ #endif
X  
X  {"trapv",	one(0047166),		one(0177777),		""},
X  
X  {"tstb",	one(0045000),		one(0177700),		";b"},
X  {"tstw",	one(0045100),		one(0177700),		"*w"},
X***************
X*** 615,624 ****
X--- 617,627 ----
X  {"unlk",	one(0047130),		one(0177770),		"As"},
X  {"unpk",	one(0100600),		one(0170770),		"DsDd#w"},
X  {"unpk",	one(0100610),		one(0170770),		"-s-d#w"},
X  	/* JF floating pt stuff moved down here */
X  
X+ #if (!(CROSSATARI || atarist || atariminix))
X  {"fabsb",	two(0xF000, 0x5818),	two(0xF1C0, 0xFC7F),	"Ii;bF7"},
X  {"fabsd",	two(0xF000, 0x5418),	two(0xF1C0, 0xFC7F),	"Ii;FF7"},
X  {"fabsl",	two(0xF000, 0x4018),	two(0xF1C0, 0xFC7F),	"Ii;lF7"},
X  {"fabsp",	two(0xF000, 0x4C18),	two(0xF1C0, 0xFC7F),	"Ii;pF7"},
X  {"fabss",	two(0xF000, 0x4418),	two(0xF1C0, 0xFC7F),	"Ii;fF7"},
X***************
X*** 1305,1314 ****
X--- 1308,1318 ----
X  {"fjuge",	one(0xF08B),		one(0xF1FF),		"IdBc"},
X  {"fjugt",	one(0xF08A),		one(0xF1FF),		"IdBc"},
X  {"fjule",	one(0xF08D),		one(0xF1FF),		"IdBc"},
X  {"fjult",	one(0xF08C),		one(0xF1FF),		"IdBc"},
X  {"fjun",	one(0xF088),		one(0xF1FF),		"IdBc"},
X+ #endif /* atarist */
X  
X  /* The assembler will ignore attempts to force a short offset */
X  
X  {"bhis",	one(0061000),		one(0177400),		"Bg"},
X  {"blss",	one(0061400),		one(0177400),		"Bg"},
X***************
X*** 1325,1335 ****
X--- 1329,1341 ----
X  {"bgts",	one(0067000),		one(0177400),		"Bg"},
X  {"bles",	one(0067400),		one(0177400),		"Bg"},
X  
X  /* Alternate mnemonics for SUN */
X  
X+ #if (!(CROSSATARI || atarist || atariminix))
X  {"jbsr",	one(0060400),		one(0177400),		"Bg"},
X+ #endif
X  {"jbsr",	one(0047200),		one(0177700),		"!s"},
X  {"jra",		one(0060000),		one(0177400),		"Bg"},
X  {"jra",		one(0047300),		one(0177700),		"!s"},
X    
X  {"jhi",		one(0061000),		one(0177400),		"Bg"},
Xdiff -rc5 ../gas/messages.c cross-gas-1.25n/messages.c
X*** ../gas/messages.c	Mon Oct 17 16:01:09 1988
X--- cross-gas-1.25n/messages.c	Wed Nov 23 12:50:39 1988
X***************
X*** 63,73 ****
X--- 63,77 ----
X  char *Format;
X  {
X    if ( ! flagseen ['W'])	/* -W supresses warning messages. */
X      {
X        as_where();
X+ #ifdef atariminix
X+       _doprintf (stderr, Format, &args);
X+ #else
X        _doprnt (Format, &args, stderr);
X+ #endif
X        (void)putc ('\n', stderr);
X        /* as_where(); */
X      }
X  }
X  #else
X***************
X*** 114,124 ****
X  as_fatal (Format, args)
X  char *Format;
X  {
X    as_where();
X    fprintf(stderr,"FATAL:");
X!   _doprnt (Format, &args, stderr);
X    (void)putc ('\n', stderr);
X    /* as_where(); */
X    exit(42);			/* What is a good exit status? */
X  }
X  #else
X--- 118,132 ----
X  as_fatal (Format, args)
X  char *Format;
X  {
X    as_where();
X    fprintf(stderr,"FATAL:");
X! #ifdef atariminix
X!       _doprintf (stderr, Format, &args);
X! #else
X!       _doprnt (Format, &args, stderr);
X! #endif
X    (void)putc ('\n', stderr);
X    /* as_where(); */
X    exit(42);			/* What is a good exit status? */
X  }
X  #else
Xdiff -rc5 ../gas/read.c cross-gas-1.25n/read.c
X*** ../gas/read.c	Wed Aug 31 14:20:07 1988
X--- cross-gas-1.25n/read.c	Wed Nov 23 12:50:41 1988
X***************
X*** 33,44 ****
X--- 33,51 ----
X  
X  /* Routines that read assembler source text to build spagetti in memory. */
X  /* Another group of these functions is in the as-expr.c module */
X  
X  #include <ctype.h>
X+  
X+ #ifdef atarist
X+ #include <types.h>
X+ #include <stat.h>
X+ #else
X  #include <sys/types.h>
X  #include <sys/stat.h>
X+ #endif
X+ 
X  #include "as.h"
X  #include "read.h"
X  #include "md.h"
X  #include "hash.h"
X  #include "obstack.h"
Xdiff -rc5 ../gas/struc-symbol.h cross-gas-1.25n/struc-symbol.h
X*** ../gas/struc-symbol.h	Mon Aug  1 17:54:45 1988
X--- cross-gas-1.25n/struc-symbol.h	Wed Nov 23 12:50:42 1988
X***************
X*** 17,33 ****
X--- 17,37 ----
X  supposed to have been given to you along with the GNU Assembler
X  so you can know your rights and responsibilities.  It should be
X  in a file named COPYING.  Among other things, the copyright
X  notice and this notice must be preserved on all copies.  */
X  
X+ #if (atarist || atariminix || CROSSATARI)
X+ #include <gnu-out.h>
X+ #else
X  #ifdef hpux
X  #include <a.out.h>
X  #else
X  #ifndef		VMS
X  #include "a.out.h"		/* Needed to define struct nlist. Sigh. */
X  #else
X  #include "a_out.h"
X+ #endif
X  #endif
X  #endif
X  
X  struct symbol			/* our version of an nlist node */
X  {
Xdiff -rc5 ../gas/version.c cross-gas-1.25n/version.c
X*** ../gas/version.c	Thu Oct 27 09:48:02 1988
X--- cross-gas-1.25n/version.c	Wed Nov 23 12:50:43 1988
X***************
X*** 1,6 ****
X--- 1,10 ----
X+ #ifdef CROSSATARI
X+ char version_string[] = "Gnu (CROSS)assembler version 1.25 (I guess.)\n";
X+ #else
X  char version_string[] = "Gnu assembler version 1.25 (I guess.)\n";
X+ #endif
X  /*
X  	1.08:	Added support for fmovem with register lists.
X  		(m68k.c m68k-opcode.h)
X  		Should be able to detect lossage like
X  		movem	fp0-fp4,a4@
SHAR_EOF
if test 16737 -ne "`wc -c 'gas-diff'`"
then
	echo shar: error transmitting "'gas-diff'" '(should have been 16737 characters)'
fi
echo shar: extracting "'gnu-out.h'" '(2529 characters)'
if test -f 'gnu-out.h'
then
	echo shar: over-writing existing file "'gnu-out.h'"
fi
sed 's/^X//' << \SHAR_EOF > 'gnu-out.h'
X/* Copyright (C) 1987 Free Software Foundation, Inc.
X
XThis file is part of Gas, the GNU Assembler.
X
XThe GNU assembler is distributed in the hope that it will be
Xuseful, but WITHOUT ANY WARRANTY.  No author or distributor
Xaccepts responsibility to anyone for the consequences of using it
Xor for whether it serves any particular purpose or works at all,
Xunless he says so in writing.  Refer to the GNU Assembler General
XPublic License for full details.
X
XEveryone is granted permission to copy, modify and redistribute
Xthe GNU Assembler, but only under the conditions described in the
XGNU Assembler General Public License.  A copy of this license is
Xsupposed to have been given to you along with the GNU Assembler
Xso you can know your rights and responsibilities.  It should be
Xin a file named COPYING.  Among other things, the copyright
Xnotice and this notice must be preserved on all copies.  */
X
X/* JF I'm not sure where this file came from.  I put the permit.text message in
X   it anyway.  This file came to me as part of the original VAX assembler */
X
X#define OMAGIC 0407
X#define NMAGIC 0410
X#define ZMAGIC 0413
X
Xstruct exec {
X	long	a_magic;			/* number identifies as .o file and gives type of such. */
X	unsigned a_text;		/* length of text, in bytes */
X	unsigned a_data;		/* length of data, in bytes */
X	unsigned a_bss;		/* length of uninitialized data area for file, in bytes */
X	unsigned a_syms;		/* length of symbol table data in file, in bytes */
X	unsigned a_entry;		/* start address */
X	unsigned a_trsize;		/* length of relocation info for text, in bytes */
X	unsigned a_drsize;		/* length of relocation info for data, in bytes */
X};
X
X#define N_BADMAG(x) \
X (((x).a_magic)!=OMAGIC && ((x).a_magic)!=NMAGIC && ((x).a_magic)!=ZMAGIC)
X
X#define N_TXTOFF(x) \
X ((x).a_magic == ZMAGIC ? 1024 : sizeof(struct exec))
X
X#define N_SYMOFF(x) \
X (N_TXTOFF(x) + (x).a_text + (x).a_data + (x).a_trsize + (x).a_drsize)
X
X#define N_STROFF(x) \
X (N_SYMOFF(x) + (x).a_syms)
X
Xstruct nlist {
X	union {
X		char	*n_name;
X		struct nlist *n_next;
X		long	n_strx;
X	} n_un;
X	char	n_type;
X	char	n_other;
X	short	n_desc;
X	unsigned n_value;
X};
X
X#define N_UNDF	0
X#define N_ABS	2
X#define N_TEXT	4
X#define N_DATA	6
X#define N_BSS	8
X#define N_FN	31		/* JF: Someone claims this should be 31 instead of
X			   15.  I just inherited this file; I didn't write
X			   it.  Who is right? */
X
X#define N_EXT 1
X#define N_TYPE 036
X#define N_STAB 0340
X
Xstruct relocation_info {
X	int	r_address;
X	unsigned r_symbolnum:24,
X		r_pcrel:1,
X		r_length:2,
X		r_extern:1,
X		nuthin:4;
X};
SHAR_EOF
if test 2529 -ne "`wc -c 'gnu-out.h'`"
then
	echo shar: error transmitting "'gnu-out.h'" '(should have been 2529 characters)'
fi
echo shar: extracting "'stack.c'" '(132 characters)'
if test -f 'stack.c'
then
	echo shar: over-writing existing file "'stack.c'"
fi
sed 's/^X//' << \SHAR_EOF > 'stack.c'
X/* stack def for atari version */
X
X#ifndef CROSSATARI
X#ifndef atariminix
X#ifdef atarist
Xint _stksize = 131072;
X#endif
X#endif
X#endif
SHAR_EOF
if test 132 -ne "`wc -c 'stack.c'`"
then
	echo shar: error transmitting "'stack.c'" '(should have been 132 characters)'
fi
#	End of shell archive
exit 0
usenet: {decvax,sun}!cwjcc!dsrgsun!bammi	jwahar r. bammi
csnet:       bammi@dsrgsun.ces.CWRU.edu
arpa:        bammi@dsrgsun.ces.CWRU.edu
compuServe:  71515,155