aboutsummaryrefslogtreecommitdiff
path: root/bfd/coffcode.h
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2013-07-05 10:20:49 +0000
committerTristan Gingold <gingold@adacore.com>2013-07-05 10:20:49 +0000
commit2d63fb6c154a6e2a57967c1b4e5aa607df882bfd (patch)
treeb7f34ab8168ce74b0322cbcddd542f8df77bec05 /bfd/coffcode.h
parenta63cc5f70ca64f41f5144ac330bc7978e584eed3 (diff)
downloadgdb-2d63fb6c154a6e2a57967c1b4e5aa607df882bfd.zip
gdb-2d63fb6c154a6e2a57967c1b4e5aa607df882bfd.tar.gz
gdb-2d63fb6c154a6e2a57967c1b4e5aa607df882bfd.tar.bz2
2013-07-05 Tristan Gingold <gingold@adacore.com>
* coffcode.h (coff_write_object_contents): Use ".ovrflo" name for overflow sections.
Diffstat (limited to 'bfd/coffcode.h')
-rw-r--r--bfd/coffcode.h2
1 files changed, 1 insertions, 1 deletions
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;