On 2018-11-02 1:59 p.m., Michael Ploujnikov wrote: > I came across this typo and also added a similar ld invocation for > illustration purposes as mentioned by Jakub on irc. >
After talking to Jakub about it, I went with different terminology. - Michael
From f14d7315e0dc9c4b6aff6137fd90e4d2595ef9f5 Mon Sep 17 00:00:00 2001 From: Michael Ploujnikov <michael.ploujni...@oracle.com> Date: Mon, 12 Nov 2018 12:42:37 -0500 Subject: [PATCH] Fix weakref description. gcc/ChangeLog: 2018-11-12 Michael Ploujnikov <michael.ploujni...@oracle.com> * 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 e2b9ee11a54..fc507afe600 100644 --- gcc/doc/extend.texi +++ gcc/doc/extend.texi @@ -3619,7 +3619,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 link with relocatable output (ie: @code{ld -r}) on them. At present, a declaration to which @code{weakref} is attached can only be @code{static}. -- 2.19.1
signature.asc
Description: OpenPGP digital signature