You copied the Doc URL to your clipboard.

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.