as: Weakref
1
1 7.103 '.weakref ALIAS, TARGET'
1 ==============================
1
1 This directive creates an alias to the target symbol that enables the
1 symbol to be referenced with weak-symbol semantics, but without actually
1 making it weak. If direct references or definitions of the symbol are
1 present, then the symbol will not be weak, but if all references to it
1 are through weak references, the symbol will be marked as weak in the
1 symbol table.
1
1 The effect is equivalent to moving all references to the alias to a
1 separate assembly source file, renaming the alias to the symbol in it,
1 declaring the symbol as weak there, and running a reloadable link to
1 merge the object files resulting from the assembly of the new source
1 file and the old source file that had the references to the alias
1 removed.
1
1 The alias itself never makes to the symbol table, and is entirely
1 handled within the assembler.
1