aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog6
-rw-r--r--gas/config/tc-v850.h6
2 files changed, 11 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index b150ae9..32d4fe4 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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
diff --git a/gas/config/tc-v850.h b/gas/config/tc-v850.h
index 3ea07f7..6a61ac1 100644
--- a/gas/config/tc-v850.h
+++ b/gas/config/tc-v850.h
@@ -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)
+