This is the mail archive of the binutils@sourceware.org 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]
Other format: [Raw text]

[PATCH][GOLD] Handle symbols with section index SHN_XINDEX correctly.


Hi Ian,

    This patch fixes a problem in which the special section index
SHN_XINDEX is treated as a normal section index.  That problem caused
some objects with more than 64K sections not scanned properly for the
Cortex-A8 erratum.  A similar problem was also found elsewhere and it
is also fixed by patch.

-Doug

2010-04-07  Doug Kwan  <dougkwan@google.com>

        * arm.cc (Arm_relobj::scan_section_for_cortex_a8_erratum): Warn
        if section is marked as containing instructions but has no mapping
        symbols.
        (Arm_relobj::do_count_local_symbols): Call adjust_sym_shndx to get
        correct section index.
        (Arm_relobj::find_linked_text_section): Ditto.

Attachment: patch-shn-xindex.txt
Description: Text document


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