issue with register name and global variables
nagaraju.m
nagaraju.m@redpinesignals.com
Fri Jul 31 08:44:00 GMT 2009
Hi,
I am generating a global variable with out an underscore in my
compiler.(gcc-3.3)
eg:
int r1=10;
int main()
{
return 0;
}
The problem here is , i have a register named "r1"
So my assembler is issuing an error saying "register value used as
expression ".
I am using binutils-2.13.1 ( as I am supposed to deal with older
versions of source code)
So, how I can make sure my assembler differentiate variable name and
register name.
Thanks,
Nagraj
More information about the Binutils
mailing list