Re: Trying to fix #61880, what characters are valid in assembler/symbol names

2014-08-19 Thread Alexander Shopov
>> __asm__("cgo_problem_example_com_demo.Cgoexp_Dummy"); >> cgo_problem_example.com_demo.Cgoexp_Dummy > Normally the first name looks more right. I suppose that the reason is that the dot character ('.') while allowed is a bit more special than the rest, right? OK I will keep this in mind. > The

Re: Trying to fix #61880, what characters are valid in assembler/symbol names

2014-08-15 Thread Ian Lance Taylor
On Fri, Aug 15, 2014 at 12:48 AM, Alexander Shopov wrote: > > The symbol/assembler name (I do not know what is the right word) that > is generated in the .h header file is: > extern int Cgoexp_Dummy (int p0) > __asm__("cgo_problem_example_com_demo.Cgoexp_Dummy"); > > The symbol that exists in the

Trying to fix #61880, what characters are valid in assembler/symbol names

2014-08-15 Thread Alexander Shopov
Hi everyone, I am trying to fix #61880 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61880 but will need some guidance as I am a complete newbie. The problem is concerns gccgo and the way the binaries it generates link with the rest of the objects. I have given a really tiny test case in the bug,