From patchwork Fri Apr 22 10:27:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Weimer X-Patchwork-Id: 1620697 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=HCXU4pi+; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (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 bilbo.ozlabs.org (Postfix) with ESMTPS id 4Kl9Zf5xYxz9s0w for ; Fri, 22 Apr 2022 20:27:22 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 4B8FC3856DE6 for ; Fri, 22 Apr 2022 10:27:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4B8FC3856DE6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1650623240; bh=F2S+KDrOlk2lCzKcuAq1yPvlCpd1a9rOg7utGSepylQ=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=HCXU4pi+Z0JMei8B0TVSHztoOur5AssaW+a5kqxIhDP9XsOydXSTBEtStJ1uZe4+y Z8+aM20roElQtwDCLzpygnVm/+ClyB19rnG+yyQIL50qXSUeAKGWJjStDDHv/pXLud FRmvHCWyRmG4wjUrqjCSJfeTfHcc7vL1xYbzi5sU= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 9DC80385843E for ; Fri, 22 Apr 2022 10:27:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 9DC80385843E Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-620-rvVx1LzyNdW7ZheOpIRviQ-1; Fri, 22 Apr 2022 06:27:03 -0400 X-MC-Unique: rvVx1LzyNdW7ZheOpIRviQ-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 09EC91C0739E; Fri, 22 Apr 2022 10:27:03 +0000 (UTC) Received: from oldenburg.str.redhat.com (unknown [10.39.193.187]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 3214440D0174; Fri, 22 Apr 2022 10:27:02 +0000 (UTC) To: libc-alpha@sourceware.org Subject: [PATCH] INSTALL: Rephrase -with-default-link documentation Date: Fri, 22 Apr 2022 12:27:00 +0200 Message-ID: <87sfq5s9aj.fsf@oldenburg.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.11.54.1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-11.7 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Florian Weimer via Libc-alpha From: Florian Weimer Reply-To: Florian Weimer Cc: Andreas Schwab Errors-To: libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org Sender: "Libc-alpha" --- INSTALL | 8 ++++---- manual/install.texi | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) Reviewed-by: Carlos O'Donell diff --git a/INSTALL b/INSTALL index b68884ccd6..237a2f9482 100644 --- a/INSTALL +++ b/INSTALL @@ -90,10 +90,10 @@ if 'CFLAGS' is specified it must enable optimization. For example: library will still be usable, but functionality may be lost--for example, you can't build a shared libc with old binutils. -'--with-default-link=FLAG' - With '--with-default-link=yes', the build system does not use a - custom linker script for linking shared objects. The default for - FLAG is the opposite, 'no', because the custom linker script is +'--with-default-link' + With '--with-default-link', the build system does not use a custom + linker script for linking shared objects. The default is + '--without-default-link', because the custom linker script is needed for full RELRO protection. '--with-nonshared-cflags=CFLAGS' diff --git a/manual/install.texi b/manual/install.texi index fcfb6901e4..5feccfb6ed 100644 --- a/manual/install.texi +++ b/manual/install.texi @@ -117,11 +117,11 @@ problem and suppress these constructs, so that the library will still be usable, but functionality may be lost---for example, you can't build a shared libc with old binutils. -@item --with-default-link=@var{FLAG} -With @code{--with-default-link=yes}, the build system does not use a -custom linker script for linking shared objects. The default for -@var{FLAG} is the opposite, @samp{no}, because the custom linker script -is needed for full RELRO protection. +@item --with-default-link +With @code{--with-default-link}, the build system does not use a custom +linker script for linking shared objects. The default is +@code{--without-default-link}, because the custom linker script is +needed for full RELRO protection. @item --with-nonshared-cflags=@var{cflags} Use additional compiler flags @var{cflags} to build the parts of the