From 514d95fad2a30f1ab90aa8415005845076790b13 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 9 Mar 1993 16:11:14 +0000 Subject: [PATCH] Checkpoint for ECOFF support. Can assemble hello, world. * 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 | 1 + gas/config/mips-lit.mt | 1 + 2 files changed, 2 insertions(+) create mode 100644 gas/config/mips-big.mt create mode 100644 gas/config/mips-lit.mt diff --git a/gas/config/mips-big.mt b/gas/config/mips-big.mt new file mode 100644 index 00000000000..31e773a14d9 --- /dev/null +++ b/gas/config/mips-big.mt @@ -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 index 00000000000..9e240e8166e --- /dev/null +++ b/gas/config/mips-lit.mt @@ -0,0 +1 @@ +TDEFINES=-DTARGET_BYTES_LITTLE_ENDIAN -- 2.30.2