From db7922e5bcc07bd95e1b5e9de758712322c3fa01 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Mon, 4 Feb 2013 05:25:41 +0000 Subject: include/coff/ * ti.h (SWAP_OUT_RELOC_EXTRA): Define. bfd/ * coff-tic54x.c (SWAP_OUT_RELOC_EXTRA): Delete. * coff-tic80.c (SWAP_OUT_RELOC_EXTRA): Delete. --- include/coff/ChangeLog | 4 ++++ include/coff/ti.h | 3 +++ 2 files changed, 7 insertions(+) (limited to 'include') diff --git a/include/coff/ChangeLog b/include/coff/ChangeLog index 11437dd81..3311d4ead 100644 --- a/include/coff/ChangeLog +++ b/include/coff/ChangeLog @@ -1,3 +1,7 @@ +2013-02-04 Alan Modra + + * ti.h (SWAP_OUT_RELOC_EXTRA): Define. + 2013-01-02 Martin Storsjo * arm.h (ARMV7PEMAGIC): Define. diff --git a/include/coff/ti.h b/include/coff/ti.h index 61010a210..d54b2ed19 100644 --- a/include/coff/ti.h +++ b/include/coff/ti.h @@ -546,6 +546,9 @@ struct external_reloc #define RELSZ_V0 10 /* FIXME -- coffcode.h needs fixing */ #define RELSZ 12 /* for COFF1/2 */ +#define SWAP_OUT_RELOC_EXTRA(abfd, src, dst) \ + do memset (dst->r_reserved, 0, sizeof (dst->r_reserved)); while (0) + /* various relocation types. */ #define R_ABS 0x0000 /* no relocation */ #define R_REL13 0x002A /* 13-bit direct reference (???) */ -- cgit v1.2.3