Article View: gnu.g++.bug
Article #311Can't build g++ without '$' in assembler identifiers
From: jonathan
Date: Mon, 31 Jul 1989 01:37
Date: Mon, 31 Jul 1989 01:37
20 lines
1332 bytes
1332 bytes
I have tried to build g++ 1.35.0 on a Pyramid 90x. The assembler for this computer cannot handle the character '$' in assembler labels. I'm sure this misfeature can't be unique to Pyramid. G++ really wants to use the character '$' in assembler labels -- for instance, in the assembler names of operator<foo> functions. I have tried replacing all the '$' by '.' (by defining macros for all the strings containing '$'). The resulting assembler output will assemble on my machine, but gdb can't parse the resulting symbol tables. I'm not sure what other characters are both likely to be safe and acceptable to the Pyramid assembler. Perhaps '_'? Is there an approved way of building g++ on machines that do not allow '$' in identifiers (apart from porting GAS) ? If so, what characters are recommended as a replacement for '$' ? If not, are the changes to eliminate the '$' in assembler labels worth posting?
Technical Details
Message-ID:
<8907310137.AA12631@comp.vuw.ac.nz>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!comp.vuw.ac.nz!jonathanShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!comp.vuw.ac.nz!jonathan From: jonathan@comp.vuw.ac.nz Newsgroups: gnu.g++.bug Subject: Can't build g++ without '$' in assembler identifiers Message-ID: <8907310137.AA12631@comp.vuw.ac.nz> Date: 31 Jul 89 01:37:19 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 20