This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH][GOLD] Add code to build stubs.
- From: =?big5?b?RG91ZyBLd2FuICjD9q62vHcp?= <dougkwan at google dot com>
- To: Ian Lance Taylor <iant at google dot com>, binutils <binutils at sourceware dot org>
- Date: Tue, 3 Nov 2009 15:21:57 -0800
- Subject: [PATCH][GOLD] Add code to build stubs.
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