diff options
author | H.J. Lu <hjl@lucon.org> | 2005-02-23 16:22:15 +0000 |
---|---|---|
committer | H.J. Lu <hjl@lucon.org> | 2005-02-23 16:22:15 +0000 |
commit | cae265f6fa56e314258d28d92e35b9ee4d588aae (patch) | |
tree | 2a811bce2a38bc2647be74ea35de34ba9fbbdb6f /bfd/coff-tic80.c | |
parent | e6c369b99b8e769ab2052c5912cfe5ea0ed16ee3 (diff) | |
download | binutils-redhat-cae265f6fa56e314258d28d92e35b9ee4d588aae.tar.gz |
2005-02-22 H.J. Lu <hongjiu.lu@intel.com>
* coff-tic54x.c (SWAP_OUT_RELOC_EXTRA): Defined.
* coff-tic80.c (SWAP_OUT_RELOC_EXTRA): Likewise.
Diffstat (limited to 'bfd/coff-tic80.c')
-rw-r--r-- | bfd/coff-tic80.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bfd/coff-tic80.c b/bfd/coff-tic80.c index 30da206f37..499333d324 100644 --- a/bfd/coff-tic80.c +++ b/bfd/coff-tic80.c @@ -714,6 +714,15 @@ coff_tic80_relocate_section (output_bfd, info, input_bfd, return TRUE; } +/* Clear the r_reserved field in relocs. */ +#define SWAP_OUT_RELOC_EXTRA(abfd,src,dst) \ + do \ + { \ + dst->r_reserved[0] = 0; \ + dst->r_reserved[1] = 0; \ + } \ + while (0) + #define TIC80COFF 1 /* Customize coffcode.h */ #undef C_AUTOARG /* Clashes with TIc80's C_UEXT */ #undef C_LASTENT /* Clashes with TIc80's C_STATLAB */ |