This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, docs] Document -z option


On Tue, Jul 15, 2014 at 5:23 PM, Eric Christopher <echristo@gmail.com> wrote:
> Just to document that it's passed directly on to the linker.
>
> OK? Wording changes?
>
> -eric
>
> 2014-07-15  Eric Christopher  <echristo@gmail.com>
>
>         * doc/invoke.texi (Link Options): Document -z option.
>
> Index: gcc/doc/invoke.texi
> ===================================================================
> --- gcc/doc/invoke.texi (revision 212574)
> +++ gcc/doc/invoke.texi (working copy)
> @@ -464,7 +464,7 @@
>  -static-libasan -static-libtsan -static-liblsan -static-libubsan @gol
>  -shared -shared-libgcc  -symbolic @gol
>  -T @var{script}  -Wl,@var{option}  -Xlinker @var{option} @gol
> --u @var{symbol}}
> +-u @var{symbol} -z @var{keyword}}
>
>  @item Directory Options
>  @xref{Directory Options,,Options for Directory Search}.
> @@ -10690,6 +10690,12 @@
>  Pretend the symbol @var{symbol} is undefined, to force linking of
>  library modules to define it.  You can use @option{-u} multiple times with
>  different symbols to force loading of additional library modules.
> +
> +@item -z @var{keyword}
> +@opindex z
> +@option{-z} is passed directly on to the linker along with the keyword
> +@var{keyword}. See the section in the documentation of your linker for
> +permitted values and their meanings.
>  @end table

Looks fine.


Diego.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]