diff options
author | Tom Tromey <tromey@redhat.com> | 2013-08-14 17:57:09 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2013-08-14 17:57:09 +0000 |
commit | 85ec6ce7d58c48d6474981c428a4f0d92e447173 (patch) | |
tree | ec31227f3cf5c77091cff5cb42aff3cbd7e3597b /config.sub | |
parent | 62c34db3dc2a5a77d28853a650182a26f00896bb (diff) | |
download | gdb-85ec6ce7d58c48d6474981c428a4f0d92e447173.zip gdb-85ec6ce7d58c48d6474981c428a4f0d92e447173.tar.gz gdb-85ec6ce7d58c48d6474981c428a4f0d92e447173.tar.bz2 |
use the libiberty crc code
gdb has a copy of some CRC code that also appears in libiberty.
This patch just removes the local copy.
You may notice that "crc32" returns unsigned long but "xcrc32" returns
unsigned int. However, this does not matter, because crc32 actually
does all its operations in unsigned int type, and only the return
result is widened. So, the difference does not matter.
* remote.c (crc32_table, crc32): Remove.
(remote_verify_memory): Use xcrc32.
Diffstat (limited to 'config.sub')
0 files changed, 0 insertions, 0 deletions