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] Tune stub group size.


Hi,

    This patch changes the default stub group size, which was
originally copied from the ARM back-end in bfd.  Gold is slightly less
efficient in sharing stubs.  The ARM back-end in bfd uses a different
type of stub than requested if the existing stub is compatible.  Gold
right now cannot do that, so we need to reserve more space.  I also
restrict the stub group size to be less than 1M when fixing the
cortex-A8 workaround since this is the branch range for long
conditional branch.

-Doug

2010-06-07  Doug Kwan  <dougkwan@google.com>

        * arm.cc (Target_arm::do_relax): Reserve more space for stubs.
        Restrict stub-group size to be within long conditional branch
        range when working around cortex-A8 erratum.

Attachment: patch-stub-group-size.txt
Description: Text document


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