diff options
author | Steve Chamberlain <sac@cygnus> | 1992-02-22 20:45:24 +0000 |
---|---|---|
committer | Steve Chamberlain <sac@cygnus> | 1992-02-22 20:45:24 +0000 |
commit | c593cf412bc4c50671ae1990c36be0a72eac2e37 (patch) | |
tree | f8e1170a1cea5e5b2c27cb017d3be1958cbe0e48 /gas/config/obj-coffbfd.h | |
parent | 3b548344d0c68e3c66965f10a882112cd6b3bc3c (diff) | |
download | gdb-c593cf412bc4c50671ae1990c36be0a72eac2e37.zip gdb-c593cf412bc4c50671ae1990c36be0a72eac2e37.tar.gz 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/config/obj-coffbfd.h')
-rw-r--r-- | gas/config/obj-coffbfd.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gas/config/obj-coffbfd.h b/gas/config/obj-coffbfd.h index d1afabb..b7eef37 100644 --- a/gas/config/obj-coffbfd.h +++ b/gas/config/obj-coffbfd.h @@ -40,6 +40,20 @@ #elif defined(TC_A29K) #include "coff/a29k.h" #define TARGET_FORMAT "coff-a29k-big" + +/* Allow translate from aout relocs to coff relocs */ +#define NO_RELOC 20 +#define RELOC_32 1 +#define RELOC_8 2 +#define RELOC_CONST 3 +#define RELOC_CONSTH 4 +#define RELOC_JUMPTARG 5 +#define RELOC_BASE22 6 +#define RELOC_HI22 7 +#define RELOC_LO10 8 +#define RELOC_BASE13 9 +#define RELOC_WDISP22 10 +#define RELOC_WDISP30 11 #else help me #endif |