This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]