From 07d317711781d8c9268f7d6afcf1ba7eadf1d127 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Tue, 29 Jun 2010 22:34:52 +0000 Subject: Revert r107205 and r107207. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107215 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/LangRef.html | 35 +++++++++++++---------------------- 1 file changed, 13 insertions(+), 22 deletions(-) (limited to 'docs') diff --git a/docs/LangRef.html b/docs/LangRef.html index 1158a5760d..32f143a93a 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -24,7 +24,6 @@
  1. 'private' Linkage
  2. 'linker_private' Linkage
  3. -
  4. 'linker_weak' Linkage
  5. 'internal' Linkage
  6. 'available_externally' Linkage
  7. 'linkonce' Linkage
  8. @@ -547,31 +546,23 @@ define i32 @main() { ; i32()*
    private
    -
    Global values with "private" linkage are only directly accessible - by objects in the current module. In particular, linking code into a - module with an private global value may cause the private to be renamed as - necessary to avoid collisions. Because the symbol is private to the - module, all references can be updated. This doesn't show up in any symbol - table in the object file.
    +
    Global values with private linkage are only directly accessible by objects + in the current module. In particular, linking code into a module with an + private global value may cause the private to be renamed as necessary to + avoid collisions. Because the symbol is private to the module, all + references can be updated. This doesn't show up in any symbol table in the + object file.
    linker_private
    -
    Similar to private, but the symbol is passed through the - assembler and removed by the linker after evaluation. Note that (unlike - private symbols) linker_private 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). - This is currently only used for Objective-C metadata.
    - -
    linker_weak
    -
    Global values with "linker_weak" linkage are given weak linkage, - 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.
    +
    Similar to private, but the symbol is passed through the assembler and + removed by the linker after evaluation. Note that (unlike private + symbols) linker_private 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).
    internal
    -
    Similar to private, but the value shows as a local symbol +
    Similar to private, but the value shows as a local symbol (STB_LOCAL in the case of ELF) in the object file. This corresponds to the notion of the 'static' keyword in C.
    -- cgit v1.2.3