From 955821742eeae476da6e658f3f14c1af30630d1a Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 29 Sep 2000 22:53:14 +0000 Subject: Update. 2000-09-29 H.J. Lu * 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 * sysdeps/unix/sysv/linux/ia64/readelflib.c: New file. * elf/cache.c (print_entry): Check for FLAG_IA64_LIB64. --- elf/cache.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'elf/cache.c') diff --git a/elf/cache.c b/elf/cache.c index 08cb5f373b..ef0248f4f8 100644 --- a/elf/cache.c +++ b/elf/cache.c @@ -71,6 +71,10 @@ print_entry (const char *lib, int flag, unsigned long int hwcap, const char *key #ifdef __sparc__ 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; @@ -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. */ -- cgit v1.2.3