summaryrefslogtreecommitdiffstats
path: root/bfd
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2013-02-04 05:25:41 +0000
committerAlan Modra <amodra@gmail.com>2013-02-04 05:25:41 +0000
commit5d42dfb5b9bcd69c495591430e21834c277826b4 (patch)
treef15b00c9246a2734deb9feb80214e5d3acb102c2 /bfd
parent4d9d2f16a66592301c9c6ea170560221de08493f (diff)
downloadppe42-binutils-5d42dfb5b9bcd69c495591430e21834c277826b4.tar.gz
ppe42-binutils-5d42dfb5b9bcd69c495591430e21834c277826b4.zip
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 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/coff-tic54x.c9
-rw-r--r--bfd/coff-tic80.c9
3 files changed, 5 insertions, 18 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 7614ca0b19..97ee2439f5 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2013-02-04 Alan Modra <amodra@gmail.com>
+
+ * coff-tic54x.c (SWAP_OUT_RELOC_EXTRA): Delete.
+ * coff-tic80.c (SWAP_OUT_RELOC_EXTRA): Delete.
+
2013-02-01 Alan Modra <amodra@gmail.com>
* elf64-ppc.c (dec_dynrel_count): Don't error when elf_gc_sweep_symbol
diff --git a/bfd/coff-tic54x.c b/bfd/coff-tic54x.c
index 9afba42270..8efdc20402 100644
--- a/bfd/coff-tic54x.c
+++ b/bfd/coff-tic54x.c
@@ -323,15 +323,6 @@ ticoff_bfd_is_local_label_name (bfd *abfd ATTRIBUTE_UNUSED,
#define coff_bfd_is_local_label_name ticoff_bfd_is_local_label_name
-/* 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)
-
/* Customize coffcode.h; the default coff_ functions are set up to use COFF2;
coff_bad_format_hook uses BADMAG, so set that for COFF2. The COFF1
and COFF0 vectors use custom _bad_format_hook procs instead of setting
diff --git a/bfd/coff-tic80.c b/bfd/coff-tic80.c
index 22d4e947b1..c8fa5c0674 100644
--- a/bfd/coff-tic80.c
+++ b/bfd/coff-tic80.c
@@ -700,15 +700,6 @@ coff_tic80_relocate_section (bfd *output_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 */
OpenPOWER on IntegriCloud