Commit Graph

299 Commits

Author SHA1 Message Date
Steve Chamberlain
40f7081323 Don't remove underlines 1992-02-24 18:25:19 +00:00
Michael Tiemann
b0c0241840 Keep Makefile.in and configure.in. Don't keep Makefile. 1992-02-24 13:54:45 +00:00
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
Steve Chamberlain
3b548344d0 Made less things defined by default, now builds on sun3 and sun4. 1992-02-22 17:30:50 +00:00
Steve Chamberlain
ed90b99590 Tandem/MRI syntax bit rot 1992-02-22 03:06:02 +00:00
Steve Chamberlain
abca39c14a How to compile gas on a PC 1992-02-22 00:24:13 +00:00
Steve Chamberlain
215c79bee7 More renames from DJ the DOS martyr 1992-02-22 00:23:03 +00:00
K. Richard Pixley
1a9e2cf89e cvs bug, these files should not have been checked in. 1992-02-21 14:28:34 +00:00
K. Richard Pixley
2d97273c8b be more cautious with tranle's patches 1992-02-21 14:21:54 +00:00
K. Richard Pixley
ed6bfe6d75 moved from gas/a.out.gnu.h to gas/config/a.out.gnu.h 1992-02-21 11:58:52 +00:00
K. Richard Pixley
879982e63f minor reorg of tranlee's stuff 1992-02-21 11:37:01 +00:00
K. Richard Pixley
011ed8a686 new files from tranlee 1992-02-21 11:06:41 +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
e39469d91a from hack's unfinished work 1992-02-21 09:10:45 +00:00
K. Richard Pixley
d6e344db8d tell about using doc 1992-02-21 09:09:51 +00:00
K. Richard Pixley
7a11153774 don't keep *.dvi 1992-02-21 09:08:37 +00:00
K. Richard Pixley
79a54a5b52 doc. bring it in, use it. 1992-02-21 09:05:26 +00:00
K. Richard Pixley
90d85bc42b pulled in from hack's unfinished work 1992-02-18 11:27:34 +00:00
K. Richard Pixley
131292695f prepping for configure 1992-02-18 11:25:11 +00:00
K. Richard Pixley
aa3782d24e white space and comments only 1992-02-18 10:24:13 +00:00
K. Richard Pixley
c6cfc5b52c add note about i860 relocation types 1992-02-18 10:23:18 +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
4b83ef1cfd tc-i860.[hc]: blew off the dust. Something must still be done about
conflicting relocation types.
1992-02-18 10:20:20 +00:00
K. Richard Pixley
fbd5ddff37 keep ChangeLog 1992-02-18 10:18:32 +00:00
K. Richard Pixley
e6a125b1f4 Replaced previous tc_aout_fix_to_chars stub with the real thing. 1992-02-18 10:18:05 +00:00
K. Richard Pixley
e219aa78dc keep the new file 1992-02-18 10:13:57 +00:00
K. Richard Pixley
574e55f10f delete duplicate macro definition 1992-02-18 10:13:09 +00:00
K. Richard Pixley
c82711bd5c copied from hack's last unreleased gas 1992-02-18 10:11:07 +00:00
K. Richard Pixley
9a051b43a6 record that files were removed 1992-02-17 16:02:58 +00:00
K. Richard Pixley
542e1629fd fighting bitrot in a major way 1992-02-17 15:54:49 +00:00
K. Richard Pixley
3340f7e5fd White space and comment changes. #ifdef __STDC__ becomes #if __STDC__
== 1.  Get the declarations right in listing.[hc].
1992-02-15 21:13:03 +00:00
K. Richard Pixley
a87b326934 White space and comment changes, and #ifdef __STDC__ becomes #if
__STDC__ == 1.
1992-02-15 21:09:34 +00:00
Roland Pesch
0c5e345c0f Might as well keep the contents of the gas/doc subdir, as well as the
dir itself.
1992-02-14 00:28:22 +00:00
Roland Pesch
a262a1b2ca It's OK to keep the doc subdirectory, really. 1992-02-14 00:21:34 +00:00
K. Richard Pixley
920babce5a clean up Sanitize for gas 1992-02-13 10:13:24 +00:00
K. Richard Pixley
a7f4a774e6 add README fluff 1992-02-13 09:56:39 +00:00
K. Richard Pixley
5c640b08ee fluff 1992-02-13 09:56:04 +00:00
K. Richard Pixley
0117086004 All files over ~5 lines get copylefted. All copylefted files get
copylefted 1992.
1992-02-13 09:49:39 +00:00
K. Richard Pixley
8b228fe958 force all files to end in "/* end of filename" 1992-02-13 09:13:54 +00:00
K. Richard Pixley
1d63ba3ba0 remove all rcs keywords 1992-02-13 08:39:15 +00:00
K. Richard Pixley
a39116f1c9 White space and comments only. The devo tree prior to this delta is
tagged as "vanilla" for your convenience.

There are also some comment changes.
1992-02-13 08:33:54 +00:00
Michael Tiemann
d68f75c44d #include <sys/stdtypes.h> before <stddef.h> so that when we compile
with GCC, the compiler does not stumble over `size_t', `ptrdiff_t',
and `wchar_t'.  Also note that the comment in <stddef.h> says that we
have to #include <sys/stdtypes.h> before including <stddef.h> when on
a sun.
1992-02-11 10:34:03 +00:00
Steve Chamberlain
20ec2f6c98 New files for MRI syntax assembler 1992-02-11 00:51:52 +00:00
Steve Chamberlain
ebf137d5cd * as.c: added new option -ad for hll listings without debug info
* listing.c,listing.h: support for new listings, and more for forgiving
	when lied to about where linenumbers are.
	* config/obj-coffbfd.c (do_linenos_for): relocate line numbers
	correctly.
1992-02-06 20:09:39 +00:00
K. Richard Pixley
584a0f78d9 rcsid's removed 1992-01-28 20:38:08 +00:00
Steve Chamberlain
9ce31b6601 obj-coff* now copes with C mingled listings
tc-h8300.c: better error messages
1992-01-28 03:43:23 +00:00
Steve Chamberlain
86c094f212 Now can list for bout format too 1992-01-25 01:46:19 +00:00
Steve Chamberlain
3d38ac61cd Don't crash if a symbol has no name 1992-01-25 01:45:53 +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
f5e8a8f9c7 CVS says it was empty, so refresh it. 1992-01-24 18:30:47 +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
Roland Pesch
ead077d598 Initial revision 1992-01-22 00:36:44 +00:00
Roland Pesch
66b818fb6e (1) Changes made yesterday, forgot to check in:
a) cleanups to node structure for Info file
    b) .lflags (ignored) doc restored (was covered previously in
       single par on .list-related directives ignored).
    c) fill in page size defaults (.psize)
    d) move text on H8/300 size suffixes to after opcode table, for
       better page breaks
    e) @alphaenumerate->@enumerate a in GPL

(2) Doc -a, -al, -as, options to enable listings and listing control
    directives; removed FIXME comments re verifying listing counter use;
    advanced titlepage date to Jan 92.
1992-01-21 22:25:37 +00:00
Steve Chamberlain
5d9f0ecf62 * as.c: change -l to -a[lsn], to avoid conflict with 68000
command line option.

	* listing.h, listing.c: now prints addresses with ??? instead of 0 when
	errors in assemble prevent addresses being known. Prints
	symbol table more tidily. Allows different parts of the
	listing to be selected.
1992-01-21 22:14:16 +00:00
Roland Pesch
f3139e9366 all.m4: correct AMD 29K entry (changed elsewhere to _A29K__ some time ago)
Makefile: preprocess w/GNU m4 by default, use "all" as default config
as.texinfo: index, at last;
            listing directives;
            improvements (re width suffixes) to H8 machine-dep
1992-01-20 03:42:12 +00:00
K. Richard Pixley
d7d28d221c keep listing* 1992-01-17 20:54:32 +00:00
Roland Pesch
2bdd06b3d3 Minor fixes for 68K-only config. 1992-01-08 21:19:59 +00:00
Steve Chamberlain
32e4477444 * config/obj-coffbfd.c: lint
* config/tc-h8300.c, config/tc-h8300.h: Too Many bug fixes
	* config/tc-m68k.h, config/tc-sparc.h: Override default
	listing options to give better effect.
1992-01-08 19:39:50 +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
c03956e829 Add declaration of free(). 1992-01-05 23:41:42 +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
e0982afeae Copied a missing case from the fsf-gas. The case was for relaxing
floating point branches of flexible size.
1991-12-28 07:50:37 +00:00
Roland Pesch
49b8ce8933 Minor updates for successful standalone 80386 configuration of manual. 1991-12-14 01:12:42 +00:00
Steve Chamberlain
29a8640328 renamed obj-coff-bfd to obj-coffbfd 1991-12-12 03:34:31 +00:00
Steve Chamberlain
28bf2d3194 Added makefile.dos configure.dos 1991-12-12 03:28:12 +00:00
Steve Chamberlain
ccdbfbdcd1 Initial revision 1991-12-12 03:27:33 +00:00
Steve Chamberlain
410e67eb21 * config/obj-coffbfd.c: lint, don't fixup relocs if H8300, use
tc_reloc_mangle to prepare relocation if one available
	* config/tc-h8300.h: added tc_reloc_mangle routine
1991-12-12 02:17:22 +00:00
Steve Chamberlain
db40ba149d Initial revision 1991-12-12 00:53:23 +00:00
K. Richard Pixley
c06ac69051 don't close a NULL file pointer 1991-12-11 07:43:40 +00:00
Michael Tiemann
e530f5c4f2 Keep a.out.gnu.h. 1991-12-09 11:58:44 +00:00
Michael Tiemann
f0494a6ed8 Add fixes needed to compile vxworks960 target. 1991-12-09 05:27:38 +00:00
Michael Tiemann
0dd0c58e49 Pick up bfd library from the build directory, not the source
directory.
1991-12-08 22:47:51 +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
Roland Pesch
338e7aa401 *** empty log message *** 1991-12-07 00:23:52 +00:00
Steve Chamberlain
4fed881829 *** empty log message *** 1991-12-04 18:25:37 +00:00
Steve Chamberlain
8bcad1b5b7 Don't ignore .line directives 1991-12-04 15:32:22 +00:00
Steve Chamberlain
f7c1f9e194 Don't ignore .file pseudos! 1991-12-04 00:18:18 +00:00
Steve Chamberlain
242bfe8791 Removed usage of alloca, lint. 1991-12-03 22:16:29 +00:00
Steve Chamberlain
9b4f91b556 Fix comment. 1991-12-01 07:14:34 +00:00
Steve Chamberlain
a1d144c63e More filename renaming. 1991-12-01 07:11:25 +00:00
Steve Chamberlain
af483be837 Filename renaming 1991-12-01 07:06:30 +00:00
Steve Chamberlain
63c92fcd96 Massive changes to generalize coff-bfd support enough to get 29k
working as well as it did before.

This means that 29k now supports multiple sections
1991-11-29 01:05:58 +00:00
Steve Chamberlain
ada269da87 Made ebmon29k use coff-bfd backend 1991-11-29 01:03:25 +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
7d4ffa93db *** empty log message *** 1991-11-28 21:23:52 +00:00
Steve Chamberlain
17b8147980 * config/tc-h8300.c: made $ statement sep, and int alloc 2 bytes. 1991-11-28 21:23:39 +00:00
Steve Chamberlain
f714e310f4 Made multiple sections with subsections work. 1991-11-28 21:22:41 +00:00
Steve Chamberlain
869eb845b1 Added obj-coff-bfd* and mt-h8300hds 1991-11-27 22:28:57 +00:00
Roland Pesch
24b1493d18 Hitachi h8/300 config of GAS manual (first draft), and a few config
spinoffs in the direction of feature-based config rather than entirely
machine-dep.
1991-11-27 21:32:15 +00:00
Roland Pesch
660eb163a7 Initial revision 1991-11-27 21:32:00 +00:00
Roland Pesch
7d7ecbddb0 Switch to _A29K__ (from _AMD29K__). 1991-11-26 19:41:08 +00:00
Steve Chamberlain
814e8bbabc Renamed static function to avoid conflict with header file 1991-11-26 02:30:24 +00:00
Steve Chamberlain
05b4b0e70c obj-coff-bfd:
bfd support gets deeper into gas
*h8*
	fixed numerous bugs in instruction encoding
1991-11-26 02:16:59 +00:00
Steve Chamberlain
23de7ff6f5 Initial revision 1991-11-26 02:16:53 +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
Michael Tiemann
865a2edf64 Ensure we null-terminate the string we copy at the start of
m68k_reg_parse.
1991-11-24 17:24:52 +00:00
K. Richard Pixley
81f73963ae link as.new only if there is something to link to 1991-11-20 03:46:20 +00:00
Roland Pesch
f81c49b14a Use new makeinfo -o option. Rest of this Makefile needs work to make it fit
config structure properly, though.
1991-11-13 23:21:31 +00:00