Share via


ARM Linking Directives

The following table describes ARM assembly directives that link other files to the current assembly.

Directive Syntax Description
IMPORT
IMPORT symbol{
WEAK=weak-symbol, {type=n}}
Provides the assembler with a name, symbol. The assembly does not contain a definition for symbol, but resolves it at link time to a symbol defined in a separate object file. The routine treats symbol as a program address. For more information about WEAK symbols, see the Microsoft COFF specification.
EXPORT
EXPORT symbol{
[FPREGARGS,DATA,LEAF]}
Declares a symbol for use at link time by other, separate object files. FPPREGARGS defines a function that expects fp arguments passed in fp registers. DATA defines a code-segment datum rather than a function or procedure. LEAF asserts that calls other functions. Identical to the GLOBAL directive.
GLOBAL
GLOBAL symbol{
[FPREGARGS,DATA,LEAF]}
Declares a symbol for use at link time by other, separate object files. FPPREGARGS defines a function that expects fp arguments passed in fp registers. DATA defines a code-segment datum rather than a function or procedure. LEAF asserts that calls other functions. Identical to the EXPORT directive.
GET
GET filename
Includes an additional file named filename within the current file assembly. The included file may in turn use GET directives to include more files. Once assembly of the included file is complete, assembly continues at the line following the GET directive.
INCLUDE
INCLUDE filename
Specifies a synonym for GET.

See Also

ARM Assembler Directives | ARM Assembler | ARM Initialization and Layout Directives | ARM Diagnostic Directives | ARM Directives for Conditional Assembly | ARM Dynamic Listing Directive Options | ARM-Thumb Interworking Directives | ARM Constant and Variable Declarations | ARM Assembler Directives for Macro Definition | Miscellaneous ARM Directives

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.