[ping] [patch] ARM support for long calls

Christophe LYON christophe.lyon@st.com
Mon May 19 13:01:00 GMT 2008


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.




More information about the Binutils mailing list