lkml.org 
[lkml]   [2010]   [Oct]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Partially revert patch that encloses asm-offset.h numbers in brackets
>>> On 25.10.10 at 16:54, David Howells <dhowells@redhat.com> wrote:
> Jan Beulich <JBeulich@novell.com> wrote:
>
>> Isn't this a gas bug then? Anywhere you use a plain number you
>> should also be permitted to use an expression.
>
> Whoever defined the gas assembly syntax for binutils specified that (N) as
> an
> operand defines an absolute address and N defines an immediate value.
>
> However, prefixing an expression with a unary plus works for me, so adding
> this into my patch:
>
> - s:^->\([^ ]*\) [\$$#]*\([-0-9]*\) \(.*\):#define \1 \2 /* \3 */:; \
> + s:^->\([^ ]*\) [\$$#]*\([-0-9]*\) \(.*\):#define \1 +(\2) /* \3 */:; \
>
> Does that work for you?

Alexander, you seem to be having access to a worst case system -
could you give this a try?

Thanks, Jan



\
 
 \ /
  Last update: 2010-10-25 17:07    [W:1.481 / U:0.612 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site