This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: PATCH for uninitialized junk in .dynsym


Am Die, 15 Jun 1999 schrieb Ian Lance Taylor:
>The dynindx field should be being set for all the sections in
>    ppc_elf_size_dynamic_sections
>Is that happening?  If it is happening, where is the dynindx field
>being cleared?


Hmm, in elflink.h elf_link_remove_section_and_adjust_dynindices() is called 2
times,once around line 2651:

      verdefs = asvinfo.verdefs;

      if (verdefs == NULL)
        elf_link_remove_section_and_adjust_dynindices (output_bfd,
                                                       info,
                                                       s);
      else


then again around line 2846:

        if (elf_tdata (output_bfd)->verref == NULL)
          elf_link_remove_section_and_adjust_dynindices (output_bfd,
                                                         info,
                                                         s);
        else


After the 2nd some dynindx I checked are zero.

Am I on the right track here?

Franz.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]