diff options
author | Nick Clifton <nickc@redhat.com> | 1998-06-03 00:51:58 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 1998-06-03 00:51:58 +0000 |
commit | cfba9ab0ac88b24d8aaf2c844dcca4947de5420c (patch) | |
tree | 56acd0f70e6bffd45ad385b8e4cc86102711d0f2 /bfd | |
parent | 7d146b765c7a676552e6a8b7bb8f28b37578a99f (diff) | |
download | gdb-cfba9ab0ac88b24d8aaf2c844dcca4947de5420c.zip gdb-cfba9ab0ac88b24d8aaf2c844dcca4947de5420c.tar.gz gdb-cfba9ab0ac88b24d8aaf2c844dcca4947de5420c.tar.bz2 |
Fixed private data printing to include program headers.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elf32-v850.c | 13 |
2 files changed, 13 insertions, 5 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index f103ab4..59358db 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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 diff --git a/bfd/elf32-v850.c b/bfd/elf32-v850.c index 47f78df..3795384 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 */ } |