OSDN Git Service

* doc/invoke.texi (Blackfin Options): Document -mlong-calls.
authorbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 13 Jun 2005 09:40:55 +0000 (09:40 +0000)
committerbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 13 Jun 2005 09:40:55 +0000 (09:40 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100875 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/doc/invoke.texi

index a7d4228..037a205 100644 (file)
@@ -1,3 +1,7 @@
+2005-06-13  Bernd Schmidt  <bernd.schmidt@analog.com>
+
+       * doc/invoke.texi (Blackfin Options): Document -mlong-calls.
+
 2005-06-12  Richard Henderson  <rth@redhat.com>
 
        PR tree-opt/21994
index 8b12244..7631894 100644 (file)
@@ -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