From cfba9ab0ac88b24d8aaf2c844dcca4947de5420c Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 3 Jun 1998 00:51:58 +0000 Subject: [PATCH] Fixed private data printing to include program headers. --- bfd/ChangeLog | 5 +++++ bfd/elf32-v850.c | 13 ++++++++----- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index f103ab4b72c..59358db03e3 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +Tue Jun 2 17:50:59 1998 Nick Clifton + + * 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 * elflink.h (elf_merge_symbol): Don't always set type_change_ok diff --git a/bfd/elf32-v850.c b/bfd/elf32-v850.c index 47f78df6d43..3795384dfee 100644 --- a/bfd/elf32-v850.c +++ b/bfd/elf32-v850.c @@ -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 */ } -- 2.30.2