This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH][GOLD] Classes to support stub generation in ARM.
- From: =?big5?b?RG91ZyBLd2FuICjD9q62vHcp?= <dougkwan at google dot com>
- To: Ian Lance Taylor <iant at google dot com>, binutils at sourceware dot org
- Date: Fri, 16 Oct 2009 15:34:04 -0700
- Subject: Re: [PATCH][GOLD] Classes to support stub generation in ARM.
- References: <498552560909302058o30b5f94ex8b24107819bbdd46@mail.gmail.com>
Ping.
Sorry to bug you again. Would it help if I break this into smaller chunks?
-Doug
2009/9/30 Doug Kwan (Ãö®¶¼w) <dougkwan@google.com>:
> 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.
>