aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-09-07 03:42:53 +0000
committerIan Lance Taylor <ian@airs.com>1999-09-07 03:42:53 +0000
commitfdfd89ab43420abf7bc4ae3cc95ebc8ef0f6d49d (patch)
tree361c7adac95bbbeee6ea584e6b5f9dc32d3afda4 /bfd
parent8d3ad4e16f2b7ab875747b5363abfa89ce87096c (diff)
downloadgdb-fdfd89ab43420abf7bc4ae3cc95ebc8ef0f6d49d.zip
gdb-fdfd89ab43420abf7bc4ae3cc95ebc8ef0f6d49d.tar.gz
gdb-fdfd89ab43420abf7bc4ae3cc95ebc8ef0f6d49d.tar.bz2
remove unneeded ifdefs
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/coffcode.h2
2 files changed, 2 insertions, 4 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 5142ed1..9938e0f 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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
diff --git a/bfd/coffcode.h b/bfd/coffcode.h
index 1116ee8..408ee96 100644
--- a/bfd/coffcode.h
+++ b/bfd/coffcode.h
@@ -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