aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-h8300.h
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1991-11-26 02:16:59 +0000
committerSteve Chamberlain <sac@cygnus>1991-11-26 02:16:59 +0000
commit05b4b0e70c8f7563fd092dcb7fb94f08faeb0f0d (patch)
tree40746c04592b0e63f11b23fdcc11bb35bc25a800 /gas/config/tc-h8300.h
parent23de7ff6f56bea5d28d7263a62343641a0aa1cbc (diff)
downloadgdb-05b4b0e70c8f7563fd092dcb7fb94f08faeb0f0d.zip
gdb-05b4b0e70c8f7563fd092dcb7fb94f08faeb0f0d.tar.gz
gdb-05b4b0e70c8f7563fd092dcb7fb94f08faeb0f0d.tar.bz2
obj-coff-bfd:
bfd support gets deeper into gas *h8* fixed numerous bugs in instruction encoding
Diffstat (limited to 'gas/config/tc-h8300.h')
-rw-r--r--gas/config/tc-h8300.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/gas/config/tc-h8300.h b/gas/config/tc-h8300.h
new file mode 100644
index 0000000..2e02b40
--- /dev/null
+++ b/gas/config/tc-h8300.h
@@ -0,0 +1,9 @@
+
+#define TC_H8300
+
+/* This macro translates between an internal fix and an coff reloc type */
+#define TC_COFF_FIX2RTYPE(fixP) \
+ (fixP->fx_pcrel ? (fixP->fx_size == 1 ? R_PCRBYTE : R_PCRWORD ) : \
+ (fixP->fx_size == 1 ? R_RELBYTE : R_RELWORD ))
+
+