* config/tc-v850.h (tc_fix_adjustable): Don't adjust TDA relocs.
authorJeff Law <law@redhat.com>
Thu, 24 Oct 1996 20:32:36 +0000 (20:32 +0000)
committerJeff Law <law@redhat.com>
Thu, 24 Oct 1996 20:32:36 +0000 (20:32 +0000)
Fixing more tda stuff.

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

index b150ae9..32d4fe4 100644 (file)
@@ -1,3 +1,9 @@
+start-sanitize-v850
+Thu Oct 24 14:31:04 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * config/tc-v850.h (tc_fix_adjustable): Don't adjust TDA relocs.
+
+end-sanitize-v850
 Wed Oct 23 18:20:29 1996  Ian Lance Taylor  <ian@cygnus.com>
 
        * config/tc-ppc.c (md_apply_fix3): Give a better warning message
index 3ea07f7..6a61ac1 100644 (file)
@@ -47,4 +47,8 @@
 
 #define md_number_to_chars number_to_chars_littleendian
 
-#define tc_fix_adjustable(FIX) (!(FIX)->fx_pcrel)
+/* In theory, we could adjust TDA relocs; it just means more hackery
+   to bfd/elf32-v850.c.  Not adjusting them is easier at the moment.  */
+#define tc_fix_adjustable(FIX) \
+  (!(FIX)->fx_pcrel && (FIX)->fx_r_type != BFD_RELOC_V850_TDA_OFFSET)
+