summaryrefslogtreecommitdiffstats
path: root/bfd/coff-mcore.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>1999-05-16 14:16:52 +0000
committerNick Clifton <nickc@redhat.com>1999-05-16 14:16:52 +0000
commit1349dd650d7235efe59c3a64d38be8e3f5566950 (patch)
tree3388a38b0dcae27fd92bedf685001da0009fafa8 /bfd/coff-mcore.c
parent49e315b1a10268f297d4985d60fed19c3b9cd5ae (diff)
downloadppe42-binutils-1349dd650d7235efe59c3a64d38be8e3f5566950.tar.gz
ppe42-binutils-1349dd650d7235efe59c3a64d38be8e3f5566950.zip
reinstate uin_reloc_p
Diffstat (limited to 'bfd/coff-mcore.c')
-rw-r--r--bfd/coff-mcore.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/bfd/coff-mcore.c b/bfd/coff-mcore.c
index 7c44a47bb0..c0efebfa1e 100644
--- a/bfd/coff-mcore.c
+++ b/bfd/coff-mcore.c
@@ -339,6 +339,17 @@ coff_mcore_rtype_to_howto (abfd, sec, rel, h, sym, addendp)
return howto;
}
+
+/* Return true if this relocation should appear in the output .reloc section.
+ This function is referenced in pe_mkobject in peicode.h. */
+static boolean
+in_reloc_p (abfd, howto)
+ bfd * abfd;
+ reloc_howto_type * howto;
+{
+ return ! howto->pc_relative && howto->type != IMAGE_REL_MCORE_RVA;
+}
+
/* The reloc processing routine for the optimized COFF linker. */
static boolean
OpenPOWER on IntegriCloud