aboutsummaryrefslogtreecommitdiff
path: root/gas/config/mips-lit.mt
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1993-03-09 16:11:14 +0000
committerIan Lance Taylor <ian@airs.com>1993-03-09 16:11:14 +0000
commit514d95fad2a30f1ab90aa8415005845076790b13 (patch)
tree2cc31858919ff47000b9aee34b51fb8714227a43 /gas/config/mips-lit.mt
parentc5d4bc889f70c57ce1cbd0e885a1ab3649bdc90c (diff)
downloadgdb-514d95fad2a30f1ab90aa8415005845076790b13.zip
gdb-514d95fad2a30f1ab90aa8415005845076790b13.tar.gz
gdb-514d95fad2a30f1ab90aa8415005845076790b13.tar.bz2
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.
Diffstat (limited to 'gas/config/mips-lit.mt')
-rw-r--r--gas/config/mips-lit.mt1
1 files changed, 1 insertions, 0 deletions
diff --git a/gas/config/mips-lit.mt b/gas/config/mips-lit.mt
new file mode 100644
index 0000000..9e240e8
--- /dev/null
+++ b/gas/config/mips-lit.mt
@@ -0,0 +1 @@
+TDEFINES=-DTARGET_BYTES_LITTLE_ENDIAN