diff options
author | David MacKenzie <djm@cygnus> | 1994-02-04 18:47:33 +0000 |
---|---|---|
committer | David MacKenzie <djm@cygnus> | 1994-02-04 18:47:33 +0000 |
commit | 5d2f7e30c5a6f59137cb330da4de65b58a02bdf5 (patch) | |
tree | d8accc91583454cfb4bda0b5daf88da318395cb1 | |
parent | 81268ac80eab1fe6d621da56123c4dc4f19a6cc8 (diff) | |
download | gdb-5d2f7e30c5a6f59137cb330da4de65b58a02bdf5.zip gdb-5d2f7e30c5a6f59137cb330da4de65b58a02bdf5.tar.gz gdb-5d2f7e30c5a6f59137cb330da4de65b58a02bdf5.tar.bz2 |
* objcopy.c (filter_bytes): Make MEMHUNK a char *, not PTR, so we
can do arithmetic on it.
-rw-r--r-- | binutils/ChangeLog | 5 | ||||
-rw-r--r-- | binutils/objcopy.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index e9ad30ca..a69713c 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 954abb8..690bf8d 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; |