summaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-09-30 03:19:08 +0000
committerUlrich Drepper <drepper@redhat.com>2000-09-30 03:19:08 +0000
commit3ed0dfa22af191bc854a3721f3010f8c31b11584 (patch)
tree57073693554c064d7d8834021808a14df97a955a /elf
parent2b1ec034a247e5cf9018e4f29221104f20494e91 (diff)
downloadglibc-3ed0dfa22af191bc854a3721f3010f8c31b11584.tar.gz
Update.
2000-09-29 Ulrich Drepper <drepper@redhat.com> * elf/cache.c (save_cache): Initialize __unused field in new cache as well to get reproducable results.
Diffstat (limited to 'elf')
-rw-r--r--elf/cache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/elf/cache.c b/elf/cache.c
index b84287332e..942b7900bf 100644
--- a/elf/cache.c
+++ b/elf/cache.c
@@ -320,6 +320,7 @@ save_cache (const char *cache_name)
file_entries_new->libs[idx_new].flags = entry->flags;
file_entries_new->libs[idx_new].hwcap = entry->hwcap;
file_entries_new->libs[idx_new].key = str_offset;
+ file_entries_new->libs[idx_new].__unused = 0;
}
len = strlen (entry->lib);
str = stpcpy (str, entry->lib);