This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [ping] [patch] ARM support for long calls
- From: Christophe LYON <christophe dot lyon at st dot com>
- To: binutils at sourceware dot org
- Date: Mon, 19 May 2008 15:01:24 +0200
- Subject: Re: [ping] [patch] ARM support for long calls
- References: <47F1051A.3030107@st.com> <200804011510.45346.paul@codesourcery.com> <47F3A641.3090706@st.com> <200804030159.28202.paul@codesourcery.com> <481214B1.5000408@st.com> <48280B5A.30109@st.com> <482C6245.50504@redhat.com> <20080515222500.GA27789@caradoc.them.org>
On 16.05.2008 00:25, Daniel Jacobowitz wrote:
On Thu, May 15, 2008 at 05:18:13PM +0100, Nick Clifton wrote:
Hi Christophe,
Has any of the official maintainers plans to review to patch I proposed?
Sorry for the long delay in reviewing this patch.
The patch is approved and I have checked it in, although I did have to
make a few changes to get it to work with the current sources. (Plus
there were a few formatting issues to be resolved).
Thank you Nick.
Would one of you mind adding a NEWS entry? Things we don't tell users
about get overlooked :-)
Also, there is a new ld command line option with no documentation, and
the manual should answer the question "does this version of ld support
long branches on ARM?" now.
Note that I have not added a command line option. This new behaviour is
automatically enabled.
Here is a proposal for a short documentation entry:
Index: ld/NEWS
===================================================================
--- ld/NEWS (revision 637)
+++ ld/NEWS (working copy)
@@ -1,4 +1,8 @@
-*- text -*-
+Changes in 2.19:
+
+* ARM: The linker now generates stubs to allow 'long calls'.
+
Changes in 2.18:
* Linker sources now released under version 3 of the GNU General Public
Index: ld/ld.texinfo
===================================================================
--- ld/ld.texinfo (revision 637)
+++ ld/ld.texinfo (working copy)
@@ -5490,6 +5490,10 @@ which will work with non-interworking aw
the linker does not support generating stubs for function calls to
non-interworking aware Thumb code.
+@command{ld} will also generate code stubs to allow long function
+calls, ie beyond the range permitted by the R_ARM_CALL and
+R_ARM_THM_CALL relocations.
+
@cindex thumb entry point
@cindex entry point, thumb
@kindex --thumb-entry=@var{entry}
Christophe.