* config/tc-v850.c (v850_reloc_prefix): Recognize zdaoff, tdaoff
authorJeff Law <law@redhat.com>
Thu, 17 Oct 1996 04:48:07 +0000 (04:48 +0000)
committerJeff Law <law@redhat.com>
Thu, 17 Oct 1996 04:48:07 +0000 (04:48 +0000)
        and sdaoff expressions.

gas/ChangeLog
gas/config/tc-v850.c

index 6ed998ab6c7a4cd661799c3f1cf16c1772fe8fbc..b671f80a081d54f48b5c5ad1699c53501463e10c 100644 (file)
@@ -1,6 +1,9 @@
 start-sanitize-v850
 Wed Oct 16 11:28:31 1996  Jeffrey A Law  (law@cygnus.com)
 
+       * config/tc-v850.c (v850_reloc_prefix): Recognize zdaoff, tdaoff
+       and sdaoff expressions.
+
        * write.c (fixup_segment): Don't add symbol value to addend if
        TC_V850 and OBJ_ELF.
        * config/tc-v850.h (tc_fix_adjustable): Don't adjust any
index f1c8d7c7c9ae6523dd7418b65153221634603762..6fb4ef0dc7d27ef0de82d51ef4c16e09bf834741 100644 (file)
@@ -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;
This page took 0.052833 seconds and 4 git commands to generate.