This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: some ideas to gnu as


Hello Nick,

thank you for the reply.


> Is that really so different from GAS's local labels ?  With gas you can use, eg "1:" in place of ".loop" and then just refer to the most recent definition with "1b". Not a lot of difference from the way you are using local labels.

Hoho, so I certainly didn't understand it well then! So only
difference is I don't use named labels (which is pity but not that
unusable at all) but 1..9 instead? As I see it, it's much error-prone
than that named labels, esp. in some more complicated constructions
with 6-7 local labels... but in principle, do you have something
against "my" version of local labels? I'm certainly not the only one
who miss this nice feature (but as I say, that 1..9 is of course
better than nothing, though).

> Have a look at the definitions of line_comment_chars and line_separator_chars in gas/config/tc-m68k.c.  You will see that currently ";" is used as a line separator, so changing it to a comment-start character would probably break lots of peoples assembler sources.  The "*" character however is already set up to be a line comment character, so you should be able to use it for comments.

Hmm, that sounds interesting, I'll look after this.

>
> Of course one of the great things about free software is that you have access to the source code, so you can modify it to suit your own needs...

I agree completely. I asked either because I was interested in your
opinion and either because I wasn't sure about the consequences (this
applies to question #2 mainly) of changing the source code. This
comment thing is probably easy to change for my needs but I'm afraid
the question #1 is out of my abilities. That's the reason why I ask if
you find it unnecesarry or as quite nice idea -- in the latter case it
would be cool to see it in the new release of gnu as :)


Regards,
Miro Kropacek


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]