1999-09-13 Donn Terry <donn@interix.com>
authorIan Lance Taylor <ian@airs.com>
Mon, 13 Sep 1999 23:42:43 +0000 (23:42 +0000)
committerIan Lance Taylor <ian@airs.com>
Mon, 13 Sep 1999 23:42:43 +0000 (23:42 +0000)
* coffcode.h (coff_write_object_contents): Don't check reloc_count
when determining whether to set F_RELFLG.

bfd/ChangeLog
bfd/coffcode.h

index 557562bee9585add045a04821d4061899583d41d..5c1a366d26520864dea09b89aebfe19fbf625295 100644 (file)
@@ -1,3 +1,8 @@
+1999-09-13  Donn Terry  <donn@interix.com>
+
+       * coffcode.h (coff_write_object_contents): Don't check reloc_count
+       when determining whether to set F_RELFLG.
+
 1999-09-13  Philip Blundell  <pb@nexus.co.uk>
 
        * elf32-arm.h (elf32_arm_final_link_relocate): Don't range-check
index f48886e34f209407dc1f4a55276ac8717236719f..1c52be596c4ee32a3e1523fdb6e139e6be068086 100644 (file)
@@ -3072,8 +3072,11 @@ coff_write_object_contents (abfd)
       section.s_lnnoptr = current->line_filepos;
       section.s_nreloc = current->reloc_count;
       section.s_nlnno = current->lineno_count;
+#ifndef COFF_IMAGE_WITH_PE
+      /* In PEI, relocs come in the .reloc section.  */
       if (current->reloc_count != 0)
        hasrelocs = true;
+#endif
       if (current->lineno_count != 0)
        haslinno = true;
       if ((current->flags & SEC_DEBUGGING) != 0
This page took 0.034386 seconds and 4 git commands to generate.