diff options
Diffstat (limited to 'bfd/pdp11.c')
-rw-r--r-- | bfd/pdp11.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/bfd/pdp11.c b/bfd/pdp11.c index a46775a..b16c78f 100644 --- a/bfd/pdp11.c +++ b/bfd/pdp11.c @@ -1146,14 +1146,6 @@ NAME (aout, set_section_contents) (bfd *abfd, if (bfd_seek (abfd, section->filepos + offset, SEEK_SET) != 0 || bfd_bwrite (location, count, abfd) != count) return FALSE; - - /* If necessary, pad the section to its aligned size. */ - if ((section == obj_datasec (abfd) - || section == obj_textsec (abfd)) - && count < section->size - && (bfd_seek (abfd, section->filepos + offset + section->size - 1, SEEK_SET) != 0 - || bfd_bwrite ("", 1, abfd) != 1)) - return FALSE; } return TRUE; |