as: Size
1
1 7.83 '.size'
1 ============
1
1 This directive is used to set the size associated with a symbol.
1
1 COFF Version
1 ------------
1
1 For COFF targets, the '.size' directive is only permitted inside
1 '.def'/'.endef' pairs. It is used like this:
1
1 .size EXPRESSION
1
1 ELF Version
1 -----------
1
1 For ELF targets, the '.size' directive is used like this:
1
1 .size NAME , EXPRESSION
1
1 This directive sets the size associated with a symbol NAME. The size
1 in bytes is computed from EXPRESSION which can make use of label
1 arithmetic. This directive is typically used to set the size of
1 function symbols.
1