ld: Add "-z separate-code" option to ELF linker
[deliverable/binutils-gdb.git] / bfd / i386msdos.c
index 62d2696600ec1239a41e03dfbefa3630c0e0ff6e..c15707c38d315db1eedb9a1117f4f2fa5d21981d 100644 (file)
@@ -1,5 +1,5 @@
 /* BFD back-end for MS-DOS executables.
-   Copyright (C) 1990-2017 Free Software Foundation, Inc.
+   Copyright (C) 1990-2018 Free Software Foundation, Inc.
    Written by Bryan Ford of the University of Utah.
 
    Contributed by the Center for Software Science at the
@@ -52,15 +52,15 @@ msdos_write_object_contents (bfd *abfd)
   for (sec = abfd->sections; sec != (asection *) NULL; sec = sec->next)
     {
       if (sec->size == 0)
-        continue;
+       continue;
       if (bfd_get_section_flags (abfd, sec) & SEC_ALLOC)
-        {
+       {
          bfd_vma sec_vma = bfd_get_section_vma (abfd, sec) + sec->size;
          if (sec_vma > high_vma)
            high_vma = sec_vma;
        }
       if (bfd_get_section_flags (abfd, sec) & SEC_LOAD)
-        {
+       {
          file_ptr sec_end = (sizeof (hdr)
                              + bfd_get_section_vma (abfd, sec)
                              + sec->size);
@@ -118,8 +118,8 @@ msdos_set_section_contents (bfd *abfd,
   if (bfd_get_section_flags (abfd, section) & SEC_LOAD)
     {
       if (bfd_seek (abfd, section->filepos + offset, SEEK_SET) != 0
-          || bfd_bwrite (location, count, abfd) != count)
-        return FALSE;
+         || bfd_bwrite (location, count, abfd) != count)
+       return FALSE;
     }
 
   return TRUE;
This page took 0.024743 seconds and 4 git commands to generate.