Fixed private data printing to include program headers.
authorNick Clifton <nickc@redhat.com>
Wed, 3 Jun 1998 00:51:58 +0000 (00:51 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 3 Jun 1998 00:51:58 +0000 (00:51 +0000)
bfd/ChangeLog
bfd/elf32-v850.c

index f103ab4..59358db 100644 (file)
@@ -1,3 +1,8 @@
+Tue Jun  2 17:50:59 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * elf32-v850.c (v850_elf_print_private_bfd_data): Call
+       _bfd_elf_print_private)bfd_data ().
+
 Tue Jun  2 15:29:35 1998  Ian Lance Taylor  <ian@cygnus.com>
 
        * elflink.h (elf_merge_symbol): Don't always set type_change_ok
index 47f78df..3795384 100644 (file)
@@ -1721,17 +1721,20 @@ v850_elf_print_private_bfd_data (abfd, ptr)
 {
   FILE * file = (FILE *) ptr;
   
-  BFD_ASSERT (abfd != NULL && ptr != NULL)
+  BFD_ASSERT (abfd != NULL && ptr != NULL);
   
-  fprintf (file, "private flags = %lx", elf_elfheader (abfd)->e_flags);
+  _bfd_elf_print_private_bfd_data (abfd, ptr);
+  
+  /* xgettext:c-format */
+  fprintf (file, _("private flags = %lx: "), elf_elfheader (abfd)->e_flags);
   
   switch (elf_elfheader (abfd)->e_flags & EF_V850_ARCH)
     {
     default:
-    case E_V850_ARCH: fprintf (file, ": v850 architecture"); break;
+    case E_V850_ARCH: fprintf (file, _("v850 architecture")); break;
 /* start-sanitize-v850e */
-    case E_V850E_ARCH:  fprintf (file, ": v850e architecture"); break;
-    case E_V850EA_ARCH: fprintf (file, ": v850ea architecture"); break;
+    case E_V850E_ARCH:  fprintf (file, _("v850e architecture")); break;
+    case E_V850EA_ARCH: fprintf (file, _("v850ea architecture")); break;
 /* end-sanitize-v850e */
     }