Commit graph

572 commits

Author SHA1 Message Date
Steve Chamberlain
c593cf412b * app.c: MRI compatibility - allow single quote to start a string.
* as.c: fix typo recently introduced.
	* as.h : Don't include aout/reloc.h - it's not right for COFF!
	* expr.c: Much rewriting, to accomodate MRI syntax for
	expressions. Also easier to read now.
	* listing.c: Put back defuns
	* read.c: modified to accept MRI syntax, put back listing pseudo
	ops so that an assembler built with NO_LISTING ignores list ops
	rather than pukes.
	* write.c, write.h: fixs - only keep a reloc type in a fix if the target
	machine is a SPARC or a 29K.
	* config/obj-aout.c: added s_sect pseudo op
	* config/obj-coffbfd.c: lints, set the filehdr flags right and
	fill in the timestamp.
	* config/obj-coffbfd.h: Since we don't include aout/reloc.h
	anymore, define all the relocs which the tc-<x> bit will use so we
	can translate from them to the coff types.
	* config/tc-a29k.c: reloc_type isn't ane enum any more
	* config/tc-m68k.c: Added NO_RELOC definition.

Now compiles for sparc aout, 68k aout (MRI and MIT syntax),
29k coff.

So far works as replacement for sparc and 68k /bin/as.
1992-02-22 20:45:24 +00:00
K. Richard Pixley
2d97273c8b be more cautious with tranle's patches 1992-02-21 14:21:54 +00:00
K. Richard Pixley
6d5460ab89 changes from Minh Tran-Le <TRANLE@INTELLICORP.COM> to support i386
coff as it appears to be used on aix386.
1992-02-21 11:04:51 +00:00
K. Richard Pixley
d6e344db8d tell about using doc 1992-02-21 09:09:51 +00:00
K. Richard Pixley
aa3782d24e white space and comments only 1992-02-18 10:24:13 +00:00
K. Richard Pixley
f816adbc60 use the new atof-ns32.c for ns32k. 1992-02-18 10:22:46 +00:00
K. Richard Pixley
eb9eacd3a5 comment change only 1992-02-18 10:21:45 +00:00
K. Richard Pixley
542e1629fd fighting bitrot in a major way 1992-02-17 15:54:49 +00:00
Steve Chamberlain
b3ca913f74 * listing.c, config/obj-aout.c: added intermixed
source/assembler file listings to files with stabs in them.
1992-01-25 00:51:20 +00:00
Steve Chamberlain
159fbb6088 * symbols.c(colon): if a symbol is being multiply defined as exactly
the same value, then don't cause a fatal error. This fixes
	P00000616 - where a def _foo= . followed by foo: is seen.
1992-01-24 01:33:07 +00:00
Steve Chamberlain
3fb965c44e Wed Jan 8 11:26:40 1992 Steve Chamberlain (sac at rtl.cygnus.com)
Added support for listings
	* Makefile.in: include listing.[co]
	* as.c: parse -l
	* as.h: include listing.h, include listing hook into frag
	* frags.c (frag_new): hook for creating line number info
	* messages.c (as_warn, as_bad): remember message for listing
	* read.c: add new pseudos to the table
	* write.c: (relax_segment): need to cope with branches with 0
	offsets, so create M68K_AIM_KLUDGE- this came to light because
	listings make lots of zero length frags.
	* listing.c, listing.h: new files
1992-01-08 19:34:11 +00:00
John Gilmore
3197d3d61b Add declaration of free() to config/ho-generic.h 1992-01-05 23:41:28 +00:00
John Gilmore
4543283685 * as.h: Move redefine of xfree.
* read.c:  Use xmalloc, not malloc.
* expr.c, input-scrub.c, write.c:  Avoid "know" macros
that cover more than one line, since this causes char strings
with embedded newlines.
1992-01-05 00:40:29 +00:00
K. Richard Pixley
c06ac69051 don't close a NULL file pointer 1991-12-11 07:43:40 +00:00
K. Richard Pixley
1058238c60 Fri Dec 6 23:16:43 1991 K. Richard Pixley (rich at rtl.cygnus.com)
* Makefile.in: install using INSTALL_DATA and INSTALL_PROGRAM.
	  correct include directory locations. added standards.text
	  support.

	* configure.in: mark this directory as target dependent.

Thu Dec  5 22:46:23 1991  K. Richard Pixley  (rich at rtl.cygnus.com)

	* Makefile.in: idestdir and ddestdir go away.  Added
	  copyrights and shift gpl to v2.  Added ChangeLog if it
	  didn't exist. docdir and mandir now keyed off datadir by
	  default.
1991-12-07 07:19:08 +00:00
Steve Chamberlain
af483be837 Filename renaming 1991-12-01 07:06:30 +00:00
Steve Chamberlain
489f6ef072 * config/obj-coff-bfd: made multiple sections with subsections
work.
	* config/tc-h8300.c: made $ statement sep, and int alloc 2 bytes.
1991-11-28 21:24:07 +00:00
Steve Chamberlain
ace68c4ed9 Mon Nov 25 17:26:22 1991 Steve Chamberlain (sac at cygnus.com)
* as.c: (perform_an_assembly_pass): moved declaration of i to
	avoid a syntax error. Now always create the three default
	sections when in MANY_SEGMENTS mode.
	* as.h: New improved way of specifying MANY_SEGMENTS
	* configure.in: hds object format is now coff-bfd
	* subsegs.h: add line numbers and section stuff to the
	segment_info structure. (But go back later and fix.. this is
	COFF specific)
1991-11-26 02:15:13 +00:00
Steve Chamberlain
7955ad1c4d * configure.in: added ebmon entry.
* output-file.c (output_file_create, output_file_close) added
	stuff to use bfd.
	* write.c: more bfd support
	* config/obj-coff.c  config/obj-coff.h use bfd for swapping
	header info.
	* tc-a29k: added the reloc types we support now
1991-10-21 16:32:10 +00:00
Roland Pesch
c7aab257f9 Mon Oct 14 11:44:03 1991 Roland H. Pesch (pesch at cygnus.com)
* doc/Makefile (as.ms): one more sed workaround for texi2roff
1991-10-14 18:44:58 +00:00
Roland Pesch
921faa529c doc/as.texinfo: minor changes for texi2roff-2
Makefile.in: revise 'doc' target.
1991-10-12 01:20:38 +00:00
K. Richard Pixley
fecd2382e7 Initial revision 1991-04-04 18:19:53 +00:00