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 | |
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')
-rw-r--r-- | gas/ChangeLog | 6 | ||||
-rw-r--r-- | gas/config/tc-v850.h | 6 |
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) + |