]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - ld/ldbuildid.c
[gdb/build] Cleanup gdb/features/feature_to_c.sh
[thirdparty/binutils-gdb.git] / ld / ldbuildid.c
index 92edf74cc2c5c050bce1807687168ff457215976..5ba9e503c7c3af4a06f04f8e50affd0a5ba4a473 100644 (file)
@@ -1,5 +1,5 @@
 /* ldbuildid.c - Build Id support routines
-   Copyright (C) 2013-2023 Free Software Foundation, Inc.
+   Copyright (C) 2013-2024 Free Software Foundation, Inc.
 
    This file is part of the GNU Binutils.
 
@@ -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);
     }