https://sourceware.org/bugzilla/show_bug.cgi?id=22335

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |amodra at gmail dot com

--- Comment #3 from Alan Modra <amodra at gmail dot com> ---
> .dc.l ((0x17<<23)+((0xfede4194/8192)<<4)+8)
>
> That's because gas is doing a signed divide, and 0xfede4194 is negative
> as a 32-bit number.

Yes, exactly.  It might be possible to make a gas expression behave a little
more like the equivalent C expression by making sure the X_unsigned flag is
properly set, propagated, and affects arithmetic and comparison operators. 
There is a lot more than just division to fix.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to