From 2d63fb6c154a6e2a57967c1b4e5aa607df882bfd Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Fri, 5 Jul 2013 10:20:49 +0000 Subject: [PATCH] 2013-07-05 Tristan Gingold * coffcode.h (coff_write_object_contents): Use ".ovrflo" name for overflow sections. --- bfd/ChangeLog | 5 +++++ bfd/coffcode.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index a147d8a6931..9b048acecac 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 2a1a17260ed..a198e1c730f 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; -- 2.30.2