From: Jonathan Wakely Date: Mon, 30 Apr 2018 16:55:12 +0000 (+0100) Subject: Clarify documentation for -fpie and -fPIE X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=98c2d5ae4623c4d8a8b9cfc49837994a5868693d;p=gcc.git Clarify documentation for -fpie and -fPIE * doc/invoke.texi (-fpie, -fPIE): Fix grammar and clarify interaction with -pie. From-SVN: r259774 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 89055ebaf62..3470a74c8f4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2018-04-30 Jonathan Wakely + + * doc/invoke.texi (-fpie, -fPIE): Fix grammar and clarify + interaction with -pie. + 2018-04-30 David Malcolm * selftest.h: Fix alphabetization of per-source-file selftest diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 606e9152cfc..efe66e37901 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -13094,10 +13094,10 @@ are defined to 2. @itemx -fPIE @opindex fpie @opindex fPIE -These options are similar to @option{-fpic} and @option{-fPIC}, but -generated position independent code can be only linked into executables. -Usually these options are used when @option{-pie} GCC option is -used during linking. +These options are similar to @option{-fpic} and @option{-fPIC}, but the +generated position-independent code can be only linked into executables. +Usually these options are used to compile code that will be linked using +the @option{-pie} GCC option. @option{-fpie} and @option{-fPIE} both define the macros @code{__pie__} and @code{__PIE__}. The macros have the value 1