linux-assembly.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johann Oskarsson <myrkraverk@users.sourceforge.net>
To: hp <lx@lxhp.in-berlin.de>, linux-assembly@vger.kernel.org
Subject: Re: Preprocessing Assembly
Date: Sun, 27 Apr 2003 02:51:44 +0000	[thread overview]
Message-ID: <3EAB45C0.7000706@users.sourceforge.net> (raw)
In-Reply-To: 200304262320.h3QNKcVN000848@hirsch.in-berlin.de

Hi,

hp a écrit:

>Johann Oskarsson am Samstag, 26. April 2003 16:16:
>  
>
>>I've been doing a little assembly on my playstation2 running linux
>>(actually writing a little tutorial as I go along) and was wandering
>>what you ppl use to preprocess the source (if you do)?  I've tried a
>>little gasp, but that's depricated.
>>    
>>
>not really. GASP enables a few features which are often required but not 
>implemented with any other part of the binutils.
>besides, the binutils' authors only _state_ that all GASP features are 
>implemented with AS, which is not true. and, there is still some development 
>on GASP going on, not documented but, a "diff" shows. and, the GASP is 
>included in the binutils sources, with AS, in the directory of which it can 
>be compiled, separately ("make gasp-new").
>
Well, I'm not using the latest binutils package, and I've had to make 
some changes to gasp in order for it to work for me.  It has a rather 
nasty feature that treats .end as eof, but .end means end-of-function 
(incidentally eof too) in mips assembly.  I've made a crude hack to fix 
this, but am thinking of a more general solution.  What I'd like to do 
is to take gasp and create a separate tool called masp.  It'll be 
platform independent and therefore not backwards compatible with gasp, 
but will of course include the same functionality.  An added bonus will 
be that it'll be officially supported :)  Now is anyone interested in 
this?  I may need a little encouragement in order to go through with this.

>> Do you generally use cpp, or is there a better tool out there?
>>    
>>
>I don't know of any such tool which wouldn't be worse - or self-made.
>
Worse than what, please be a little more specific?


Johann

P.S. I was basically thinking of changing gasp directives from 
.something to /something, any comments on that?


-
To unsubscribe from this list: send the line "unsubscribe linux-assembly" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2003-04-27  2:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-26 15:16 Preprocessing Assembly Johann Oskarsson
2003-04-27  0:20 ` hp
2003-04-27  2:51   ` Johann Oskarsson [this message]
2003-04-27 11:29     ` hp
2003-04-30  0:08       ` Johann Oskarsson
2003-04-30  7:32         ` hp
2003-05-02 19:22           ` Johann Oskarsson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3EAB45C0.7000706@users.sourceforge.net \
    --to=myrkraverk@users.sourceforge.net \
    --cc=linux-assembly@vger.kernel.org \
    --cc=lx@lxhp.in-berlin.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).