Share via


ARM Linking Directives (Windows CE 5.0)

Send Feedback

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

Directive Syntax Description
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 causes asserts that call other functions.

Identical to the GLOBAL directive.

GET
GET filename
Includes an additional file named filename within the current file assembly.

The included file can in turn use GET directives to include more files.

When assembly of the included file is complete, assembly continues at the line following the GET 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 causes asserts that call other functions.

Identical to the EXPORT directive.

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 About COFF.

INCLUDE
INCLUDE filename
Specifies a synonym for GET.

See Also

ARM Assembler Directives

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.