[Top][All Lists]

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

Re: [avr-gcc-list] It is more than: .byte SYMA - SYMB

From: Joerg Wunsch
Subject: Re: [avr-gcc-list] It is more than: .byte SYMA - SYMB
Date: Mon, 15 Sep 2003 17:16:17 +0200 (MET DST)

As Denis Chertykov <address@hidden> wrote:

>> If not, i'm confused, since as far as i can tell, in the above,
>> d - c is an assembly-time constant expression.

>I don't know why GAS treat (d - c) as not a constant value, but I see
>that (d - c) work as relocatable expression.

>PS: GAS isn't so good as GCC.

Ah, well.  So I figure these expressions /should/ be considered
absolute but aren't handled that way by gas, and your own workaround
for frequently used situations was to provide a private relocation
type instead.

OK, so I agree that there's probably bigger fish to fry than this, and
we'll have to live with that issue unless someone steps forward who's
going to fix that as a whole.

spasibo bolshoye,
J"org Wunsch                                           Unix support engineer
address@hidden        http://www.interface-systems.de/~j/

reply via email to

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