From patchwork Thu Apr 30 10:28:10 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Iain Buclaw X-Patchwork-Id: 1280151 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=gcc-patches-bounces@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=gcc.gnu.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.a=rsa-sha256 header.s=default header.b=cUkpkUis; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49CWn95Pkmz9sP7 for ; Thu, 30 Apr 2020 20:28:28 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 38FE23896832; Thu, 30 Apr 2020 10:28:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 38FE23896832 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1588242505; bh=i6h6qeinYydnwv7wCaykNJHhaknthPcWdGeAcznqfPU=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=cUkpkUisSkJ4qmFq94MImjLa4b0h97x1VJQJE9q11VnSft5f3lwtKJTZdE0Jd4/iN B6vsAcUZm9IoP0tB/31ghlg0LT1bWVuwNPvMBsiau5ePTtKNt9yGGVS5dTV4fpXy/e 43WHevhFPubx18FmlNvIE17IZfNPoqzHDpoM74sk= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mout-p-202.mailbox.org (mout-p-202.mailbox.org [IPv6:2001:67c:2050::465:202]) by sourceware.org (Postfix) with ESMTPS id 0F9F53892007 for ; Thu, 30 Apr 2020 10:28:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 0F9F53892007 Received: from smtp2.mailbox.org (smtp2.mailbox.org [80.241.60.241]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 49CWn15m5BzQlHR; Thu, 30 Apr 2020 12:28:21 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter01.heinlein-hosting.de (spamfilter01.heinlein-hosting.de [80.241.56.115]) (amavisd-new, port 10030) with ESMTP id XkN-ofc2Umw9; Thu, 30 Apr 2020 12:28:18 +0200 (CEST) To: gcc-patches@gcc.gnu.org Subject: [committed] d: Fix documentation of -defaultlib= and -debuglib= Date: Thu, 30 Apr 2020 12:28:10 +0200 Message-Id: <20200430102810.1670-1-ibuclaw@gdcproject.org> MIME-Version: 1.0 X-Rspamd-Queue-Id: A253217E9 X-Rspamd-Score: 1.27 / 15.00 / 15.00 X-Spam-Status: No, score=-27.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Iain Buclaw via Gcc-patches From: Iain Buclaw Reply-To: Iain Buclaw Errors-To: gcc-patches-bounces@gcc.gnu.org Sender: "Gcc-patches" Hi, This patch corrects the documentation of -defaultlib= and -debuglib=. From the generated manpages, it was not clear that its usage is '-debuglib='. Verified the contents of the generated manpage, committed to mainline. Regards Iain. --- gcc/d/ChangeLog: * gdc.texi (Options for Linking): Clarify usage of -defaultlib= and -debuglib= options. --- gcc/d/gdc.texi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gcc/d/gdc.texi b/gcc/d/gdc.texi index 496066cb59a..2ce560f3cae 100644 --- a/gcc/d/gdc.texi +++ b/gcc/d/gdc.texi @@ -665,14 +665,14 @@ a link step. @table @gcctabopt -@item -defaultlib @var{libname} -@cindex @option{-defaultlib} +@item -defaultlib=@var{libname} +@cindex @option{-defaultlib=} Specify the library to use instead of libphobos when linking. Options specifying the linkage of libphobos, such as @option{-static-libphobos} or @option{-shared-libphobos}, are ignored. -@item -debuglib -@cindex @option{-debuglib} +@item -debuglib=@var{libname} +@cindex @option{-debuglib=} Specify the debug library to use instead of libphobos when linking. This option has no effect unless the @option{-g} option was also given on the command line. Options specifying the linkage of libphobos, such