]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2013-07-05 Tristan Gingold <gingold@adacore.com>
authorTristan Gingold <gingold@adacore.com>
Fri, 5 Jul 2013 10:20:49 +0000 (10:20 +0000)
committerTristan Gingold <gingold@adacore.com>
Fri, 5 Jul 2013 10:20:49 +0000 (10:20 +0000)
        * coffcode.h (coff_write_object_contents): Use ".ovrflo" name for
        overflow sections.

bfd/ChangeLog
bfd/coffcode.h

index a147d8a6931d5699779a83869788b1eed810072d..9b048acecac29da50d611632814c13db481765de 100644 (file)
@@ -1,3 +1,8 @@
+2013-07-05  Tristan Gingold  <gingold@adacore.com>
+
+       * coffcode.h (coff_write_object_contents): Use ".ovrflo" name for
+       overflow sections.
+
 2013-07-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
 
        * elf32-s390.c: Add new relocation definitions R_390_PC12DBL,
index 2a1a17260ed3d440ce161bae314726ab4175d7ba..a198e1c730f6511c1e16cdc1925521115339db80 100644 (file)
@@ -3953,7 +3953,7 @@ coff_write_object_contents (bfd * abfd)
          bfd_size_type amt;
 
          internal_f.f_nscns++;
-         strncpy (&(scnhdr.s_name[0]), current->name, 8);
+         memcpy (scnhdr.s_name, ".ovrflo", 8);
          scnhdr.s_paddr = current->reloc_count;
          scnhdr.s_vaddr = current->lineno_count;
          scnhdr.s_size = 0;