diff options
Diffstat (limited to 'ld/ldbuildid.c')
-rw-r--r-- | ld/ldbuildid.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ld/ldbuildid.c b/ld/ldbuildid.c index 92edf74..3009cb7 100644 --- a/ld/ldbuildid.c +++ b/ld/ldbuildid.c @@ -114,7 +114,8 @@ generate_build_id (bfd *abfd, struct sha1_ctx ctx; sha1_init_ctx (&ctx); - if (!(*checksum_contents) (abfd, (sum_fn) &sha1_process_bytes, &ctx)) + if (!(*checksum_contents) (abfd, (sum_fn) sha1_choose_process_bytes (), + &ctx)) return false; sha1_finish_ctx (&ctx, id_bits); } |