summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2013-02-04 05:25:38 +0000
committerAlan Modra <amodra@bigpond.net.au>2013-02-04 05:25:38 +0000
commit229f7e188853097fb256265648d11d0dd126dcd2 (patch)
treeb1ec3f67718d9eaf98d2d823b26476b6b2e43cf2 /include
parent111f87e1240a2b364e13d05586b6ff8eb8d126e6 (diff)
downloadbinutils-redhat-229f7e188853097fb256265648d11d0dd126dcd2.tar.gz
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')
-rw-r--r--include/coff/ChangeLog4
-rw-r--r--include/coff/ti.h3
2 files changed, 7 insertions, 0 deletions
diff --git a/include/coff/ChangeLog b/include/coff/ChangeLog
index 11437dd811..3311d4eadf 100644
--- a/include/coff/ChangeLog
+++ b/include/coff/ChangeLog
@@ -1,3 +1,7 @@
+2013-02-04 Alan Modra <amodra@gmail.com>
+
+ * ti.h (SWAP_OUT_RELOC_EXTRA): Define.
+
2013-01-02 Martin Storsjo <martin@martin.st>
* arm.h (ARMV7PEMAGIC): Define.
diff --git a/include/coff/ti.h b/include/coff/ti.h
index 61010a2108..d54b2ed191 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 (???) */