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/tc-a29k.c | |
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/tc-a29k.c')
-rw-r--r-- | gas/config/tc-a29k.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gas/config/tc-a29k.c b/gas/config/tc-a29k.c index fbdadb5..62b5063 100644 --- a/gas/config/tc-a29k.c +++ b/gas/config/tc-a29k.c @@ -48,7 +48,10 @@ struct machine_it { expressionS exp; int pcrel; int reloc_offset; /* Offset of reloc within insn */ - enum reloc_type reloc; + + int reloc; + + } the_insn; #if __STDC__ == 1 @@ -861,10 +864,6 @@ short tc_coff_fix2rtype(fixP) fixS *fixP; { - /* FIXME-NOW: relocation type handling is not yet written for - a29k. */ - - switch (fixP->fx_r_type) { case RELOC_32: return(R_WORD); case RELOC_8: return(R_BYTE); |