diff options
author | Bernd Schmidt <bernd.schmidt@analog.com> | 2005-06-13 09:40:55 +0000 |
---|---|---|
committer | Bernd Schmidt <bernds@gcc.gnu.org> | 2005-06-13 09:40:55 +0000 |
commit | b6877196919b9cf3013c9695d73da61bd44ccfe7 (patch) | |
tree | 64f7d5aaba5c41b9c4c2462d61b0041ef83001d9 /gcc | |
parent | f610dd5f4ceb8239c61ee33863760d39f3b28162 (diff) | |
download | gcc-b6877196919b9cf3013c9695d73da61bd44ccfe7.zip gcc-b6877196919b9cf3013c9695d73da61bd44ccfe7.tar.gz gcc-b6877196919b9cf3013c9695d73da61bd44ccfe7.tar.bz2 |
* doc/invoke.texi (Blackfin Options): Document -mlong-calls.
From-SVN: r100875
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/doc/invoke.texi | 18 |
2 files changed, 21 insertions, 1 deletions
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 <bernd.schmidt@analog.com> + + * doc/invoke.texi (Blackfin Options): Document -mlong-calls. + 2005-06-12 Richard Henderson <rth@redhat.com> 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 |