DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Linking with the mapfile option

Size-symbol declarations

Size-symbol declarations let you define a new global-absolute symbol that represents the size, in bytes, of the specified segment. This symbol can be referenced in your object files. A size-symbol declaration has the following syntax:

segment_name ``@'' symbol_name

symbol_name can be any valid C identifier, although the ld command does not check the syntax of the symbol_name.


Next topic: Mapping example
Previous topic: Mapping directives

© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005