summaryrefslogtreecommitdiff
path: root/elf/cache.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-09-29 22:53:14 +0000
committerUlrich Drepper <drepper@redhat.com>2000-09-29 22:53:14 +0000
commit955821742eeae476da6e658f3f14c1af30630d1a (patch)
treef1659a73ba3c0fc8aa3a47a7ea6c21472eb4d1c8 /elf/cache.c
parented099f029e8b8b61a48329586fc00035af7f2287 (diff)
downloadglibc-955821742eeae476da6e658f3f14c1af30630d1a.tar.gz
Update.
2000-09-29 H.J. Lu <hjl@gnu.org> * sysdeps/unix/sysv/linux/ia64/dl-cache.h: New. * elf/cache.c (print_entry): Replace 64bit with IA-64 in message for x86/IA-64 binary. 2000-09-29 Andreas Schwab <schwab@suse.de> * sysdeps/unix/sysv/linux/ia64/readelflib.c: New file. * elf/cache.c (print_entry): Check for FLAG_IA64_LIB64.
Diffstat (limited to 'elf/cache.c')
-rw-r--r--elf/cache.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/elf/cache.c b/elf/cache.c
index 08cb5f373b..ef0248f4f8 100644
--- a/elf/cache.c
+++ b/elf/cache.c
@@ -72,6 +72,10 @@ print_entry (const char *lib, int flag, unsigned long int hwcap, const char *key
case FLAG_SPARC_LIB64:
fputs (",64bit", stdout);
#endif
+#if defined __ia64__ || defined __i386__
+ case FLAG_IA64_LIB64:
+ fputs (",IA-64", stdout);
+#endif
case 0:
break;
default:
@@ -285,9 +289,9 @@ save_cache (const char *cache_name)
file_entries_new->nlibs = cache_entry_count;
file_entries_new->len_strings = total_strlen;
}
-
+
pad = ALIGN_CACHE (file_entries_size) - file_entries_size;
-
+
/* If we have both formats, we hide the new format in the strings
table, we have to adjust all string indices for this so that
old libc5/glibc 2 dynamic linkers just ignore them. */