remove unneeded ifdefs
authorIan Lance Taylor <ian@airs.com>
Tue, 7 Sep 1999 03:42:53 +0000 (03:42 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 7 Sep 1999 03:42:53 +0000 (03:42 +0000)
bfd/ChangeLog
bfd/coffcode.h

index 5142ed15e64b7fab6f988ddaa139bcf9a32ea221..9938e0f1dfdc98490f5be542d6ff71994f25efaa 100644 (file)
@@ -1,8 +1,8 @@
 1999-09-06  Donn Terry  <donn@interix.com>
 
        * libcoff-in.h (struct pei_section_tdata): Add pe_flags field.
-       * coffcode.h (coff_set_alignment_hook): Set pe_flags field if
-       COFF_WITH_PE.
+       * coffcode.h (coff_set_alignment_hook) [COFF_WITH_PE version]: Set
+       pe_flags field.
        * libcoff.h: Rebuild.
 
        * coffcode.h (coff_set_custom_section_alignment): Add const to
index 1116ee8567efb529b654568c5443dd1ace21312d..408ee96baba5c215f5c352a76ed17630f3188a2f 100644 (file)
@@ -1487,7 +1487,6 @@ coff_set_alignment_hook (abfd, section, scnhdr)
     }
 #endif
 
-#ifdef COFF_WITH_PE
   /* In a PE image file, the s_paddr field holds the virtual size of a
      section, while the s_size field holds the raw size.  We also keep
      the original section flag value, since not every bit can be
@@ -1516,7 +1515,6 @@ coff_set_alignment_hook (abfd, section, scnhdr)
   pei_section_data (abfd, section)->pe_flags = hdr->s_flags;
 
   section->lma = hdr->s_vaddr;
-#endif /* COFF_WITH_PE */
 }
 #undef ALIGN_SET
 #undef ELIFALIGN_SET