X-Git-Url: http://drtracing.org/?a=blobdiff_plain;ds=sidebyside;f=binutils%2Fobjdump.c;h=29d2276f6c27b9a9bfb157c587676872da8d964d;hb=f0728ee368f217f2473798ad7ccfe9feae4412ce;hp=174596e252b8aa5610aed01015cc7512d129ca45;hpb=43339b1d1cac16ee3e3b556ff5ab3f031d03b5eb;p=deliverable%2Fbinutils-gdb.git diff --git a/binutils/objdump.c b/binutils/objdump.c index 174596e252..29d2276f6c 100644 --- a/binutils/objdump.c +++ b/binutils/objdump.c @@ -493,12 +493,7 @@ dump_section_header (bfd *abfd, asection *section, PF (SEC_COFF_NOREAD, "NOREAD"); } else if (bfd_get_flavour (abfd) == bfd_target_elf_flavour) - { - /* Note - sections can have both the READONLY and NOREAD attributes - set. In this case the NOREAD takes precedence, but we report both - since the user may need to know that both bits are set. */ - PF (SEC_ELF_NOREAD, "NOREAD"); - } + PF (SEC_ELF_PURECODE, "PURECODE"); PF (SEC_THREAD_LOCAL, "THREAD_LOCAL"); PF (SEC_GROUP, "GROUP"); if (bfd_get_arch (abfd) == bfd_arch_mep) @@ -823,7 +818,8 @@ objdump_print_symname (bfd *abfd, struct disassemble_info *inf, name = alloc; } - version_string = bfd_get_symbol_version_string (abfd, sym, &hidden); + if ((sym->flags & BSF_SYNTHETIC) == 0) + version_string = bfd_get_symbol_version_string (abfd, sym, &hidden); if (bfd_is_und_section (bfd_get_section (sym))) hidden = TRUE;