SIZE
Attribute
Sets the size attribute. This attribute results in the creation of a symbol definition.
The size_value argument can be a numeric value, or
it can be the symbolic name addrsize
.
addrsize
represents the size of a machine word capable of
holding a memory address. The link-editor substitutes the value 4 for
addrsize
when building 32-bit objects, and the value 8
when building 64-bit objects. addrsize
is useful for
representing the size of pointer variables and C variables of type
long
, as it automatically adjusts for 32 and 64-bit
objects without requiring the use of conditional input.
The size_value argument can be optionally suffixed with a count value, enclosed in square brackets. If count is present, size_value and count are multiplied together to obtain the final size value.