aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1996-10-17 04:48:07 +0000
committerJeff Law <law@redhat.com>1996-10-17 04:48:07 +0000
commit548ddc7174b5d4e7ada04496b574d5dea7ba89c2 (patch)
treee3f472caa102025371b752b803f079b5ea00e210 /gas/config
parentb6d08fce22121e4e551dfa9ae7eb8578354685b8 (diff)
downloadgdb-548ddc7174b5d4e7ada04496b574d5dea7ba89c2.zip
gdb-548ddc7174b5d4e7ada04496b574d5dea7ba89c2.tar.gz
gdb-548ddc7174b5d4e7ada04496b574d5dea7ba89c2.tar.bz2
* config/tc-v850.c (v850_reloc_prefix): Recognize zdaoff, tdaoff
and sdaoff expressions.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-v850.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/gas/config/tc-v850.c b/gas/config/tc-v850.c
index f1c8d7c..6fb4ef0 100644
--- a/gas/config/tc-v850.c
+++ b/gas/config/tc-v850.c
@@ -469,6 +469,24 @@ v850_reloc_prefix()
return BFD_RELOC_LO16;
}
+ if (strncmp (input_line_pointer, "sdaoff(", 7) == 0)
+ {
+ input_line_pointer += 7;
+ return BFD_RELOC_V850_SDA_OFFSET;
+ }
+
+ if (strncmp (input_line_pointer, "zdaoff(", 7) == 0)
+ {
+ input_line_pointer += 7;
+ return BFD_RELOC_V850_ZDA_OFFSET;
+ }
+
+ if (strncmp (input_line_pointer, "tdaoff(", 7) == 0)
+ {
+ input_line_pointer += 7;
+ return BFD_RELOC_V850_TDA_OFFSET;
+ }
+
/* FIXME: implement sda, tda, zda here */
return BFD_RELOC_UNUSED;