[PATCH] x86: Remove 32-bit sign extension in offset_in_range

H.J. Lu hjl.tools@gmail.com
Tue Jul 14 12:55:32 GMT 2020


On Tue, Jul 14, 2020 at 5:51 AM Jan Beulich <jbeulich@suse.com> wrote:
>
> On 14.07.2020 14:43, H.J. Lu wrote:
> > On Mon, Jul 13, 2020 at 11:12 PM Jan Beulich <jbeulich@suse.com> wrote:
> >> Nevertheless, I've meanwhile thought of a (contrived) case that was
> >> broken with the code present:
> >>
> >>         addr32 mov $0x89abcdef, %rax
> >>
> >> would have got the immediate sign-extended from 32 to 64 bits.
> >>
> >
> > I opened:
> >
> > https://sourceware.org/bugzilla/show_bug.cgi?id=26237
> >
> > There are multiple issues.
>
> Hmm, the former two lines there look correct to me, while the latter
> two lines look to have been translated with a gas that didn't have
> yesterday's change yet. IOW - I'm somewhat confused.

The bug is against binutils 2.35, not master.


-- 
H.J.


More information about the Binutils mailing list