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] Classes to support stub generation in ARM.


Hi,

    This patch contains a number of classes to support stub generation
of ARM.  Since the stub machinery is pretty self-contained, it is
broken out to make reviewing easier.  The code to use these classes
will be sent out in subsequent patches.

-Doug

2009-09-30  Doug Kwan  <dougkwan@google.com>

        * arm.cc: Update copyright comments.
        (Target_arm): New forward class template declaration.
        (Arm_address): New type.
        (ARM_MAX_FWD_BRANCH_OFFSET, ARM_MAX_BWD_BRANCH_OFFSET,
        THM_MAX_FWD_BRANCH_OFFSET, THM_MAX_BWD_BRANCH_OFFSET,
        THM2_MAX_FWD_BRANCH_OFFSET, THM2_MAX_BWD_BRANCH_OFFSET): New
        constants.
        (Unsized_arm_target): New class definition.
        (Insn_template): Same.
        (DEF_STUBS): New macro.
        (Stub_type): New enum type.
        (Stub_template): New class definition.
        (Stub): Same.
        (Reloc_stub): Same.
        (Stub_factory): Same.
        (Target_arm::Target_arm): Initialize use_blx_ and pic_veneer_.
        (Target_arm::use_blx, Target_arm::set_use_blx, Target_arm::pic_veneer,
        Target_arm::set_pic_veneer, Target_arm::using_thumb2,
        Target_arm::using_thumb_only): New method defintions.
        (Target_arm::use_blx_, Target_arm::pic_veneer_): New data member
        declarations.
        (Insn_template::size, Insn_template::alignment): New method
        defintions.
        (Stub_template::Stub_template): New method definition.
        (Reloc_stub::Key::name, Reloc_stub::stub_type_for_reloc,
        Reloc_stub::do_fixed_endian_write, Reloc_stub::do_write): Same.
        (Stub_factory::Stub_factory): New method definition.

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]