DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
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

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003