From patchwork Fri Nov 2 17:59:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Ploujnikov X-Patchwork-Id: 992477 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-488905-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=oracle.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="NRGEwosI"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=oracle.com header.i=@oracle.com header.b="aT7LhVF0"; dkim-atps=neutral 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 42mqb86pLPzB4XK for ; Sat, 3 Nov 2018 04:59:31 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:to :from:subject:message-id:date:mime-version:content-type; q=dns; s=default; b=Ogd/ngxjkIgWERs2qQzRXbtl1ukVzCF9MffJ5rVpD0G5m2MVwl zpkmzljtn49bjRgfhp46bES9SEV7n9FCBIS3EVi19aUTJWXVDw1VpL65rRtHzFQW 2SO5yKS2jpHwRVIK1J1ItiTfH45tOSvsf92hkkjlSSiZwOWSXmCj6TRu4= 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:to :from:subject:message-id:date:mime-version:content-type; s= default; bh=smjau5GYIz/7QZPuKZmZTNtW6Mw=; b=NRGEwosI+hAj8fP1zzdx V7tMEljIj4/+TkC1u27WLiy1E3oR0IuZ1sS2hFNcFutmG3Vr5AyUNGuElunXWAwR fiDt8Kk6eFV1h2cP2bZstZ6Pp2a5eVWO8u/WkNg8Bjt+Rkpw/oT61qv/g5p/lDNc mP57SiJjFpRrwk0ol5dccNw= Received: (qmail 70140 invoked by alias); 2 Nov 2018 17:59:22 -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 69148 invoked by uid 89); 2 Nov 2018 17:59:21 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-24.4 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_HELO_PASS, SPF_PASS autolearn=ham version=3.3.2 spammy=H*Ad:D*oracle.com, weakref, Hx-languages-length:1199 X-HELO: userp2130.oracle.com Received: from userp2130.oracle.com (HELO userp2130.oracle.com) (156.151.31.86) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 02 Nov 2018 17:59:17 +0000 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id wA2HwelG007488 for ; Fri, 2 Nov 2018 17:59:15 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=to : from : subject : message-id : date : mime-version : content-type; s=corp-2018-07-02; bh=yIsoTgffLANAaFUr0SDVORbg8P0620abTdQqdLKPTag=; b=aT7LhVF0i/zkC938+Pcz3bt8OBRa64izXavXbLV9JzgPsA7U5lcd7nIxL6IiVz4ELdZ5 x6fnUowmBWgtB4v4hVq4sqwXrLOXQTWWqIbCxb162cLRVjJ+cdr9U4oE62WGKxNGWV7C ia13FNfRhzn2+z7npbS7Zsf0SzNnGAFfnHn0U2v8cB01yrmwbNQzcFIKN3W5usoVtaBu 6Han+SwtEsRAszhR0z4bP/k1hp9xY4i7i22mduy1xNKMfCOqcGu/U/F70WoNBn9FMRU3 A1Nr/B1gQhkeclVV0XaglhoRnfX6DepEah6rg7qo7onnWGStPE1Aq9oC2yPJkiDwp5tq +Q== Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp2130.oracle.com with ESMTP id 2nducmmmeb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Fri, 02 Nov 2018 17:59:15 +0000 Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id wA2HxEvL010552 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Fri, 2 Nov 2018 17:59:14 GMT Received: from abhmp0011.oracle.com (abhmp0011.oracle.com [141.146.116.17]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id wA2HxD8u018656 for ; Fri, 2 Nov 2018 17:59:13 GMT Received: from [10.1.0.222] (/192.0.152.174) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 02 Nov 2018 10:59:13 -0700 To: GCC Patches From: Michael Ploujnikov Subject: [doc PATCH] Fix weakref description. Openpgp: preference=signencrypt Message-ID: <3fa9da84-5aad-ce2b-495f-3d527aee6918@oracle.com> Date: Fri, 2 Nov 2018 13:59:11 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 X-IsSubscribed: yes I came across this typo and also added a similar ld invocation for illustration purposes as mentioned by Jakub on irc. From 2df4903f04fbe68e9e6a1ae0eea460e7592a8512 Mon Sep 17 00:00:00 2001 From: Michael Ploujnikov Date: Fri, 2 Nov 2018 13:40:50 -0400 Subject: [PATCH] Fix weakref description. gcc/ChangeLog: 2018-11-02 Michael Ploujnikov * doc/extend.texi: Fix typo in the weakref description. --- gcc/doc/extend.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git gcc/doc/extend.texi gcc/doc/extend.texi index 4dbb2da39e..027e0f75a1 100644 --- gcc/doc/extend.texi +++ gcc/doc/extend.texi @@ -3603,7 +3603,7 @@ symbol, not necessarily in the same translation unit. The effect is equivalent to moving all references to the alias to a separate translation unit, renaming the alias to the aliased symbol, declaring it as weak, compiling the two separate translation units and -performing a reloadable link on them. +performing a incremental link (like @code{ld -r}) on them. At present, a declaration to which @code{weakref} is attached can only be @code{static}. -- 2.19.1