8.36 Assembler labels

Assembly labels specify the assembly code name to use for a C symbol.

For example, you might have assembly 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.
Related reference
9.5 __asm
Non-ConfidentialPDF file icon PDF versionARM DUI0375F
Copyright © 2007, 2008, 2011, 2012, 2014 ARM. All rights reserved.