From 98c2d5ae4623c4d8a8b9cfc49837994a5868693d Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Mon, 30 Apr 2018 17:55:12 +0100 Subject: [PATCH] Clarify documentation for -fpie and -fPIE * doc/invoke.texi (-fpie, -fPIE): Fix grammar and clarify interaction with -pie. From-SVN: r259774 --- gcc/ChangeLog | 5 +++++ gcc/doc/invoke.texi | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) 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 -- 2.30.2