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

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004