aboutsummaryrefslogtreecommitdiff
path: root/bfd/peicode.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/peicode.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/peicode.h')
-rw-r--r--bfd/peicode.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/bfd/peicode.h b/bfd/peicode.h
index 7363766..4c0cf85 100644
--- a/bfd/peicode.h
+++ b/bfd/peicode.h
@@ -861,11 +861,6 @@ coff_swap_aouthdr_out (abfd, in, out)
{
int rounded = FA(sec->_raw_size);
- if (strcmp(sec->name,".junk") == 0)
- {
- continue;
- }
-
if (sec->flags & SEC_DATA)
dsize += rounded;
if (sec->flags & SEC_CODE)