3.4.3. Assembler labels

Specifies the assembler name to use for a C symbol. For example, you might have assembler code and C code that uses the same symbol name, such as counter. Therefore, you can export a different name to be used by the assembler:


int counter __asm__("counter_v1") = 0;

This exports the symbol counter_v1 and not the symbol counter.

Supported in GNU mode only.

Copyright © 2002-2005 ARM Limited. All rights reserved.ARM DUI 0205F
Non-Confidential