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] Avoid calling Output_section::output_address in arm.cc.


Hi,

     This patch add code to compute the output addresses for text
sections in relaxation.  Since we do not have merged text sections,
we can avoid calling Output_section::output_address, which can be very
slow for a large output.

-Doug

2010-02-08  Doug Kwan  <dougkwan@google.com>

        * arm.cc (Arm_relobj::simple_input_section_output_address): New
        method.
        (Arm_relobj::section_needs_cortex_a8_stub_scanning,
        Arm_relobj::scan_section_for_cortex_a8_stubs,
        Arm_relobj::do_relocation_section): Instead of calling

Attachment: patch-output-address.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]