summaryrefslogtreecommitdiff
path: root/libdwfl/find-debuginfo.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-07-28 21:29:22 +0000
committerUlrich Drepper <drepper@redhat.com>2005-07-28 21:29:22 +0000
commit18618fd74777576cc20dce341bb71be327f9ed48 (patch)
tree13b84bfdcc11d179f64a409472b6a23513325071 /libdwfl/find-debuginfo.c
parentd07fc4b6d39599a2300708e9abbc71b72608930b (diff)
downloadelfutils-18618fd74777576cc20dce341bb71be327f9ed48.tar.gz
Merge all of libdwfl.a into libdw.a. libdwfl.a is not installed.
Fix building of libdwfl. libdwfl.a must not depend on libwu.a since the latter is not available after installation. Add copies of the crc32 files to libdwfl.
Diffstat (limited to 'libdwfl/find-debuginfo.c')
-rw-r--r--libdwfl/find-debuginfo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libdwfl/find-debuginfo.c b/libdwfl/find-debuginfo.c
index c9e640dd..372ece9e 100644
--- a/libdwfl/find-debuginfo.c
+++ b/libdwfl/find-debuginfo.c
@@ -54,7 +54,8 @@ static inline bool
check_crc (int fd, GElf_Word debuglink_crc)
{
uint32_t file_crc;
- return crc32_file (fd, &file_crc) == 0 && file_crc == debuglink_crc;
+ return (__libdwfl_crc32_file (fd, &file_crc) == 0
+ && file_crc == debuglink_crc);
}
int