Keil Logo Arm Logo

Linker User Guide

Accessing linker-defined symbols

Accessing linker-defined symbols

The linker defines some symbols that contain the character sequence $$. These symbols, and all other external names containing the sequence $$, are names reserved by ARM.

You can import these symbolic addresses and use them as relocatable addresses by your assembly language programs, or refer to them as extern symbols from your C or C++ source code.

Be aware that:

  • If you use the --strict compiler command-line option, the compiler does not accept symbol names containing dollar symbols. To re-enable support, include the --dollar option on the compiler command line.

  • Linker-defined symbols are only generated when your code references them.

Copyright © 2007-2008, 2011-2012 ARM. All rights reserved.ARM DUI 0377D
Non-ConfidentialID062912

Keil logo

Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.