From patchwork Tue Jul 15 21:23:09 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Christopher X-Patchwork-Id: 370151 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id CED20140119 for ; Wed, 16 Jul 2014 07:23:20 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:date:message-id:subject:from:to:content-type; q= dns; s=default; b=m6HlxTT2AQOXLrcoHJepLEd7HDI2kdugSTNaUSkbfsNb65 1zIh1Bv3y/hsD7vhILSS0LonI2EvSjhav4W8FuG43IBEDyNg/AlnO71q9Z7fNWnb wHhrgJNWRlECGZLEkZMwAAstU8GlEV3rQkysSChvv4VXZHvl/cQgHZOnuGJig= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:date:message-id:subject:from:to:content-type; s= default; bh=r7GORwECHjlyNARZ7nFO66TZHzE=; b=StwAIvZ3U5VQOTuIZ1E3 GRlS6rr+bjqkGU+TbLgQxPzU8uM/v1/+pUw4hlsqVQ4zb8JW/qa6oqbIIFR2qdTI u5TCRMYTe2L4tdOA8WkOaKVfD5VJZ4m2OF49XcW9O1Fkq9d2KwSGWm9KGu7HZny+ M+fwYb3ZSKj+X/HhEydLCjI= Received: (qmail 5535 invoked by alias); 15 Jul 2014 21:23:14 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 5519 invoked by uid 89); 15 Jul 2014 21:23:13 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-vc0-f175.google.com Received: from mail-vc0-f175.google.com (HELO mail-vc0-f175.google.com) (209.85.220.175) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Tue, 15 Jul 2014 21:23:12 +0000 Received: by mail-vc0-f175.google.com with SMTP id hu12so6451580vcb.34 for ; Tue, 15 Jul 2014 14:23:09 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.220.17.199 with SMTP id t7mr24821560vca.1.1405459389693; Tue, 15 Jul 2014 14:23:09 -0700 (PDT) Received: by 10.58.134.37 with HTTP; Tue, 15 Jul 2014 14:23:09 -0700 (PDT) Date: Tue, 15 Jul 2014 14:23:09 -0700 Message-ID: Subject: [PATCH, docs] Document -z option From: Eric Christopher To: gcc-patches X-IsSubscribed: yes Just to document that it's passed directly on to the linker. OK? Wording changes? -eric 2014-07-15 Eric Christopher * 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 @node Directory Options