Fixed private data printing to include program headers.

This commit is contained in:
Nick Clifton 1998-06-03 00:51:58 +00:00
parent 7d146b765c
commit cfba9ab0ac
2 changed files with 13 additions and 5 deletions

View 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

View 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 */
}