bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug gas/19910] Unsigned arithmetic and %hi()/%low() operators


From: Tristan Gingold
Subject: Re: [Bug gas/19910] Unsigned arithmetic and %hi()/%low() operators
Date: Wed, 6 Apr 2016 09:10:22 +0200

> On 05 Apr 2016, at 18:04, orlandoarias at gmail dot com <address@hidden> 
> wrote:
> 
> https://sourceware.org/bugzilla/show_bug.cgi?id=19910
> 
> --- Comment #2 from Orlando Arias <orlandoarias at gmail dot com> ---
> (In reply to Nick Clifton from comment #1)
> Greetings:
> 
>>  This happens because the assembler does not support U as a suffix for
>> integer constants.
> 
> Is there any chance that support for the suffix could be added to gas? Or is
> there an already existing suffix which can be used with both GCC and GAS to 
> the
> same effect? I came across this issue when porting U-Boot for the LEON3 to run
> on a Xilinx KC705 board.

You could use the preprocessor to add an U when preprocessing for C (and not
add it when preprocessing for assembly).




reply via email to

[Prev in Thread] Current Thread [Next in Thread]