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]

Re: [PATCH][GOLD] Add code to build stubs.


Sorry, for got the patch.

2009-11-03  Doug Kwan  <dougkwan@google.com>

        * arm.cc (class Reloc_stub): Correct a comment.
        (Target_arm::Target_arm): Initialize arm_input_section_map_.
        (Target_arm::scan_section_for_stubs): New method declaration.
        (Target_arm::do_make_elf_object, Target_arm::do_make_output_section):
        Change methods from private to protected.
        (Target_arm::do_may_relax): New method definition.
        (Target_arm::do_relax, Target_arm::group_sections,
        Target_arm::scan_reloc_for_stub,
        Target_arm::scan_reloc_section_for_stubs): New method declarations.
        (Target_arm::arm_input_section_map_): New data member declaration.
        (Target_arm::scan_reloc_for_stub,
        Target_arm::scan_reloc_section_for_stubs,
        Target_arm::scan_section_for_stubs, Target_arm::group_sections,
        Target_arm::do_relax): New method definitions.


2009/11/3 Doug Kwan (Ãö®¶¼w) <dougkwan@google.com>:
> Hi,
>
>    This patch adds code to the target Target_arm class to build stubs
> to extend branch ranges and allowing mode switching between ARM and
> THUMB modes.  We build stubs by adding a relaxation hook that scan all
> the input code sections for relocations that require stubs.  Note that
> we only build stubs so far.  The code to relocate stubs and use them
> will be sent out later.  This patch also contains a few clean-up
> changes.
>
> Thanks.
>
> -Doug
>

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]