aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1993-05-19 14:44:00 +0000
committerSteve Chamberlain <sac@cygnus>1993-05-19 14:44:00 +0000
commit1f55e556ccd9b37bc584fd4e66c6801833e56f1d (patch)
treedf54c3f6f233bac58b9028af0c41ad59d5ef117b /gas
parent8ce07a211b4e227e8eedbb803f453506871bf48d (diff)
downloadgdb-1f55e556ccd9b37bc584fd4e66c6801833e56f1d.zip
gdb-1f55e556ccd9b37bc584fd4e66c6801833e56f1d.tar.gz
gdb-1f55e556ccd9b37bc584fd4e66c6801833e56f1d.tar.bz2
(build_bytes): Understand @rd mode and build relocations correctly.
Diffstat (limited to 'gas')
-rw-r--r--gas/config/tc-h8500.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/gas/config/tc-h8500.c b/gas/config/tc-h8500.c
index 8f37cec..4cd741d 100644
--- a/gas/config/tc-h8500.c
+++ b/gas/config/tc-h8500.c
@@ -967,6 +967,8 @@ build_bytes (opcode, operand)
output[index] |= rn;
break;
case RD:
+ case RDIND:
+
output[index] |= rd;
break;
case RS:
@@ -1029,15 +1031,15 @@ build_bytes (opcode, operand)
output[0] |= 0x8;
break;
case ABS24:
- insert (output, index, absolute, R_H8500_IMM24, 0);
+ insert (output, index, &absolute, R_H8500_IMM24, 0);
index += 2;
break;
case ABS16:
- insert (output, index, absolute, R_H8500_IMM16, 0);
+ insert (output, index, &absolute, R_H8500_IMM16, 0);
index++;
break;
case ABS8:
- insert (output, index, absolute, R_H8500_IMM8, 0);
+ insert (output, index, &absolute, R_H8500_IMM8, 0);
break;
case QIM:
switch (immediate.X_add_number)
@@ -1621,7 +1623,7 @@ tc_reloc_mangle (fix_ptr, intr, base)
}
-/* end of tc-h8500.c */
+
int
start_label (ptr)
@@ -1635,3 +1637,5 @@ start_label (ptr)
return 0;
return 1;
}
+
+/* end of tc-h8500.c */