This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, docs] Document -z option
- From: Diego Novillo <dnovillo at google dot com>
- To: Eric Christopher <echristo at gmail dot com>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 15 Jul 2014 17:30:42 -0400
- Subject: Re: [PATCH, docs] Document -z option
- Authentication-results: sourceware.org; auth=none
- References: <CALehDX4chdJ=BfoODFScXE2C5RGEouTgquDORjFs5C4VQHr3kw at mail dot gmail dot com>
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.