aboutsummaryrefslogtreecommitdiff
path: root/include/coff/ti.h
diff options
context:
space:
mode:
authorAlan Modra <modra@gmail.com>2013-02-04 05:25:41 +0000
committerAlan Modra <modra@gmail.com>2013-02-04 05:25:41 +0000
commitdb7922e5bcc07bd95e1b5e9de758712322c3fa01 (patch)
treec19ea635b92d56a3cf9c5af0a9a098a45b665ddd /include/coff/ti.h
parent92825fd954725082a0b89d26bc20a38e1063d3d8 (diff)
downloadnewlib-db7922e5bcc07bd95e1b5e9de758712322c3fa01.zip
newlib-db7922e5bcc07bd95e1b5e9de758712322c3fa01.tar.gz
newlib-db7922e5bcc07bd95e1b5e9de758712322c3fa01.tar.bz2
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.
Diffstat (limited to 'include/coff/ti.h')
-rw-r--r--include/coff/ti.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/coff/ti.h b/include/coff/ti.h
index 61010a2..d54b2ed 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 (???) */