This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: new port: msp430-elf
- From: DJ Delorie <dj at redhat dot com>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: stevenb dot gcc at gmail dot com, gcc-patches at gcc dot gnu dot org
- Date: Tue, 7 May 2013 20:08:00 -0400
- Subject: Re: new port: msp430-elf
- References: <201305070241 dot r472fQp5022965 at greed dot delorie dot com> <CABu31nO5sXW6qT8QNPDKGj41N6scFct7KZPmYiQ1pCA2unm-bg at mail dot gmail dot com> <Pine dot LNX dot 4 dot 64 dot 1305071654160 dot 22763 at digraph dot polyomino dot org dot uk>
The assembler already exists (and is widely used, I think), and the
MSPABI specifies how registers and symbols are named at the assembler
level. Unfortunately, the MSPABI says that symbols should be like
||this|| when they need to mean "not a register" but our assembler
doesn't support that. The mspgcc gcc uses underscores on symbols that
are register names, but that just moves the problem. I could also
look into using +this to handle some cases, but I'd have to look into
how the assembler parses things.
So, it's not that I don't have *a* solution, it's that I have a
*couple* of solutions, and I'm not sure which is the one worth
persuing just yet. Hence, release notes.