Using global variables of C by assembly language

How do I use global variables defined in the C for the asembly program?

for example

char my_var

int main()
{ .....
}

I want access to my_var from the startup.s file

Can you give me simple example?

More questions in this forum