From 9a5d8e72e50e6790063847420db3ad77aa4c2987 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Wed, 23 Feb 2005 16:22:15 +0000 Subject: 2005-02-22 H.J. Lu * coff-tic54x.c (SWAP_OUT_RELOC_EXTRA): Defined. * coff-tic80.c (SWAP_OUT_RELOC_EXTRA): Likewise. --- bfd/coff-tic80.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'bfd/coff-tic80.c') diff --git a/bfd/coff-tic80.c b/bfd/coff-tic80.c index 30da206f371..499333d3241 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 */ -- cgit v1.2.1