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: gas/expr.c: 0b vs 0b0 vs 00b


> Actually 1b is a backward reference too.  I think both 0b and 1b
> without following binary digits ought to be treated as backward refs
> on these targets, since if you want to write a binary 0 or 1 with an
> explicit suffix that can be done as 0B or 1B.

Note that the gas docs are vague about this: one spot says local refs
are '1' through '9', another refers to the "first ten single-digit..."

But yeah, I was only trying to special-case the 0b[01]+ case.

> Here's a patch that extends yours a little.  What do you think?

Seems OK to me.


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