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: RFC: Disallow ".eqv param, ebp-4" in x86 assembler


On Mon, Apr 19, 2010 at 8:16 AM, Jan Beulich <JBeulich@novell.com> wrote:
>>>> "H.J. Lu" <hjl.tools@gmail.com> 19.04.10 16:41 >>>
>>Is there a way to properly support ".eqv param, ebp-4":
>
> I don't know, but there surely should be.

I tried. I couldn't find an easy way to fix it. Can you give it
try?

>
>>http://sourceware.org/bugzilla/show_bug.cgi?id=11509
>>
>>I am planning to disallow it.
>
> Why? There's nothing wrong with it. If (as you state in the bugzilla
> entry) the expression indeed gets resolved at first use, this clearly
> is a bug that ought to be fixed (and as we can see using a simple
> register name on the right side doesn't have the same effect).
>

[param] with simple register name,  ".eqv param, ebp", is transformed
to [ebp].

Thanks.


-- 
H.J.


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