summary refs log tree commit diff
path: root/elf/cache.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-03-19 22:08:34 +0000
committerUlrich Drepper <drepper@redhat.com>2001-03-19 22:08:34 +0000
commit96c0d65dc3644467a0521cc4084274be073fb5e0 (patch)
tree9c63d1083995f555605dc8b8139c0f12aae9ca9a /elf/cache.c
parent3c504879d9411bb9c57cc69774e1bc0c15a3ea7f (diff)
downloadglibc-96c0d65dc3644467a0521cc4084274be073fb5e0.tar.gz
glibc-96c0d65dc3644467a0521cc4084274be073fb5e0.tar.xz
glibc-96c0d65dc3644467a0521cc4084274be073fb5e0.zip
Update.
	* elf/cache.c: Mark and have translated a few more messages.

2001-03-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>

	* elf/cache.c: Add case for FLAG_S390_LIB64.
	* sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64.
	* sysdeps/unix/sysv/linux/s390/ldconfig.h: New file.
	* sysdeps/unix/sysv/linux/s390/readelflib.c: New file.

2001-03-19  Ulrich Drepper  <drepper@redhat.com>
Diffstat (limited to 'elf/cache.c')
-rw-r--r--elf/cache.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/elf/cache.c b/elf/cache.c
index 19237bbe79..d95f93cf91 100644
--- a/elf/cache.c
+++ b/elf/cache.c
@@ -66,7 +66,7 @@ print_entry (const char *lib, int flag, unsigned int osversion,
       fputs (flag_descr[flag & FLAG_TYPE_MASK], stdout);
       break;
     default:
-      fputs ("unknown", stdout);
+      fputs (_("unknown"), stdout);
       break;
     }
   switch (flag & FLAG_REQUIRED_MASK)
@@ -79,6 +79,10 @@ print_entry (const char *lib, int flag, unsigned int osversion,
     case FLAG_IA64_LIB64:
       fputs (",IA-64", stdout);
 #endif
+#if defined __s390__ || defined __s390x__
+    case FLAG_S390_LIB64:
+      fputs(",64bit", stdout);
+#endif
     case 0:
       break;
     default:
@@ -94,12 +98,12 @@ print_entry (const char *lib, int flag, unsigned int osversion,
 	[0] = "Linux",
 	[1] = "Hurd",
 	[2] = "Solaris",
-	[3] = "Unknown OS"
+	[3] = N_("Unknown OS")
       };
       unsigned int os = osversion >> 24;
 
-      printf (", OS ABI: %s %d.%d.%d",
-	      abi_tag_os[os > 3 ? 3 : os],
+      printf (_(", OS ABI: %s %d.%d.%d"),
+	      _(abi_tag_os[os > 3 ? 3 : os]),
 	      (osversion >> 16) & 0xff,
 	      (osversion >> 8) & 0xff,
 	      osversion & 0xff);