aboutsummaryrefslogtreecommitdiff
path: root/bfd/coffcode.h
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1996-03-31 10:01:29 +0000
committerSteve Chamberlain <sac@cygnus>1996-03-31 10:01:29 +0000
commit323b430fc4e94627a6ce79fa0686e4732719c32e (patch)
treecaac54753c509cfb2f8f195490a6b3fa2f080b45 /bfd/coffcode.h
parentea461c67c1ba8e4d22b0906cb6a9729d6eb7f7c5 (diff)
downloadgdb-323b430fc4e94627a6ce79fa0686e4732719c32e.zip
gdb-323b430fc4e94627a6ce79fa0686e4732719c32e.tar.gz
gdb-323b430fc4e94627a6ce79fa0686e4732719c32e.tar.bz2
* peicode.h (coff_swap_aouthdr_out): Delete test for .junk.
* coffcode.h (coff_compute_section_file_positions): Likewise. (coff_write_object_contents): Likewise.
Diffstat (limited to 'bfd/coffcode.h')
-rw-r--r--bfd/coffcode.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/bfd/coffcode.h b/bfd/coffcode.h
index 7f15ef8..245b0ec 100644
--- a/bfd/coffcode.h
+++ b/bfd/coffcode.h
@@ -2106,16 +2106,6 @@ coff_compute_section_file_positions (abfd)
if (!(current->flags & SEC_HAS_CONTENTS))
continue;
-#ifdef COFF_WITH_PE
- /* Do not include the .junk section. This is where we collect section
- data which we don't need. This is mainly the MS .debug$ data which
- stores codeview debug data. */
- if (strcmp (current->name, ".junk") == 0)
- {
- continue;
- }
-#endif
-
/* Align the sections in the file to the same boundary on
which they are aligned in virtual memory. I960 doesn't
do this (FIXME) so we can stay in sync with Intel. 960
@@ -2353,14 +2343,6 @@ coff_write_object_contents (abfd)
struct internal_scnhdr section;
#ifdef COFF_WITH_PE
- /* Do not include the .junk section. This is where we collect section
- data which we don't need. This is mainly the MS .debug$ data which
- stores codeview debug data. */
- if (strcmp (current->name, ".junk") == 0)
- {
- continue;
- }
-
/* If we've got a .reloc section, remember. */
#ifdef COFF_IMAGE_WITH_PE