Declares to the optimizing linker that the symbol described in the operand field is a symbol to be referenced from another module
The .WEAK directive declares to the optimizing linker that the symbol described in the operand field is a symbol to be referenced from another module. |
The .WEAK directive declares to the optimizing linker that the symbol described in the operand field is a symbol to be referenced from another module. |
If symbols with the same name exist in different modules, specifying the .PUBLIC directive for each of these symbols will cause an error during linking. |
If symbols with the same name exist in different modules, specifying the .PUBLIC directive for one of these symbols and specifying the .WEAK directive for others does not cause an error. In this case, the module specified by the .PUBLIC directive will be linked. |