diff options
author | Jeff Law <law@redhat.com> | 1996-10-24 20:32:36 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1996-10-24 20:32:36 +0000 |
commit | 3723a1a9f1bb80bb202ea3a57f42b35da44ec5ca (patch) | |
tree | 5604d6c9eeacc00b8845fc4f5c8dc851a7ff866d /gas/config | |
parent | ac2321b633d4f0bf6dcfc45c73f97d4e3240ec66 (diff) | |
download | gdb-3723a1a9f1bb80bb202ea3a57f42b35da44ec5ca.zip gdb-3723a1a9f1bb80bb202ea3a57f42b35da44ec5ca.tar.gz gdb-3723a1a9f1bb80bb202ea3a57f42b35da44ec5ca.tar.bz2 |
* config/tc-v850.h (tc_fix_adjustable): Don't adjust TDA relocs.
Fixing more tda stuff.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-v850.h | 6 |
1 files changed, 5 insertions, 1 deletions
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) + |