From: Tristan Gingold Date: Fri, 5 Jul 2013 10:20:49 +0000 (+0000) Subject: 2013-07-05 Tristan Gingold X-Git-Tag: cygwin-1_7_21-release~26 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2d63fb6c154a6e2a57967c1b4e5aa607df882bfd;p=external%2Fbinutils.git 2013-07-05 Tristan Gingold * coffcode.h (coff_write_object_contents): Use ".ovrflo" name for overflow sections. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index a147d8a..9b048ac 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2013-07-05 Tristan Gingold + + * coffcode.h (coff_write_object_contents): Use ".ovrflo" name for + overflow sections. + 2013-07-05 Andreas Krebbel * elf32-s390.c: Add new relocation definitions R_390_PC12DBL, diff --git a/bfd/coffcode.h b/bfd/coffcode.h index 2a1a172..a198e1c 100644 --- a/bfd/coffcode.h +++ b/bfd/coffcode.h @@ -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;