I have a following line of assembly code in C program:
asm("Label_x: NOP");
Intent is to use Label_x in a Debug Server Script. The issue I'm running into is Label_x does not appear in global symbol table. How can I make it global?
Thanks.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I have a following line of assembly code in C program:
asm("Label_x: NOP");
Intent is to use Label_x in a Debug Server Script. The issue I'm running into is Label_x does not appear in global symbol table. How can I make it global?
Thanks.
How can I make it global?
Add a .global directive.
asm(" .global Label_x");
Directives like .global are documented in the C6000 assembly tools manual.
Thanks and regards,
-George