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]

[GOLD][PATCH] Add Arm_output_section class and downcasting hooks.


Hi,

    This patch adds a new class Arm_output_section, which is a
sub-class of Output_section.  The class is defined mainly because we
want to group input sections into stub-groups.  In addition, this
patch also adds down-casting hooks for Relobj,
Output_relaxed_input_section and Output_section to their ARM
sub-classes.

-Doug

2009-10-22  Doug Kwan  <dougkwan@google.com>

        * arm.cc (Arm_output_section, Arm_relobj): Forward class declarations.
        (Arm_input_section::do_arm_input_section): New method.
        (Arm_output_section): New class definition.
        (Arm_output_section::create_stub_group,
        Arm_output_section::group_sections): New method definitions.
        * object.h (Arm_relobj): Forward class declaration.
        (Relobj::arm_relobj): New function template definition.
        (Relobj::do_arm_relobj): New overloaded method definitions.
        * output.h (Arm_input_section, Arm_output_section): Forward class
        declarations.
        (Output_relaxed_input_section::arm_input_section): New function
        template definition.
        (Output_relaxed_input_section::do_arm_input_section): New
        overloaded method definitions.
        (Output_section::arm_output_section): New function template
        definition.
        (Output_section::do_arm_output_section): New overloaded method
        definitions.

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]