Checkpoint for ECOFF support. Can assemble hello, world.
authorIan Lance Taylor <ian@airs.com>
Tue, 9 Mar 1993 16:11:14 +0000 (16:11 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 9 Mar 1993 16:11:14 +0000 (16:11 +0000)
* config/obj-ecoff.c, config/obj-ecoff.h: Preliminary ECOFF
support.

* config/tc-mips.h (TARGET_FORMAT): Define based on OBJ_AOUT vs.
OBJ_ECOFF as well as TARGET_BYTES_*_ENDIAN.
(struct loc, struct proc, struct file): Moved to tc-mips.c within
#ifndef OBJ_ECOFF block, since ECOFF uses different versions.
* config/tc-mips.c: Rearranged for ECOFF support.  Added
prototypes for all static functions.  Moved existing minimal
debugging format support info #ifndef OBJ_ECOFF blocks.
(macro_build_lui): Eliminated sign_extend argument, because ECOFF
does not support a non sign extended high 16 bits reloc.  Adjusted
all callers accordingly.
(tc_get_register): Renamed from get_register, and made non-static.

* config/mips-big.mt, config/mips-lit.mt: New files.  Define
TARGET_BYTES_BIG_ENDIAN and TARGET_BYTES_LITTLE_ENDIAN,
respectively.
* configure.in (mips-*-bsd*): Use gas_target mips-lit.
(mips-*-ultrix*, mips-*-irix*, mips-*-ecoff): New targets, using
obj_format ecoff and gas_target mips-lit or mips-big.

gas/config/mips-big.mt [new file with mode: 0644]
gas/config/mips-lit.mt [new file with mode: 0644]

diff --git a/gas/config/mips-big.mt b/gas/config/mips-big.mt
new file mode 100644 (file)
index 0000000..31e773a
--- /dev/null
@@ -0,0 +1 @@
+TDEFINES=-DTARGET_BYTES_BIG_ENDIAN
diff --git a/gas/config/mips-lit.mt b/gas/config/mips-lit.mt
new file mode 100644 (file)
index 0000000..9e240e8
--- /dev/null
@@ -0,0 +1 @@
+TDEFINES=-DTARGET_BYTES_LITTLE_ENDIAN