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: scanning ARM relocations.


This patch adds code to scan for global and local relocations in the
ARM (or more correctly Android) port of gold.  This is part of a
bigger patch and was broken out to make review easier.

-Doug

2009-06-02  Doug Kwan  <dougkwan@google.com>

        * gold/arm.cc (Target_arm::Scan::Scan):  Initialize
        issued_non_pic_error_.
        (class Target_arm::Scan): Declare new method check_non_pic.
        Define new method symbol_needs_plt_entry.
        Declare new data member issued_non_pic_error_.
        (class Target_arm::Relocate): Declare new method
        should_apply_static_reloc.
        (Target_arm::may_need_copy_reloc): Handle STT_ARM_TFUNC.
        (Target_arm::Scan::check_non_pic): Define new method.
        (Target_arm::Scan::local): Handle a small subset of reloc types used
        by Android.
        (Target_arm::Scan::local): Same.
        (Target_arm::Relocate::should_apply_statci_reloc): Define new method.

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]