From 16a21ab32693a8a42f1d20e36e0d10e9c99d7f86 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Tue, 24 Nov 2015 16:06:30 +0000 Subject: [PATCH] [AArch64] Documentation fix for -fpic gcc/ * doc/invoke.texi (-fpic): Add the AArch64 limit. (-fPIC): Add AArch64. From-SVN: r230819 --- gcc/ChangeLog | 5 +++++ gcc/doc/invoke.texi | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5d185344932..8fb91521574 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-11-24 Szabolcs Nagy + + * doc/invoke.texi (-fpic): Add the AArch64 limit. + (-fPIC): Add AArch64. + 2015-11-24 Tom de Vries * tree-ssa-loop-im.c (tree_ssa_lim): Make static. diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 53f1fe2a9a6..53a0467a9ab 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -24332,7 +24332,7 @@ loader is not part of GCC; it is part of the operating system). If the GOT size for the linked executable exceeds a machine-specific maximum size, you get an error message from the linker indicating that @option{-fpic} does not work; in that case, recompile with @option{-fPIC} -instead. (These maximums are 8k on the SPARC and 32k +instead. (These maximums are 8k on the SPARC, 28k on AArch64 and 32k on the m68k and RS/6000. The x86 has no such limit.) Position-independent code requires special support, and therefore works @@ -24347,7 +24347,7 @@ are defined to 1. @opindex fPIC If supported for the target machine, emit position-independent code, suitable for dynamic linking and avoiding any limit on the size of the -global offset table. This option makes a difference on the m68k, +global offset table. This option makes a difference on AArch64, m68k, PowerPC and SPARC@. Position-independent code requires special support, and therefore works -- 2.30.2