diff mbox

[docs] Document -z option

Message ID CALehDX4chdJ=BfoODFScXE2C5RGEouTgquDORjFs5C4VQHr3kw@mail.gmail.com
State New
Headers show

Commit Message

Eric Christopher July 15, 2014, 9:23 p.m. UTC
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.

Comments

Diego Novillo July 15, 2014, 9:30 p.m. UTC | #1
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.
Eric Christopher July 15, 2014, 9:32 p.m. UTC | #2
Thanks :)

dzur:~/sources/gcc> svn ci
Enter passphrase for key '/usr/local/google/home/echristo/.ssh/id_dsa':
Sending        gcc/ChangeLog
Sending        gcc/doc/invoke.texi
Transmitting file data ..
Committed revision 212575.

-eric


On Tue, Jul 15, 2014 at 2:30 PM, Diego Novillo <dnovillo@google.com> wrote:
> 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.
diff mbox

Patch

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

 @node Directory Options