summaryrefslogtreecommitdiff
path: root/gcc/extend.texi
diff options
context:
space:
mode:
authornickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>2000-02-29 01:42:52 +0000
committernickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>2000-02-29 01:42:52 +0000
commit78fe751b3a78922e64f0d58744b18d675a5a7141 (patch)
tree7e5e83e1bbfeec9523a4194b16ed3c7e0c4a5df4 /gcc/extend.texi
parent1ec409e9aa71ba6218c575219d7cc35c36be1882 (diff)
downloadgcc-78fe751b3a78922e64f0d58744b18d675a5a7141.tar.gz
Apply Dimitri Makarov's patch to import attribute short_call and #pragma
long_calls, no_long_calls. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32248 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/extend.texi')
-rw-r--r--gcc/extend.texi11
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/extend.texi b/gcc/extend.texi
index 87cf2914289..fa13154d7fe 100644
--- a/gcc/extend.texi
+++ b/gcc/extend.texi
@@ -1613,6 +1613,17 @@ compiler to always call the function via a pointer, so that functions
which reside further than 64 megabytes (67,108,864 bytes) from the
current location can be called.
+@item long_call/short_call
+@cindex indirect calls on ARM
+This attribute allows to specify how to call a particular function on
+ARM. Both attributes override the @code{-mlong-calls} (@pxref{ARM Options})
+command line switch and @code{#pragma long_calls} settings. The
+@code{long_call} attribute causes the compiler to always call the
+function by first loading its address into a register and then using the
+contents of that register. The @code{short_call} attribute always places
+the offset to the function from the call site into the @samp{BL}
+instruction directly.
+
@item dllimport
@cindex functions which are imported from a dll on PowerPC Windows NT
On the PowerPC running Windows NT, the @code{dllimport} attribute causes