aboutsummaryrefslogtreecommitdiff
path: root/gas/as.h
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1992-02-22 20:45:24 +0000
committerSteve Chamberlain <sac@cygnus>1992-02-22 20:45:24 +0000
commitc593cf412bc4c50671ae1990c36be0a72eac2e37 (patch)
treef8e1170a1cea5e5b2c27cb017d3be1958cbe0e48 /gas/as.h
parent3b548344d0c68e3c66965f10a882112cd6b3bc3c (diff)
downloadfsf-binutils-gdb-c593cf412bc4c50671ae1990c36be0a72eac2e37.zip
fsf-binutils-gdb-c593cf412bc4c50671ae1990c36be0a72eac2e37.tar.gz
fsf-binutils-gdb-c593cf412bc4c50671ae1990c36be0a72eac2e37.tar.bz2
* 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.
Diffstat (limited to 'gas/as.h')
-rw-r--r--gas/as.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/gas/as.h b/gas/as.h
index 12aeecb..ca65a0b 100644
--- a/gas/as.h
+++ b/gas/as.h
@@ -65,7 +65,7 @@
#include <stdio.h>
#include <assert.h>
-#include "listing.h"
+
#define obstack_chunk_alloc xmalloc
#define obstack_chunk_free xfree
@@ -263,7 +263,7 @@ struct frag /* a code fragment */
typedef struct frag fragS;
-COMMON fragS * frag_now; /* -> current frag we are building. */
+COMMON fragS *frag_now; /* -> current frag we are building. */
/* This frag is incomplete. */
/* It is, however, included in frchain_now. */
/* Frag_now->fr_fix is bogus. Use: */
@@ -389,7 +389,8 @@ void subsegs_begin();
/* these define types needed by the interfaces */
#include "struc-symbol.h"
-#include "aout/reloc.h"
+/*#include "aout/reloc.h"*/
+
#include "write.h"
#include "expr.h"
#include "frags.h"
@@ -400,6 +401,8 @@ void subsegs_begin();
#include "tc.h"
#include "obj.h"
+#include "listing.h"
+
/*
* Local Variables:
* comment-column: 0