From: David MacKenzie Date: Fri, 4 Feb 1994 18:47:33 +0000 (+0000) Subject: * objcopy.c (filter_bytes): Make MEMHUNK a char *, not PTR, so we X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5d2f7e30c5a6f59137cb330da4de65b58a02bdf5;p=binutils-gdb.git * objcopy.c (filter_bytes): Make MEMHUNK a char *, not PTR, so we can do arithmetic on it. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index e9ad30caa6f..a69713cc683 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +Fri Feb 4 10:46:01 1994 David J. Mackenzie (djm@thepub.cygnus.com) + + * objcopy.c (filter_bytes): Make MEMHUNK a char *, not PTR, so we + can do arithmetic on it. + Thu Feb 3 14:06:41 1994 David J. Mackenzie (djm@thepub.cygnus.com) * objdump.c (dump_section_stabs, read_section_stabs, diff --git a/binutils/objcopy.c b/binutils/objcopy.c index 954abb8e054..690bf8d0987 100644 --- a/binutils/objcopy.c +++ b/binutils/objcopy.c @@ -212,7 +212,7 @@ filter_symbols (abfd, osyms, isyms, symcount) void filter_bytes (memhunk, size) - PTR memhunk; + char *memhunk; bfd_size_type *size; { char *from = memhunk + copy_byte, *to = memhunk, *end = memhunk + *size;