This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Variables from a C++ namespace in GNU inline assembler
- From: Johannes Schauer <j dot schauer at email dot de>
- To: binutils at sourceware dot org
- Date: Tue, 24 Nov 2009 10:37:31 +0100
- Subject: Variables from a C++ namespace in GNU inline assembler
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello list!
I wonder how to use C++ namespace variables in gnu inline assembler.
In intel syntax (VC++) it looks like this:
[Foo::Bar]
But i am unable to find a proper way of doing the same thing in gas as
it tells me:
Error: junk `::Bar' after expression
whenever i try something which involves the double colon notation.
Is there a sane way to circumvent this issue?
cheers
josch
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAksLqVoACgkQXYV+f49DE/WKogCgtKS7touWMefGhhJUxB+eQ2EP
lnkAoKXlsMCV5jzO208UMGJwLHSUmlYH
=V3G8
-----END PGP SIGNATURE-----