diff options
author | Tristan Gingold <gingold@adacore.com> | 2013-07-05 10:20:49 +0000 |
---|---|---|
committer | Tristan Gingold <gingold@adacore.com> | 2013-07-05 10:20:49 +0000 |
commit | 2d63fb6c154a6e2a57967c1b4e5aa607df882bfd (patch) | |
tree | b7f34ab8168ce74b0322cbcddd542f8df77bec05 /bfd | |
parent | a63cc5f70ca64f41f5144ac330bc7978e584eed3 (diff) | |
download | gdb-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')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/coffcode.h | 2 |
2 files changed, 6 insertions, 1 deletions
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 <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, 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; |