aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc/invoke.texi
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/doc/invoke.texi')
-rw-r--r--gcc/doc/invoke.texi15
1 files changed, 12 insertions, 3 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 4325ba0f4ae..e57aa1a7de7 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -11817,6 +11817,12 @@ names in the assembly language output using symbolic forms.
@itemx -mno-longcall
@opindex mlongcall
@opindex mno-longcall
+@c APPLE LOCAL begin 4222119
+@item -mlong-branch
+@itemx -mno-long-branch
+@opindex mlong-branch
+@opindex mno-long-branch
+@c APPLE LOCAL end 4222119
Default to making all function calls indirectly, using a register, so
that functions which reside further than 32 megabytes (33,554,432
bytes) from the current location can be called. This setting can be
@@ -11839,9 +11845,12 @@ island''. The ``branch island'' is appended to the body of the
calling function; it computes the full 32-bit address of the callee
and jumps to it.
-On Mach-O (Darwin) systems, this option directs the compiler emit to
-the glue for every direct call, and the Darwin linker decides whether
-to use or discard it.
+@c APPLE LOCAL begin 4222119
+On Mach-O (Darwin) systems, @option{-mlongcall} directs the compiler
+emit to the glue for every direct call, and the Darwin linker decides
+whether to use or discard it. @option{-mlong-branch} is a synonym for
+@option{-mlongcall}.
+@c APPLE LOCAL end 4222119
In the future, we may cause GCC to ignore all longcall specifications
when the linker is known to generate glue.