From 3723a1a9f1bb80bb202ea3a57f42b35da44ec5ca Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Thu, 24 Oct 1996 20:32:36 +0000 Subject: [PATCH] * config/tc-v850.h (tc_fix_adjustable): Don't adjust TDA relocs. Fixing more tda stuff. --- gas/ChangeLog | 6 ++++++ gas/config/tc-v850.h | 6 +++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index b150ae99c32..32d4fe4a985 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 * 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 3ea07f7ded5..6a61ac15784 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) + -- 2.30.2