]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - bfd/ChangeLog
Improve the speed of computing checksums for COFF binaries.
authorOleg Tolmatcev <oleg.tolmatcev@gmail.com>
Wed, 3 May 2023 14:36:43 +0000 (15:36 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 3 May 2023 14:36:43 +0000 (15:36 +0100)
commit7e1b5887642d6c7c341c2db09ae912041d670a79
tree05f6626983c748a86ee8daa1f32fb3aefe7dfb1b
parenta07223191bdda5e85a500e3b8206ee8fe8bcdfed
Improve the speed of computing checksums for COFF binaries.

 * coffcode.h (coff_read_word_from_buffer): New function.
 * coffcode.h (COFF_CHECKSUM_BUFFER_SIZE): New constant.
 * coffcode.h (coff_compute_checksum): Improve speed by reducing the number of seeks and reads used.
bfd/ChangeLog
bfd/coffcode.h