diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-07-11 23:23:20 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-07-11 23:23:20 +0000 |
commit | 4d09e8acfb68cfbdef55b4569cdc8cb0eeb48ab9 (patch) | |
tree | 429bf3aa89b31181827f57c1923568a747ed4fca /bfd/elfcode.h | |
parent | 6f4d6543da2b56e114ed45559a424b60f17559fc (diff) | |
download | gdb-4d09e8acfb68cfbdef55b4569cdc8cb0eeb48ab9.zip gdb-4d09e8acfb68cfbdef55b4569cdc8cb0eeb48ab9.tar.gz gdb-4d09e8acfb68cfbdef55b4569cdc8cb0eeb48ab9.tar.bz2 |
* 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.
Diffstat (limited to 'bfd/elfcode.h')
-rw-r--r-- | bfd/elfcode.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elfcode.h b/bfd/elfcode.h index 09f52cb..581200b 100644 --- a/bfd/elfcode.h +++ b/bfd/elfcode.h @@ -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); |