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] Fix missing cases in previous patch for gold/13362


Hi Ian,

    The previous patch missed the TLS static data relocations.  The
patch addresses that.  Tested on ARM hardware and x86.  I also sent
this to the report of 13362 and he verified that it fixes the problem.
 There are a few other regressions on ARM unrelated to this problem.
Those will be fixed in another patch.

-Doug


2011-11-10  Doug Kwan  <dougkwan@google.com>

        PR gold/13362
        * arm.cc (Target_arm::Relocate::relocate_tls): Do unaligned accesses
        when processing data relocs.
        * reloc.h (Relocate_functions::rel_unaligned): New method.
        (Relocate_functions::pcrel_unaligned): Ditto.
        (Relocate_functions::rel32_unaligned): Ditto.
        (Relocate_functions::pcrel32_unaligned): Ditto.

Attachment: patch.txt
Description: Text document


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