aboutsummaryrefslogtreecommitdiff
path: root/gas/config/obj-coffbfd.h
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1994-02-28 21:11:17 +0000
committerKen Raeburn <raeburn@cygnus>1994-02-28 21:11:17 +0000
commitc535f6bca65d5d6d2ba0c29f145e2207748bd471 (patch)
tree890cb04f7dc3b106cf9aece8b248668cf38f8905 /gas/config/obj-coffbfd.h
parent442f17dc56d816e0ff33f74ac6e9a599ca6ad93a (diff)
downloadgdb-c535f6bca65d5d6d2ba0c29f145e2207748bd471.zip
gdb-c535f6bca65d5d6d2ba0c29f145e2207748bd471.tar.gz
gdb-c535f6bca65d5d6d2ba0c29f145e2207748bd471.tar.bz2
* configure.in (i960-*-coff, i960-*-vxworks5.*): Use coffbfd, and gas_target
ic960coff. * config/ic960coff.mt: New file. * config/obj-coffbfd.h [TC_I960]: Include coff/i960.h. (TARGET_FORMAT) [TC_I960]: Use coff-Intel-little. * config/te-ic960.h (CROSS_COMPILE): Don't undef this. We'll always build little-endian object files. * config/tc-i960.c (md_reloc_size): Don't define at all if BFD or BFD_ASSEMBLER is defined. (mem_fmt): Since COFF doesn't handle callx relocations yet, treat them like normal 32-bit relocations. (md_apply_fix): For callx relocations, store zero. (tc_bout_fix_to_chars): Store symbol idx for all callx relocations, regardless of link-relax setting. (tc_coff_fix2rtype, tc_coff_sizemachdep): New functions. (i960_handle_align) [! OBJ_BOUT]: If link-relax option is selected, print an error message and clear it. * config/tc-i960.h (BFD_ARCH, COFF_FLAGS, COFF_MAGIC, TC_COUNT_RELOC, TC_COFF_FIX2RTYPE, TC_COFF_SIZEMACHDEP, tc_fix_adjustable): New macros. (tc_coff_fix2rtype, tc_coff_sizemachdep): Declare.
Diffstat (limited to 'gas/config/obj-coffbfd.h')
-rw-r--r--gas/config/obj-coffbfd.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gas/config/obj-coffbfd.h b/gas/config/obj-coffbfd.h
index 59a28df..f7b9155 100644
--- a/gas/config/obj-coffbfd.h
+++ b/gas/config/obj-coffbfd.h
@@ -97,7 +97,10 @@
#define RELOC_WDISP30 11
#endif
-
+#ifdef TC_I960
+#include "coff/i960.h"
+#define TARGET_FORMAT "coff-Intel-little"
+#endif
#ifndef OBJ_COFF_MAX_AUXENTRIES