reinstate uin_reloc_p
authorNick Clifton <nickc@redhat.com>
Sun, 16 May 1999 14:16:52 +0000 (14:16 +0000)
committerNick Clifton <nickc@redhat.com>
Sun, 16 May 1999 14:16:52 +0000 (14:16 +0000)
bfd/ChangeLog
bfd/coff-mcore.c

index 257b39b52b54b049e1bc3e3c860e46faa89e945c..96151486f22c964f896f976493a2e153381b1358 100644 (file)
@@ -1,3 +1,7 @@
+1999-05-16  Nick Clifton  <nickc@cygnus.com>
+
+       * coff-mcore.c (in_reloc_p): Reinstate.
+
 1999-05-15  Nick Clifton  <nickc@cygnus.com>
 
        * reloc.c (BFD_RELOC_MCORE_RVA): Define.
index 7c44a47bb020dc945d749c71d79856d2da7687e4..c0efebfa1e074caf5964417a61a9f967469de64e 100644 (file)
@@ -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;
+}     
+
 \f
 /* The reloc processing routine for the optimized COFF linker.  */
 static boolean
This page took 0.028441 seconds and 4 git commands to generate.