From b6877196919b9cf3013c9695d73da61bd44ccfe7 Mon Sep 17 00:00:00 2001 From: Bernd Schmidt Date: Mon, 13 Jun 2005 09:40:55 +0000 Subject: * doc/invoke.texi (Blackfin Options): Document -mlong-calls. From-SVN: r100875 --- gcc/ChangeLog | 4 ++++ gcc/doc/invoke.texi | 18 +++++++++++++++++- 2 files changed, 21 insertions(+), 1 deletion(-) (limited to 'gcc') diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a7d4228..037a205 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2005-06-13 Bernd Schmidt + + * doc/invoke.texi (Blackfin Options): Document -mlong-calls. + 2005-06-12 Richard Henderson PR tree-opt/21994 diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 8b12244..7631894 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -416,7 +416,8 @@ Objective-C and Objective-C++ Dialects}. @emph{Blackfin Options} @gccoptlist{-momit-leaf-frame-pointer -mno-omit-leaf-frame-pointer -mcsync @gol -mno-csync -mlow-64k -mno-low64k -mid-shared-library @gol --mno-id-shared-library -mshared-library-id=@var{n} @gol} +-mno-id-shared-library -mshared-library-id=@var{n} @gol +-mlong-calls -mno-long-calls} @emph{CRIS Options} @gccoptlist{-mcpu=@var{cpu} -march=@var{cpu} -mtune=@var{cpu} @gol @@ -7418,6 +7419,21 @@ Specified the identification number of the ID based shared library being compiled. Specifying a value of 0 will generate more compact code, specifying other values will force the allocation of that number to the current library but is no more space or time efficient than omitting this option. + +@item -mlong-calls +@itemx -mno-long-calls +@opindex mlong-calls +@opindex mno-long-calls +Tells the compiler to perform function calls by first loading the +address of the function into a register and then performing a subroutine +call on this register. This switch is needed if the target function +will lie outside of the 24 bit addressing range of the offset based +version of subroutine call instruction. + +This feature is not enabled by default. Specifying +@option{-mno-long-calls} will restore the default behavior. Note these +switches have no effect on how the compiler generates code to handle +function calls via function pointers. @end table @node CRIS Options -- cgit v1.1