mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 02:50:08 +08:00
* elfcode.h: Use memset not bzero.
* trad-core.c: Don't include <sys/file.h>. * i386linux.h: Include <sys/file.h>. * coff-m68k-un.c: new file to handle names with underscores on svr3 machines. * coff-m68k.c (m68k_rtype2howto): added #ifdef ONLY_DECLARE_RELOCS to not duplicate the function in the executable. (TARGET_SYM, TARGET_NAME, NAMES_HAVE_UNDERSCORE): new macros needed by coff-m68k-un.c. * coffcode.h (MC68KBCSMAGIC): case added. * targets.c: Add m68kcoffun_vec. * configure.host: added support for Bull dpx/2. * config/dpx2.mh, hosts/dpx2.h: new files. * Makefile.in: added target coff-m68k-un.
This commit is contained in:
@ -2264,7 +2264,7 @@ DEFUN (elf_build_phdrs, (abfd, i_ehdrp, i_shdrp, phdr_cnt),
|
||||
|
||||
/* F. Set up the "end of program header table" sentinel. */
|
||||
|
||||
bzero ((char *) (phdr_buf + idx), sizeof (Elf_Internal_Phdr));
|
||||
memset ((char *) (phdr_buf + idx), 0, sizeof (Elf_Internal_Phdr));
|
||||
idx++;
|
||||
|
||||
BFD_ASSERT (idx - 1 == *phdr_cnt);
|
||||
|
Reference in New Issue
Block a user