|
|
"nono240" <nono240@xxxxxxxxx> writes:
> Hi all, and thanks for reading.
>
> I'm playing for days with the ARM port of GCC, and i need to access
> global C variable from assembly.
> Sorry for my newbie questions, but I'm relatively new to GCC and i've
> tried to reach my global variable by using an underscore ( _ ) as
> prefix without success.
> I've one single C file and one single assembly file (.s).
> Should i include some headers, or some directives for files to know
> each other ?
gcc -S and see how it's named in assembler.
--
__Pascal Bourguignon__ http://www.informatimago.com/
"Specifications are for the weak and timid!"
|
|