aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-h8500.h
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1993-03-29 21:45:50 +0000
committerSteve Chamberlain <sac@cygnus>1993-03-29 21:45:50 +0000
commit10a3e37493f82c4548a09062063de3675e7f1bec (patch)
treeb2364b1d9b893d2e54ead64f50903fbf140a3dbb /gas/config/tc-h8500.h
parenta66ad4b2398ecd57e7d3c29f9549e4b41f49343e (diff)
downloadgdb-10a3e37493f82c4548a09062063de3675e7f1bec.zip
gdb-10a3e37493f82c4548a09062063de3675e7f1bec.tar.gz
gdb-10a3e37493f82c4548a09062063de3675e7f1bec.tar.bz2
Numerous bug fixes
Diffstat (limited to 'gas/config/tc-h8500.h')
-rw-r--r--gas/config/tc-h8500.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/gas/config/tc-h8500.h b/gas/config/tc-h8500.h
index 2826e1e..198558c 100644
--- a/gas/config/tc-h8500.h
+++ b/gas/config/tc-h8500.h
@@ -20,13 +20,13 @@
#define TC_H8500
-
+#define const
/* This macro translates between an internal fix and an coff reloc type */
-#define TC_COFF_FIX2RTYPE(fixP) abort();
+#define TC_COFF_FIX2RTYPE(fixP) tc_coff_fix2rtype(fixP)
#define BFD_ARCH bfd_arch_h8500
#define COFF_MAGIC 0x8500
-#define TC_COUNT_RELOC(x) (1)
+#define TC_COUNT_RELOC(x) ((x)->fx_addsy||(x)->fx_subsy)
#define IGNORE_NONSTANDARD_ESCAPES
#define TC_RELOC_MANGLE(a,b,c) tc_reloc_mangle(a,b,c)
@@ -38,4 +38,7 @@
#define RELOC_32 1234
#define COFF_FLAGS 1
+#define TC_START_LABEL(ch, ptr) (ch == ':' && start_label(ptr))
+
+
/* end of tc-h8500.h */