mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-26 13:56:22 +08:00
Wed Feb 9 09:42:45 1994 Stan Shebs (shebs@andros.cygnus.com)
* config/obj-coffbfd.c (obj_coff_init_stab_section): Use memset instead of memcpy to zero the initial stab symbol, duh. * config/obj-elf.c (obj_elf_init_stab_section): Ditto. * config/obj-som.c (obj_som_init_stab_section): Ditto.
This commit is contained in:
@ -1,3 +1,10 @@
|
|||||||
|
Wed Feb 9 09:42:45 1994 Stan Shebs (shebs@andros.cygnus.com)
|
||||||
|
|
||||||
|
* config/obj-coffbfd.c (obj_coff_init_stab_section): Use memset
|
||||||
|
instead of memcpy to zero the initial stab symbol, duh.
|
||||||
|
* config/obj-elf.c (obj_elf_init_stab_section): Ditto.
|
||||||
|
* config/obj-som.c (obj_som_init_stab_section): Ditto.
|
||||||
|
|
||||||
Tue Feb 8 17:25:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
Tue Feb 8 17:25:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
||||||
|
|
||||||
* write.c (fixup_segment): Use as_bad_where, not as_bad.
|
* write.c (fixup_segment): Use as_bad_where, not as_bad.
|
||||||
|
@ -2661,7 +2661,7 @@ obj_coff_init_stab_section (seg)
|
|||||||
/* Make space for this first symbol. */
|
/* Make space for this first symbol. */
|
||||||
p = frag_more (12);
|
p = frag_more (12);
|
||||||
/* Zero it out. */
|
/* Zero it out. */
|
||||||
memcpy (p, 0, 12);
|
memset (p, 0, 12);
|
||||||
as_where (&file, (unsigned int *) NULL);
|
as_where (&file, (unsigned int *) NULL);
|
||||||
stabstr_name = alloca (strlen (segment_info[seg].scnhdr.s_name) + 4);
|
stabstr_name = alloca (strlen (segment_info[seg].scnhdr.s_name) + 4);
|
||||||
strcpy (stabstr_name, segment_info[seg].scnhdr.s_name);
|
strcpy (stabstr_name, segment_info[seg].scnhdr.s_name);
|
||||||
|
Reference in New Issue
Block a user