* 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.
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.
* 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.
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.
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.
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
* 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.
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
* 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.
* 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.
* 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)