Improve explanation.
authorBill Wendling <isanbard@gmail.com>
Tue, 29 Jun 2010 21:41:58 +0000 (21:41 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 29 Jun 2010 21:41:58 +0000 (21:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107207 91177308-0d34-0410-b5e6-96231b3b80d8

docs/LangRef.html

index 282281327f5c5a64599627927cf1670f7453daff..1158a5760d884c72d6702ce185bbc801638fc7ea 100644 (file)
@@ -560,11 +560,15 @@ define i32 @main() {                                        <i>; i32()* </i>
       <tt>private</tt> symbols) <tt>linker_private</tt> symbols are subject to
       coalescing by the linker: weak symbols get merged and redefinitions are
       rejected.  However, unlike normal strong symbols, they are removed by the
-      linker from the final linked image (executable or dynamic library).</dd>
+      linker from the final linked image (executable or dynamic library).
+      This is currently only used for Objective-C metadata.</dd>
 
   <dt><tt><b><a name="linkage_linker_weak">linker_weak</a></b></tt></dt>
   <dd>Global values with "<tt>linker_weak</tt>" linkage are given weak linkage,
-      but are removed by the linker after evaluation.</dd>
+      but are removed by the linker after evaluation. Unlike normal weak
+      symbols, linker weak symbols are removed by the linker from the linal
+      linked image (executable or dynamic library). This is currently only used
+      for Objective-C metadata.</dd>
 
   <dt><tt><b><a name="linkage_internal">internal</a></b></tt></dt>
   <dd>Similar to <tt>private</tt>, but the value shows as a local symbol