From a3d2c01c9b8848a4658a489823cd80a93bf7f3aa Mon Sep 17 00:00:00 2001 From: nickc Date: Sun, 16 May 1999 14:16:51 +0000 Subject: [PATCH] reinstate uin_reloc_p --- bfd/ChangeLog | 4 ++++ bfd/coff-mcore.c | 11 +++++++++++ 2 files changed, 15 insertions(+) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 257b39b52b..96151486f2 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +1999-05-16 Nick Clifton + + * coff-mcore.c (in_reloc_p): Reinstate. + 1999-05-15 Nick Clifton * reloc.c (BFD_RELOC_MCORE_RVA): Define. 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 -- 2.11.0