This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Getting more information about functions arguments/locals in machine description
- From: mike stump <mrs at windriver dot com>
- To: alexandrecourbot at linuxgames dot com, gcc at gcc dot gnu dot org
- Date: Fri, 3 May 2002 11:36:37 -0700 (PDT)
- Subject: Re: Getting more information about functions arguments/locals in machine description
- References: <1020435926.430.7.camel@bruyere>
> From: Alexandre Courbot <alexandrecourbot@linuxgames.com>
> To: GCC List <gcc@gcc.gnu.org>
> Date: 03 May 2002 16:25:26 +0200
> I somehow asked this question already a few weeks ago, but
> unfortunately didn't advance in this area.
Right, that is because what you want cannot be directly supported,
sorry. The person that designed your assembly didn't quite know what
they were doing, and really screwed it for you. Sorry, you'll have to
take that up with them. :-(
> A little clue or pointer would be of great help! :)
Isn't possible.
> Is there a possible trick here? Can someone enlighten me? :)
Yes, the typical solution is to build a virtual machine ontop of your
real machine that behaves like a normal machine, and then target that
machine from gcc.
If you totally ignore the assembler, and fine a manual for the machine
code, and then port gas to the machine, you'll get farther. If the
machine code is `weird', then you really are stuck with layer of a
virtual machine on top the real one.
Since you didn't reference a document that describes the actual
machine, we cannot say more.