
Directives Reference
ARM DUI 0068B
Copyright © 2000, 2001 ARM Limited. All rights reserved.
7-59
7.7.8
EXPORTAS
The
EXPORTAS
directive allows you to export a symbol to the object file, corresponding
to a different symbol in the source file.
Syntax
EXPORTAS
symbol1
,
symbol2
where:
symbol1
is the symbol name in the source file.
symbol1
must have been defined
already. It can be any symbol, including an area name, a label, or a
constant.
symbol2
is the symbol name you want to appear in the object file.
The symbol names are case-sensitive.
Usage
Use
EXPORTAS
to change a symbol in the object file without having to change every
instance in the source file.
See also
EXPORT or GLOBAL
on page 7-58.
Examples
AREA data1, DATA
;; starts a new area data1
AREA data2, DATA
;; starts a new area data2
EXPORTAS data2, data1 ;; the section symbol referred to as data2 will
;; appear in the object file string table as data1.
one EQU 2
EXPORTAS one, two
EXPORT one ;; the symbol 'two' will appear in the object
;; file's symbol table with the value 2.
Содержание Developer Suite
Страница 10: ...Preface x Copyright 2000 2001 ARM Limited All rights reserved ARM DUI 0068B ...
Страница 110: ...Assembler Reference 3 32 Copyright 2000 2001 ARM Limited All rights reserved ARM DUI 0068B ...
Страница 185: ...ARM Instruction Reference ARM DUI 0068B Copyright 2000 2001 ARM Limited All rights reserved 4 75 Example MSR CPSR_f r5 ...
Страница 238: ...Thumb Instruction Reference 5 44 Copyright 2000 2001 ARM Limited All rights reserved ARM DUI 0068B ...
Страница 282: ...Vector Floating point Programming 6 44 Copyright 2000 2001 ARM Limited All rights reserved ARM DUI 0068B ...
Страница 360: ...Index Index 6 Copyright 2000 2001 ARM Limited All rights reserved ARM DUI 0068B ...